File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : 0.0.1
22name : DogeApi
3+ appstack_name : DogeApi
34services :
45 dogeapi :
56 dtr : ghcr.io/appcd-demo/dogeapi/dogeapi
Original file line number Diff line number Diff line change @@ -101,15 +101,20 @@ jobs:
101101 cloud : ' aws'
102102 language : ' Python'
103103 outputDir : ' ./.appcd/charts'
104- scanPath : ' ./main_branch '
104+ scanPath : ' ./'
105105 targetCompute : ' k8s'
106+ - name : Upload IAC artifacts
107+ uses : actions/upload-artifact@v4
108+ with :
109+ name : iac_artifact
110+ path : ./.appcd/charts
106111 - name : Inflate helm chart in gitops/
107112 run : |
108- tree
113+ tree ./.appcd
109114 if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
110- helm template demo-chart ./.appcd/charts/dogeapi -f ./.appcd/overrides/dogeapi/values.yaml --set image.tag=${{ steps.version.outputs.image_tag }} > ./gitops/prod/dogeapi.yaml
115+ helm template demo-chart ./.appcd/charts/helm/ dogeapi -f ./.appcd/overrides/dogeapi/values.yaml --set image.tag=${{ steps.version.outputs.image_tag }} > ./gitops/prod/dogeapi.yaml
111116 else
112- helm template demo-chart ./.appcd/charts/dogeapi -f ./.appcd/overrides/dogeapi/values.yaml > ./gitops/dev/dogeapi.yaml
117+ helm template demo-chart ./.appcd/charts/helm/ dogeapi -f ./.appcd/overrides/dogeapi/values.yaml > ./gitops/dev/dogeapi.yaml
113118 fi
114119
115120 # in real apps the gitops config and spec would in be a separate repo
You can’t perform that action at this time.
0 commit comments