Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmPongPol committed Mar 24, 2024
2 parents f9a3fa6 + 0d2a94d commit 18c5910
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prod-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: change image tag
run: |
sed -i -E "s/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-3.*$/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-3:${GITHUB_SHA}/" infra/gitops/prod/deployment.yml
sed -i -E "s/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-3.*$/ghcr.io\/kbtg-kampus-classnest-se-java\/workshop-group-3:${{ inputs.deploy-tag }}/" infra/gitops/prod/deployment.yml
git add infra/gitops/prod/deployment.yml
git commit -m "[skip actions] 🤖 change prd docker image version to ${{ inputs.deploy-tag }}"
git pull --rebase
Expand Down
2 changes: 1 addition & 1 deletion infra/gitops/dev/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: kbazaar-api
image: ghcr.io/kbtg-kampus-classnest-se-java/workshop-group-3:f6e0efc62068609f971692c8cae9cb2462859dc4
image: ghcr.io/kbtg-kampus-classnest-se-java/workshop-group-3:96bc4b7f4a1baa04f14d4c3c6fb909ca97a02783
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
1 change: 1 addition & 0 deletions kbazaar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ test {
useJUnitPlatform {
excludeTags 'integration-test'
}
finalizedBy jacocoTestReport
}

task("test-it", type: Test) {
Expand Down

0 comments on commit 18c5910

Please sign in to comment.