From 2406243f4a8abe7e6d97efa5b9573545dc4251a8 Mon Sep 17 00:00:00 2001 From: bobjwalker Date: Mon, 8 Apr 2024 15:37:08 -0500 Subject: [PATCH 1/2] Updating the git workflow file for Codefresh --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e11b4c5..898aaa2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY git checkout "${GITHUB_REF:11}" git stage 'k8s/overlays/${{ github.ref == 'refs/heads/main' && 'test' || 'dev' }}/kustomization.yaml' - git commit -am "Updating ${{ github.ref == 'refs/heads/main' && 'test' || 'dev' }} overlay file to ${{ env.GitVersion_MajorMinorPatch }}.${{ env.GitVersion_PreReleaseNumber || env.GitVersion_PreReleaseTag || github.run_number }}" + git commit -am "[promotion:demo] Updating ${{ github.ref == 'refs/heads/main' && 'test' || 'dev' }} to ${{ env.GitVersion_MajorMinorPatch }}.${{ env.GitVersion_PreReleaseNumber || env.GitVersion_PreReleaseTag || github.run_number }}" git push --set-upstream origin ${GITHUB_REF:11} echo "The current branch is ${{ github.ref }}" From b12a9a3ad14e6e8f155ed8477e1cc4f428c7fe77 Mon Sep 17 00:00:00 2001 From: BobJWalker Date: Mon, 8 Apr 2024 20:38:24 +0000 Subject: [PATCH 2/2] [promotion:demo] Updating dev to 0.1.88.1 --- k8s/overlays/dev/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/overlays/dev/kustomization.yaml b/k8s/overlays/dev/kustomization.yaml index 9a23b65..178baeb 100644 --- a/k8s/overlays/dev/kustomization.yaml +++ b/k8s/overlays/dev/kustomization.yaml @@ -6,7 +6,7 @@ resources: images: - name: bobjwalker99/randomquotes-k8s newName: bobjwalker99/randomquotes-k8s - newTag: "0.1.79.1" + newTag: "0.1.88.1" patches: - target: kind: Ingress