Skip to content

Add Buildkite pipeline for updating hackage.nix and stackage.nix #56

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

Merged
merged 2 commits into from
Mar 20, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Feb 13, 2019

IOHK Buildkite agents have ssh keys. They can be given push access to hackage.nix and stackage.nix. This Buildkite pipeline will be scheduled to run every day, so that the repos stay up to date.

@rvl rvl force-pushed the rvl/buildkite-update-scripts branch from ad52925 to fef711b Compare February 13, 2019 05:47
@angerman
Copy link
Collaborator

@rvl this still hinges on us getting admin rights to our repos right?

@rvl
Copy link
Contributor Author

rvl commented Feb 13, 2019

@angerman Yes it does 😒

@rvl
Copy link
Contributor Author

rvl commented Feb 26, 2019

This will probably work once input-output-hk/iohk-ops#534 is deployed.

@rvl rvl force-pushed the rvl/buildkite-update-scripts branch from 1982d69 to 3e932bb Compare February 26, 2019 05:19
iohk-bors bot added a commit to input-output-hk/iohk-ops that referenced this pull request Mar 4, 2019
534: infra: Add GitHub deploy keys to buildkite-agent r=jbgi a=rvl

Needed for input-output-hk/haskell.nix#56.

Before deploying, create these keys on the infra deployer:
```
ssh-keygen -t rsa -f static/buildkite-hackage-ssh -C [email protected]
ssh-keygen -t rsa -f static/buildkite-stackage-ssh -C [email protected]
```

After deploying, add these as deploy keys to the relevant github repos.


Co-authored-by: Rodney Lorrimar <[email protected]>
iohk-bors bot added a commit to input-output-hk/iohk-ops that referenced this pull request Mar 14, 2019
534: infra: Add GitHub deploy keys to buildkite-agent r=rvl a=rvl

Needed for input-output-hk/haskell.nix#56.

Before deploying, create these keys on the infra deployer:
```
ssh-keygen -t rsa -f static/buildkite-hackage-ssh -C [email protected]
ssh-keygen -t rsa -f static/buildkite-stackage-ssh -C [email protected]
```

After deploying, add these as deploy keys to the relevant github repos.


Co-authored-by: Rodney Lorrimar <[email protected]>
@rvl rvl force-pushed the rvl/buildkite-update-scripts branch 2 times, most recently from ec75652 to bed1c33 Compare March 19, 2019 22:35
@rvl rvl force-pushed the rvl/buildkite-update-scripts branch from bed1c33 to 12d5a51 Compare March 19, 2019 23:33
@rvl
Copy link
Contributor Author

rvl commented Mar 20, 2019

Keys are installed, and the scripts work.
Just need to get input-output-hk/nix-tools#44 merged, and then update nix-tools-src.json.

@rvl rvl force-pushed the rvl/buildkite-update-scripts branch from 12d5a51 to a9f0250 Compare March 20, 2019 02:43
@rvl rvl merged commit 1251129 into master Mar 20, 2019
@rvl rvl deleted the rvl/buildkite-update-scripts branch March 20, 2019 02:44
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this pull request Sep 14, 2022
* Add support for stack.yaml flags.

Fixes input-output-hk#54

* Update stack2nix/Stack2nix.hs

Co-Authored-By: Rodney Lorrimar <[email protected]>
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this pull request Sep 14, 2022
* Add support for stack.yaml flags.

Fixes input-output-hk#54

* Update stack2nix/Stack2nix.hs

Co-Authored-By: Rodney Lorrimar <[email protected]>
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.

3 participants