-
Notifications
You must be signed in to change notification settings - Fork 86
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
add std flake and tullia #625
Conversation
default.nix
Outdated
url = "https://github.com/input-output-hk/cardano-node"; | ||
rev = "1.35.3"; | ||
sha256 = "020fwimsm24yblr1fmnwx240wj8r3x715p89cpjgnnd8axwf32p0"; | ||
ref = "purity"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is purity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dermetfan Do we need this purity
branch? What's the rationale/consequence of not having this? We are asserting that we are using cardano-node
1.35.3
in other locations and this branch seems to be on the master
branch of node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it to point to a new purity-backport-1.35.4
branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i really like the initiative.
this seems super cool and fun to work with.
i just need to get to know more about this tooling before giving my approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for helping us @dermetfan, but we need more context and maybe even some training materials for the team to adopt this.
default.nix
Outdated
url = "https://github.com/input-output-hk/cardano-node"; | ||
rev = "1.35.3"; | ||
sha256 = "020fwimsm24yblr1fmnwx240wj8r3x715p89cpjgnnd8axwf32p0"; | ||
ref = "purity"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dermetfan Do we need this purity
branch? What's the rationale/consequence of not having this? We are asserting that we are using cardano-node
1.35.3
in other locations and this branch seems to be on the master
branch of node.
{ | ||
cell, | ||
inputs, | ||
}: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this in a separate cell than the pipelines.nix
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the naming convention we currently use for std.
The automation
cell contains scripts and tasks for local execution.
The cloud
cell contains only things that run on some hosted platform (like cicero).
Tullia tasks are valid standalone as they can be run locally without cicero, so they belong in the automation
cell.
Cicero actions can only be run on cicero (and ours happen to run tullia tasks), so they belong in the cloud
cell.
} | ||
) | ||
{ | ||
hydraJobs = std.harvest self ["automation" "hydraJobs"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this? I think this PR should be about moving the Hydra-CI stuff to Cicero. So feel free to remove all the now legacy things (release.nix, this hydraJobs
expression) and make things less indirected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hydraJobs
is a well-known output and does an ok job of specifying what to build. I don't really see a benefit of changing it just because we now use other software to build it. We can even be compatible with both cicero and hydra this way. (Also I have 16 other repos atm that need CI so this would not be a priority)
10ab6bf
to
92aa78d
Compare
4661: fix pure nix evaluation r=dermetfan a=dermetfan There was access to `builtin.currentSystem` in the nix evaluation for nix-shell so pure evaluation was not possible. Needed by cardano-scaling/hydra#625. Co-authored-by: Robin Stumm <[email protected]>
98c43ad
to
0cd803c
Compare
431a5fd
to
47d2c4d
Compare
Also fix impurities in the nix evaluation of CI jobs.