Skip to content

Commit 54f8978

Browse files
committed
Test custom Argo CD installation
1 parent e0ec34a commit 54f8978

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/generate-diff.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,28 @@ jobs:
2525
ref: main
2626
path: main
2727

28+
- name: Set ArgoCD Custom Values
29+
run: |
30+
cat > values.yaml << "EOF"
31+
# set whatever helm values you want
32+
configs:
33+
cm:
34+
kustomize.buildOptions: --load-restrictor LoadRestrictionsNone --enable-helm
35+
EOF
36+
2837
- name: Generate Diff
2938
run: |
39+
docker build pull-request -f pull-request/Dockerfile -t image
3040
docker run \
3141
--network=host \
3242
-v /var/run/docker.sock:/var/run/docker.sock \
3343
-v $(pwd)/main:/base-branch \
3444
-v $(pwd)/pull-request:/target-branch \
3545
-v $(pwd)/output:/output \
46+
-v $(pwd)/values.yaml:/argocd-config/values.yaml \
3647
-e TARGET_BRANCH=${{ github.head_ref }} \
3748
-e REPO=${{ github.repository }} \
38-
dagandersen/argocd-diff-preview:v0.0.25
49+
image --debug
3950
4051
- name: Post diff as comment
4152
run: |

0 commit comments

Comments
 (0)