diff --git a/.github/workflows/az_acr_push.yml b/.github/workflows/az_acr_push.yml new file mode 100644 index 0000000..964d765 --- /dev/null +++ b/.github/workflows/az_acr_push.yml @@ -0,0 +1,16 @@ +name: 'ACR: Docker Push' + +on: + workflow_dispatch: + + push: + branches: + - "**" + - "!dev" + tags-ignore: + - "**" + +jobs: + call-az-acr-push: + uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/az_acr_push.yml@dev + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/k8s_deploy.yml b/.github/workflows/k8s_deploy.yml new file mode 100644 index 0000000..0c30865 --- /dev/null +++ b/.github/workflows/k8s_deploy.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/k8s_test.yml b/.github/workflows/k8s_test.yml new file mode 100644 index 0000000..0c39c07 --- /dev/null +++ b/.github/workflows/k8s_test.yml @@ -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' \ No newline at end of file diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..b86f8a0 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +.github/ @code-kern-ai/devops-admin @code-kern-ai/dev-admin