Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Add GitHub Actions #45

Merged
merged 5 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 16 additions & 0 deletions .github/workflows/az_acr_push.yml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions .github/workflows/k8s_deploy.yml
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
19 changes: 19 additions & 0 deletions .github/workflows/k8s_test.yml
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'
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github/ @code-kern-ai/devops-admin @code-kern-ai/dev-admin
Loading