Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
64785aef
Commit
64785aef
authored
Oct 30, 2018
by
Valentin Reis
Browse files
added key deployment tool.
parent
821c1939
Changes
3
Hide whitespace changes
Inline
Side-by-side
deployments/argo.nixops
View file @
64785aef
No preview for this file type
deployments/ci.nix
View file @
64785aef
...
...
@@ -69,7 +69,7 @@ in
chownsec
=
{
text
=
''
mkdir -p /run/secrets/
chown -R
${
config
.
users
.
users
.
hydra-queue-runner
.
uid
}
:
${
config
.
users
.
groups
.
hydra
.
gid
}
/run/secrets
chown -R
${
builtins
.
toString
config
.
users
.
users
.
hydra-queue-runner
.
uid
}
:
${
builtins
.
toString
config
.
users
.
groups
.
hydra
.
gid
}
/run/secrets
''
;
deps
=
[];
};
...
...
deployments/send-secret.sh
0 → 100755
View file @
64785aef
#!/usr/bin/env bash
echo
"extracting/sending hydra-master secret key from password store"
pass keys/rsa/PRIVATE/hydra-master@chameleon | ssh root@129.114.111.116
'cat > /run/secrets/id_buildfarm'
echo
"chown-ing the key on the machine"
ssh root@129.114.111.116
'chown hydra-queue-runner:hydra /run/secrets/id_buildfarm'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment