Skip to content

Commit

Permalink
Separate K8s setup steps in CI (#614)
Browse files Browse the repository at this point in the history
This makes it easier to spot when/why something is failing.
  • Loading branch information
aaronmondal committed Jan 17, 2024
1 parent 6a379b3 commit 82d9ee6
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/lre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,20 @@ jobs:
uses: >- # Custom commit, last pinned at 2023-11-17.
DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1
- name: Start Kubernetes cluster
- name: Start Kubernetes cluster (Infra)
run: >
nix develop --impure --command
bash -c "cd deployment-examples/kubernetes \
&& ./00_infra.sh \
&& ./01_operations.sh \
&& ./02_application.sh"
bash -c "./deployment-examples/kubernetes/00_infra.sh"
- name: Start Kubernetes cluster (Operations)
run: >
nix develop --impure --command
bash -c "./deployment-examples/kubernetes/01_operations.sh"
- name: Start Kubernetes cluster (Application)
run: >
nix develop --impure --command
bash -c "./deployment-examples/kubernetes/02_application.sh"
- name: Get gateway IPs
id: gateway-ips
Expand Down

0 comments on commit 82d9ee6

Please sign in to comment.