File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
version : 0.0.1
2
2
name : DogeApi
3
+ appstack_name : DogeApi
3
4
services :
4
5
dogeapi :
5
6
dtr : ghcr.io/appcd-demo/dogeapi/dogeapi
Original file line number Diff line number Diff line change @@ -101,15 +101,20 @@ jobs:
101
101
cloud : ' aws'
102
102
language : ' Python'
103
103
outputDir : ' ./.appcd/charts'
104
- scanPath : ' ./main_branch '
104
+ scanPath : ' ./'
105
105
targetCompute : ' k8s'
106
+ - name : Upload IAC artifacts
107
+ uses : actions/upload-artifact@v4
108
+ with :
109
+ name : iac_artifact
110
+ path : ./.appcd/charts
106
111
- name : Inflate helm chart in gitops/
107
112
run : |
108
- tree
113
+ tree ./.appcd
109
114
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
111
116
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
113
118
fi
114
119
115
120
# 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