File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 2525 run : |
2626 mkdir -p artifact/main/
2727 docker run --rm \
28- --workdir=/code \
28+ --workdir=/app/scan \
2929 -e APPCD_TOKEN=$APPCD_TOKEN \
30+ -v ./tmp:/tmp \
3031 -e APPCD_URL=$APPCD_URL \
3132 -v ./main_branch:/app/scan \
3233 -v ./artifact/main:/artifact/main \
3536 generate --mode ci --lang Python --output=/artifact/main/.appcd/charts --iac-type Helm
3637 cd artifact/main/.appcd/charts
3738 unzip code.zip && rm code.zip
39+ - name : Upload logs
40+ uses : actions/upload-artifact@v2
41+ with :
42+ name : analyzer_logs_1
43+ path : tmp
3844 - name : Checkout PR Branch
3945 uses : actions/checkout@v4
4046 with :
@@ -53,16 +59,22 @@ jobs:
5359 run : |
5460 mkdir -p artifact/${{ steps.extract_branch.outputs.branch }}/
5561 docker run --rm \
56- --workdir=/code \
62+ --workdir=/app/scan \
5763 -v ./pr_branch/:/app/scan \
5864 -v ./artifact/${{ steps.extract_branch.outputs.branch }}:/artifact/${{ steps.extract_branch.outputs.branch }} \
65+ -v ./tmp:/tmp \
5966 -e APPCD_TOKEN=$APPCD_TOKEN \
6067 -e APPCD_URL=$APPCD_URL \
6168 --entrypoint=appcd \
6269 ghcr.io/appcd-dev/appcd-dist/appcd-cli:v0.9.1 \
6370 generate --mode ci --lang Python --iac-type Helm --output=/artifact/${{ steps.extract_branch.outputs.branch }}/.appcd/charts
6471 cd artifact/${{ steps.extract_branch.outputs.branch }}/.appcd/charts
6572 unzip code.zip && rm code.zip
73+ - name : Upload logs
74+ uses : actions/upload-artifact@v2
75+ with :
76+ name : analyzer_logs_2
77+ path : tmp
6678 - name : Copy infrastructure files if empty
6779 run : |
6880 cd pr_branch
You can’t perform that action at this time.
0 commit comments