Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize workflows using Nix caching #26

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

# - name: Cache Nix derivations TODO(aaronmondal): revisit this bit when there are less flakes or it is more understood
# uses: >- # Custom commit, last pinned at 2023-11-17.
# DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1
# TODO(aaronmondal): Caching is flaky for this workflow.
# See: https://github.com/DeterminateSystems/magic-nix-cache/issues/32
# - name: Cache Nix derivations
# uses: >- # Custom commit, last pinned at 2023-11-17.
# DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1

- name: Test image
run: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/lre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ jobs:
uses: >- #v7
DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612

- name: Cache Nix derivations
uses: >- # Custom commit, last pinned at 2023-11-17.
DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1
# TODO(aaronmondal): Caching is flaky for this workflow.
# See: https://github.com/DeterminateSystems/magic-nix-cache/issues/32
# - name: Cache Nix derivations
# uses: >- # Custom commit, last pinned at 2023-11-17.
# DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1

- name: Start Kubernetes cluster (Infra)
run: >
Expand Down
Loading