-
Notifications
You must be signed in to change notification settings - Fork 1
Release v 1.3 #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Release v 1.3 #210
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
95d1247
Issue #199: SOA Matrix only displays ScheduledActivityInstance's that…
pendingintent e875fde
Added objectives and endpoints creation
pendingintent 60f52ca
BiomedicalCocneptProperty values are now populated within parent Biom…
pendingintent faba830
Added extensionAttributes for BiomedicalConcept
pendingintent 5b05327
Fixed Object and Endpoint level display
pendingintent d270399
Freezes now on dedicated page presented in table with new delete func…
pendingintent fae7038
Add Azure deployment configuration
pendingintent 181cfe1
Potential fix for pull request finding 'CodeQL / Reflected server-sid…
pendingintent f7b8810
Potential fix for pull request finding 'CodeQL / Reflected server-sid…
pendingintent 768527a
Potential fix for pull request finding 'CodeQL / Reflected server-sid…
pendingintent 6fc98ac
Fix Azure package installation and update storage account config
pendingintent 5dd2d8b
Potential fix for pull request finding
pendingintent 3a9a9a6
Potential fix for pull request finding 'CodeQL / URL redirection from…
pendingintent e289e6d
Added step to stop wunning Azure web app for more robust deployment
pendingintent 29dea7c
Fixed syntax error
pendingintent b66243d
Fixed syntax error
pendingintent 77668c4
Added credential to secrets
pendingintent 8301475
Added credential to secrets
pendingintent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| name: Deploy to Azure App Service | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| - release-* | ||
| workflow_dispatch: #Allow manual triggers | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| name: Build and Test | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive # Include cdisc-json-validation submodule | ||
|
|
||
| - name: Set up Python 3.13 | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.13' | ||
| cache: 'pip' | ||
| cache-dependency-path: | | ||
| pyproject.toml | ||
| requirements.txt | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -e ".[dev]" | ||
|
|
||
| - name: Run tests | ||
| run: | | ||
| pytest -q tests --disable-warnings --tb=short | ||
| env: | ||
| CDISC_CONCEPTS_JSON: '[]' # Bypass CDISC API for tests | ||
|
|
||
| - name: Create deployment package | ||
| run: | | ||
| # Nothing special needed - Azure will handle pip install | ||
| echo "Build successful" | ||
|
|
||
| deploy: | ||
| name: Deploy to Azure | ||
| needs: build-and-test | ||
| runs-on: ubuntu-latest | ||
| environment: production # Optional: requires manual approval | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Azure login | ||
| uses: azure/login@v1 | ||
| with: | ||
| creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
| - name: Stop Azure Web App | ||
| uses: azure/cli@v1 | ||
| with: | ||
| azcliversion: 2.36.0 | ||
| inlineScript: | | ||
| az webapp stop --name ${{ secrets.AZURE_WEBAPP_NAME }} --resource-group cdisc-soa-workbench-rg | ||
|
|
||
|
Comment on lines
+61
to
+71
|
||
| - name: Deploy to Azure Web App | ||
| uses: azure/webapps-deploy@v2 | ||
| with: | ||
| app-name: ${{ secrets.AZURE_WEBAPP_NAME }} | ||
| publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} | ||
| package: . | ||
|
|
||
| - name: Verify deployment | ||
| run: | | ||
| echo "Deployment complete!" | ||
| echo "App URL: https://${{ secrets.AZURE_WEBAPP_NAME }}.azurewebsites.net" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.