Skip to content

Commit 257becf

Browse files
Fix argo submit
1 parent f7f689b commit 257becf

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

Diff for: .github/workflows/workflow.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,25 @@ jobs:
9898
working-directory: ./k8
9999
run: make push-images
100100

101+
- name: Set argo namespace
102+
working-directory: ./k8
103+
run: make k8-argo-default
104+
101105
- name: Submit argo jobs
102106
working-directory: ./k8
103-
run: make argo-submit
107+
run: make argo-submit | tee argo-submit
104108

109+
- name: Upload submit artifact
110+
uses: actions/upload-artifact@v2
111+
with:
112+
name: argo-submit
113+
path: argo-submit
114+
105115
- name: list argo jobs
106-
run: argo list
116+
run: argo list | tee argo-list
117+
118+
- name: Upload list artifact
119+
uses: actions/upload-artifact@v2
120+
with:
121+
name: argo-list
122+
path: argo-list

Diff for: k8/Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,7 @@ docker-bake.json: Makefile
173173

174174

175175
buildx-driver:
176-
docker buildx create --driver kubernetes --use --driver-opt namespace=buildx --node buildx0
176+
docker buildx create --driver kubernetes --use --driver-opt namespace=buildx --node buildx0
177+
178+
k8-argo-default:
179+
kubectl config set-context --current --namespace=argo

0 commit comments

Comments
 (0)