-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ebd6f7
commit 21c6ef9
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,15 @@ | ||
name: 'ACR: Docker Push' | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
push: | ||
branches: | ||
- "**" | ||
tags-ignore: | ||
- "**" | ||
|
||
jobs: | ||
call-az-acr-push: | ||
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/az_acr_push.yml@dev | ||
secrets: inherit |
This file contains 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,22 @@ | ||
name: 'K8: Prepare Deployment' # rename | ||
|
||
on: | ||
# workflow_dispatch: | ||
release: | ||
types: [prereleased] | ||
pull_request: | ||
branches: | ||
- dev | ||
types: [closed] | ||
|
||
# Special permissions required for OIDC authentication | ||
permissions: | ||
id-token: write | ||
contents: read | ||
actions: read | ||
|
||
jobs: | ||
call-k8-release: | ||
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_release.yml@dev | ||
if: github.event_name == 'pull_request' && github.event.pull_request.merged || github.event_name == 'release' | ||
secrets: inherit |
This file contains 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,19 @@ | ||
name: 'K8: Test' | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
# Special permissions required for OIDC authentication | ||
permissions: | ||
id-token: write | ||
contents: read | ||
actions: read | ||
|
||
|
||
jobs: | ||
call-k8-test: | ||
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_test.yml@dev | ||
secrets: inherit | ||
with: | ||
test_cmd: 'pytest' |