Promote 7429e2fd95 to prod
This commit is contained in:
@@ -33,6 +33,7 @@ spec:
|
||||
- values-staging.yaml
|
||||
- values-prod.yaml
|
||||
- templates
|
||||
- website
|
||||
|
||||
---
|
||||
apiVersion: kargo.akuity.io/v1alpha1
|
||||
@@ -113,67 +114,16 @@ spec:
|
||||
- uses: git-clone
|
||||
config:
|
||||
repoURL: ${{ vars.repoURL }}
|
||||
author:
|
||||
name: Kargo
|
||||
email: kargo@max.test.scrumdapp.open-ict.hu
|
||||
checkout:
|
||||
- commit: ${{ commitFrom(vars.repoURL).ID }}
|
||||
path: ./src
|
||||
- branch: prod
|
||||
create: true
|
||||
path: ./out
|
||||
|
||||
- uses: git-clear
|
||||
config:
|
||||
path: ./out
|
||||
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/Chart.yaml
|
||||
outPath: ./out/Chart.yaml
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/values.yaml
|
||||
outPath: ./out/values.yaml
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/values-dev.yaml
|
||||
outPath: ./out/values-dev.yaml
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/values-staging.yaml
|
||||
outPath: ./out/values-staging.yaml
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/values-prod.yaml
|
||||
outPath: ./out/values-prod.yaml
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/templates
|
||||
outPath: ./out/templates
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/bootstrap
|
||||
outPath: ./out/bootstrap
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/README.md
|
||||
outPath: ./out/README.md
|
||||
- uses: copy
|
||||
config:
|
||||
inPath: ./src/.gitignore
|
||||
outPath: ./out/.gitignore
|
||||
|
||||
- uses: git-commit
|
||||
as: commit
|
||||
config:
|
||||
path: ./out
|
||||
message: Promote ${{ commitFrom(vars.repoURL).ID }} to prod
|
||||
|
||||
- uses: git-push
|
||||
as: push
|
||||
config:
|
||||
path: ./out
|
||||
targetBranch: prod
|
||||
force: true
|
||||
|
||||
- uses: argocd-update
|
||||
config:
|
||||
@@ -181,4 +131,4 @@ spec:
|
||||
- name: web-prod
|
||||
sources:
|
||||
- repoURL: ${{ vars.repoURL }}
|
||||
desiredRevision: ${{ outputs.commit.commit }}
|
||||
desiredRevision: ${{ outputs.push.commit }}
|
||||
|
||||
Reference in New Issue
Block a user