Skip to content

Commit aefb43f

Browse files
fix
1 parent fb6cc06 commit aefb43f

File tree

2 files changed

+12
-23
lines changed

2 files changed

+12
-23
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
#paths:
1111
# - docker-compose/*
1212

13+
env:
14+
GRIDSUITE_DATABASES: /tmp/gs_db
15+
1316
jobs:
1417
verify_docker:
1518
runs-on: ubuntu-latest

.github/workflows/k8s.yml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
# - k8s/*
1212

1313
jobs:
14-
verify_docker:
14+
verify_k8s:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- id: install
@@ -29,38 +29,24 @@ jobs:
2929
- name: mkdir
3030
run: mkdir ./build
3131
- name: Debug version
32-
run: kubectl version --client=true --output=json
32+
run: kubectl version --client=true --output=json | tee ./build/kubectl_version.json
3333
- id: bake-local
3434
name: Bake manifest of local
3535
#uses: azure/k8s-bake@v3
3636
run: kubectl kustomize ./k8s/live/local/ -o build/k8s-local.yml
37-
- id: upload-artifact-local
38-
name: Save build local
39-
uses: actions/upload-artifact@v4
40-
with:
41-
name: k8s-local.yml
42-
path: build/k8s-local.yml
43-
compression-level: 0
44-
if-no-files-found: error
4537
- id: bake-azure-dev
4638
name: Bake manifest of azure-dev
4739
run: kubectl kustomize ./k8s/live/azure-dev/ -o build/k8s-azure-dev.yml
48-
- id: upload-artifact-azure-dev
49-
name: Save build azure-dev
50-
uses: actions/upload-artifact@v4
51-
with:
52-
name: azure-dev.yml
53-
path: build/k8s-azure-dev.yml
54-
compression-level: 0
55-
if-no-files-found: error
5640
- id: bake-azure-integ
5741
name: Bake manifest of azure-integ
5842
run: kubectl kustomize ./k8s/live/azure-integ/ -o build/k8s-azure-integ.yml
59-
- id: upload-artifact-azure-integ
60-
name: Save build integ
43+
# https://github.com/actions/upload-artifact/issues/3#issuecomment-620722206
44+
# Until k8s not let us download files undividually, we upload all builds in one go
45+
- id: upload-artifacts
46+
name: Save builds
6147
uses: actions/upload-artifact@v4
6248
with:
63-
name: azure-integ.yml
64-
path: build/k8s-azure-integ.yml
65-
compression-level: 0
49+
name: kustomize_builds
50+
path: build/*
51+
compression-level: 9
6652
if-no-files-found: error

0 commit comments

Comments
 (0)