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

Jenkins -> GitHub Actions + cachix pinning #620

Merged
merged 4 commits into from
Sep 11, 2024
Merged

Jenkins -> GitHub Actions + cachix pinning #620

merged 4 commits into from
Sep 11, 2024

Conversation

srid
Copy link
Member

@srid srid commented Sep 11, 2024

In this PR, we migrate from Jenkins to using self-hosted runner. shared-kernel will be the first repo to try it out. We also use https://docs.cachix.org/pins so as to make sure that the devShell is always cached in cachix without getting GC'ed (assuming still within space limit of all pins).

  • Update common repo
  • Push and pin only the devShell to cachix in GitHub Actions workflow
  • Retire Jenkins by removing the Jenkinsfile as first repo to migrate to Github Actions (self-hosted runner). No functionality is lost between two CI.

@srid srid force-pushed the srid-cachix-push branch 5 times, most recently from d4ff88a to 944cb4b Compare September 11, 2024 18:18
@srid

This comment was marked as resolved.

@srid
Copy link
Member Author

srid commented Sep 11, 2024

To get new cachix-push & flake-parts
@srid srid force-pushed the srid-cachix-push branch 5 times, most recently from eb2169b to b6aeeb3 Compare September 11, 2024 19:10
@srid srid changed the title WIP: Push to cachix from GitHub workflows Jenkins -> GitHub Actions Sep 11, 2024
@srid srid changed the title Jenkins -> GitHub Actions Jenkins -> GitHub Actions + cachix pinning Sep 11, 2024
This will push and pin only the devShell, to save space.
We now build everything in Github Workflows.
@srid
Copy link
Member Author

srid commented Sep 11, 2024

Branch protection rule has been changed to wait on Github workflow instead of jenkins:

image

@srid srid marked this pull request as ready for review September 11, 2024 19:18
@srid srid merged commit ea35ebf into main Sep 11, 2024
1 check passed
@srid srid deleted the srid-cachix-push branch September 11, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant