-
Notifications
You must be signed in to change notification settings - Fork 4
53 lines (47 loc) · 1.91 KB
/
Copy pathrelease-alpha.yml
File metadata and controls
53 lines (47 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Alpha Release
on:
push:
branches: [develop]
paths-ignore:
- 'ui/src/lib/api-client/**'
workflow_dispatch:
permissions:
contents: write
pull-requests: read
concurrency:
group: releases
cancel-in-progress: false
jobs:
alpha-release:
name: Alpha Release
# Only run if the last commit is not a release commit to avoid infinite loops
if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update client APIs') && !contains(github.event.head_commit.message, 'Alpha release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }}
uses: ./.github/workflows/release-orchestrator.yml
with:
release_type: 'alpha'
source_branch: 'develop'
target_branch: 'develop'
should_bump_version: true
is_prerelease: true
commit_limit: 10
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
# Note: Deployment is handled automatically by Northflank
# When code is pushed to 'develop', Northflank detects the commit and deploys automatically
# No explicit deploy step needed!
# Test the deployed alpha application
#test-alpha-deployment:
# name: Test Alpha Deployment
# needs: [alpha-release]
# uses: ./.github/workflows/testing-strategy.yml
# with:
# test_stage: 'alpha'
# deployment_target: 'northflank'
# fhir_server_url: 'https://p02--proxy-smart-alpha--776jg9nwd8rw.code.run/proxy-smart-backend/hapi-fhir-server/R4'
# keycloak_url: 'https://p01--keycloak-alpha--776jg9nwd8rw.code.run'
# app_version: ${{ needs.alpha-release.outputs.version }}
#secrets:
# DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}