Skip to content

Commit 13103d7

Browse files
Merge pull request #18 from code-kern-ai/ci-setup
Add GitHub Actions
2 parents 702e039 + 4c5a9dc commit 13103d7

File tree

4 files changed

+41
-2
lines changed

4 files changed

+41
-2
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'ACR: Docker Push'
2+
3+
on:
4+
workflow_dispatch:
5+
6+
push:
7+
branches:
8+
- "**"
9+
- "!dev"
10+
tags-ignore:
11+
- "**"
12+
13+
jobs:
14+
call-az-acr-push:
15+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/az_acr_push.yml@dev
16+
secrets: inherit

.github/workflows/k8s_deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'K8: Prepare Deployment' # rename
2+
3+
on:
4+
# workflow_dispatch:
5+
release:
6+
types: [prereleased]
7+
pull_request:
8+
branches:
9+
- dev
10+
types: [closed]
11+
12+
# Special permissions required for OIDC authentication
13+
permissions:
14+
id-token: write
15+
contents: read
16+
actions: read
17+
18+
jobs:
19+
call-k8-release:
20+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_release.yml@dev
21+
if: github.event_name == 'pull_request' && github.event.pull_request.merged || github.event_name == 'release'
22+
secrets: inherit

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "submodules/javascript-functions"]
22
path = submodules/javascript-functions
3-
url = git@github.com:code-kern-ai/submodule-javascript-functions.git
3+
url = https://github.com/code-kern-ai/submodule-javascript-functions.git
44
[submodule "submodules/react-components"]
55
path = submodules/react-components
6-
url = git@github.com:code-kern-ai/submodule-react-components.git
6+
url = https://github.com/code-kern-ai/submodule-react-components.git

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.github/ @code-kern-ai/devops-admin @code-kern-ai/dev-admin

0 commit comments

Comments
 (0)