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

Automate deploying updates to the macs #40

Closed
wants to merge 7 commits into from

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Mar 21, 2018

  • Upgrade to Nix 2 across the board
  • Set up more stable garbage collection
  • Fix mac9
  • Use LnL's nix-darwin to manage the version
    of Nix deployed

To update and deploy:

$ ./update-channels
$ ./deploy.sh

You MUST already have setup your SSH config to know
how to connect to mac{1..9} but I'm not going to document that
here.

 - Upgrade to Nix 2 across the board
 - Set up more stable garbage collection
 - Fix mac9
 - Use LnL's nix-darwin to manage the version
   of Nix deployed

To update and deploy:

    $ ./update-channels
    $ ./deploy.sh

You MUST already have setup your SSH config to know
how to connect to mac{1..9} but I'm not going to document that
here.
macs/deploy.sh Outdated
echo "Copying derivation to $host"

# A lame version of nix-copy-closure since we can't SSH directly in
# as a trusted user
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't we SSH in as a trusted user?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could! Taking this to PM.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

@@ -0,0 +1,7 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this JSON stuff for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To track and pin the versions of the "channels" being deployed, to keep it from being a floating version.

@zimbatm
Copy link
Member

zimbatm commented Dec 15, 2018

Is this still relevant @grahamc ?

@grahamc
Copy link
Member Author

grahamc commented Dec 15, 2018

Nope :)

@grahamc grahamc closed this Dec 15, 2018
@grahamc grahamc deleted the deploy-to-macs branch December 15, 2018 16:16
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.

None yet

3 participants