Manage SSH key manually until better solution is implemented
ci/woodpecker/push/deploy Pipeline failed
Details
ci/woodpecker/push/deploy Pipeline failed
Details
This commit is contained in:
parent
1acf5e2d70
commit
def048b9a8
|
@ -26,12 +26,15 @@ steps:
|
||||||
when:
|
when:
|
||||||
- evaluate: 'CI_PIPELINE_EVENT != "cron" && CI_PIPELINE_EVENT != "schedule"'
|
- evaluate: 'CI_PIPELINE_EVENT != "cron" && CI_PIPELINE_EVENT != "schedule"'
|
||||||
|
|
||||||
|
- name: Place SSH Key
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- echo $${SSH_PRIVATE_KEY}} > .privkey
|
||||||
|
- chmod 0600 .privkey
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
image: bash
|
image: bash
|
||||||
commands:
|
commands:
|
||||||
- ssh-agent -s
|
|
||||||
- eval "$(ssh-agent -s)"
|
|
||||||
- ssh-add - <<< $${SSH_PRIVATE_KEY}
|
|
||||||
- nix develop --command deploy
|
- nix develop --command deploy
|
||||||
environment:
|
environment:
|
||||||
*nix-config
|
*nix-config
|
||||||
|
|
12
flake.nix
12
flake.nix
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
deploy.nodes = {
|
deploy.nodes = {
|
||||||
"phoenix.lewd.wtf" = {
|
"phoenix.lewd.wtf" = {
|
||||||
sshOpts = [ "-p" "22" "-o" "StrictHostKeyChecking=no" ];
|
sshOpts = [ "-p" "22" "-o" "StrictHostKeyChecking=no" "-i" ".privkey" ];
|
||||||
hostname = "phoenix.lewd.wtf";
|
hostname = "phoenix.lewd.wtf";
|
||||||
fastConnection = true;
|
fastConnection = true;
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"aztul.elmosco.lewd.wtf" = {
|
"aztul.elmosco.lewd.wtf" = {
|
||||||
sshOpts = [ "-p" "22111" "-o" "StrictHostKeyChecking=no" ];
|
sshOpts = [ "-p" "22111" "-o" "StrictHostKeyChecking=no" "-i" ".privkey" ];
|
||||||
hostname = "aztul.elmosco.lewd.wtf";
|
hostname = "aztul.elmosco.lewd.wtf";
|
||||||
fastConnection = true;
|
fastConnection = true;
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"rene.elmosco.lewd.wtf" = {
|
"rene.elmosco.lewd.wtf" = {
|
||||||
sshOpts = [ "-p" "22113" "-o" "StrictHostKeyChecking=no" ];
|
sshOpts = [ "-p" "22113" "-o" "StrictHostKeyChecking=no" "-i" ".privkey" ];
|
||||||
hostname = "rene.elmosco.lewd.wtf";
|
hostname = "rene.elmosco.lewd.wtf";
|
||||||
fastConnection = true;
|
fastConnection = true;
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"reject.elmosco.lewd.wtf" = {
|
"reject.elmosco.lewd.wtf" = {
|
||||||
sshOpts = [ "-p" "22104" "-o" "StrictHostKeyChecking=no" ];
|
sshOpts = [ "-p" "22104" "-o" "StrictHostKeyChecking=no" "-i" ".privkey" ];
|
||||||
hostname = "reject.elmosco.lewd.wtf";
|
hostname = "reject.elmosco.lewd.wtf";
|
||||||
fastConnection = true;
|
fastConnection = true;
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"oosi.elmosco.lewd.wtf" = {
|
"oosi.elmosco.lewd.wtf" = {
|
||||||
sshOpts = [ "-p" "22106" "-o" "StrictHostKeyChecking=no" ];
|
sshOpts = [ "-p" "22106" "-o" "StrictHostKeyChecking=no" "-i" ".privkey" ];
|
||||||
hostname = "oosi.elmosco.lewd.wtf";
|
hostname = "oosi.elmosco.lewd.wtf";
|
||||||
fastConnection = true;
|
fastConnection = true;
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"kinda.sus.lol" = {
|
"kinda.sus.lol" = {
|
||||||
sshOpts = [ "-p" "22201" "-o" "StrictHostKeyChecking=no" ];
|
sshOpts = [ "-p" "22201" "-o" "StrictHostKeyChecking=no" "-i" ".privkey" ];
|
||||||
hostname = "kinda.sus.lol";
|
hostname = "kinda.sus.lol";
|
||||||
fastConnection = true;
|
fastConnection = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue