Skip to content

Commit a56e072

Browse files
committed
check this
1 parent 8d2a747 commit a56e072

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/appcd-iac-pr-diff.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
ghcr.io/appcd-dev/appcd-dist/appcd-cli:v0.9.1 \
3434
generate --mode ci --lang Python --output=/artifact/main/.appcd/charts --iac-type Helm
3535
cd artifact/main/.appcd/charts
36-
ls -latr
3736
unzip code.zip && rm code.zip
3837
- name: Checkout PR Branch
3938
uses: actions/checkout@v4
@@ -53,14 +52,14 @@ jobs:
5352
run: |
5453
mkdir -p artifact/${{ steps.extract_branch.outputs.branch }}/
5554
docker run --rm \
56-
--workdir=/code \
57-
-v ./pr_branch/:/code \
58-
-v ./artifact/${{ steps.extract_branch.outputs.branch }}:/artifact/${{ steps.extract_branch.outputs.branch }} \
59-
-e APPCD_TOKEN=$APPCD_TOKEN \
60-
-e APPCD_URL=$APPCD_URL \
61-
--entrypoint=appcd \
62-
ghcr.io/appcd-dev/appcd-dist/appcd-cli:v0.9.1 \
63-
generate --mode ci --lang Python --iac-type Helm --output=/artifact/${{ steps.extract_branch.outputs.branch }}/.appcd/charts
55+
--workdir=/code \
56+
-v ./pr_branch/:/code \
57+
-v ./artifact/${{ steps.extract_branch.outputs.branch }}:/artifact/${{ steps.extract_branch.outputs.branch }} \
58+
-e APPCD_TOKEN=$APPCD_TOKEN \
59+
-e APPCD_URL=$APPCD_URL \
60+
--entrypoint=appcd \
61+
ghcr.io/appcd-dev/appcd-dist/appcd-cli:v0.9.1 \
62+
generate --mode ci --lang Python --iac-type Helm --output=/artifact/${{ steps.extract_branch.outputs.branch }}/.appcd/charts
6463
cd artifact/${{ steps.extract_branch.outputs.branch }}/.appcd/charts
6564
unzip code.zip && rm code.zip
6665
- name: Copy infrastructure files if empty

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,3 @@ dev.pem
174174
.appcd/charts/
175175
cpg.bin
176176
analyzer.log
177-
*.cpg.bin
178-
*.zip
179-
helm

0 commit comments

Comments
 (0)