Skip to content
Closed
Show file tree
Hide file tree
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 Apr 22, 2026
e875fde
Added objectives and endpoints creation
pendingintent Apr 22, 2026
60f52ca
BiomedicalCocneptProperty values are now populated within parent Biom…
pendingintent May 1, 2026
faba830
Added extensionAttributes for BiomedicalConcept
pendingintent May 1, 2026
5b05327
Fixed Object and Endpoint level display
pendingintent May 1, 2026
d270399
Freezes now on dedicated page presented in table with new delete func…
pendingintent May 1, 2026
fae7038
Add Azure deployment configuration
pendingintent May 4, 2026
181cfe1
Potential fix for pull request finding 'CodeQL / Reflected server-sid…
pendingintent May 4, 2026
f7b8810
Potential fix for pull request finding 'CodeQL / Reflected server-sid…
pendingintent May 4, 2026
768527a
Potential fix for pull request finding 'CodeQL / Reflected server-sid…
pendingintent May 4, 2026
6fc98ac
Fix Azure package installation and update storage account config
pendingintent May 4, 2026
5dd2d8b
Potential fix for pull request finding
pendingintent May 4, 2026
3a9a9a6
Potential fix for pull request finding 'CodeQL / URL redirection from…
pendingintent May 4, 2026
e289e6d
Added step to stop wunning Azure web app for more robust deployment
pendingintent May 4, 2026
29dea7c
Fixed syntax error
pendingintent May 4, 2026
b66243d
Fixed syntax error
pendingintent May 4, 2026
77668c4
Added credential to secrets
pendingintent May 4, 2026
8301475
Added credential to secrets
pendingintent May 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions .github/workflows/azure-deploy.yml
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 thread
pendingintent marked this conversation as resolved.

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"
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,16 @@ Thumbs.db
# SQLite / local DBs
*.db
*.db-shm
*.db-shm.*
*.db-wal
*.db-wal.*
*.sqlite
*.db.backup.*

# Azure deployment
*.publish-settings
*.PublishSettings
.azure/

# Environment variables / secrets (add if created)
.env
Expand Down Expand Up @@ -97,6 +105,7 @@ docs/~*
files/~*
output/*.xlsx
output/*.svg
output/*.json
SOA Workbench Wishlist.docx
NCT01750580_limited.json
CLAUDE.md
Expand Down
Loading
Loading