forked from fediversity/fediversity
Revert "try store mounted read-only"
Some checks failed
ci/woodpecker/manual/check-deployment-panel Pipeline is pending
ci/woodpecker/manual/check-mastodon Pipeline is pending
ci/woodpecker/manual/check-panel Pipeline is pending
ci/woodpecker/manual/check-peertube Pipeline is pending
ci/woodpecker/manual/check-pre-commit Pipeline is pending
ci/woodpecker/manual/check-resources Pipeline is pending
ci/woodpecker/manual/update Pipeline is pending
ci/woodpecker/manual/check-data-model Pipeline failed
ci/woodpecker/manual/cd Pipeline failed
ci/woodpecker/manual/check-deployment-cli Pipeline failed
ci/woodpecker/manual/check-deployment-basic Pipeline failed
Some checks failed
ci/woodpecker/manual/check-deployment-panel Pipeline is pending
ci/woodpecker/manual/check-mastodon Pipeline is pending
ci/woodpecker/manual/check-panel Pipeline is pending
ci/woodpecker/manual/check-peertube Pipeline is pending
ci/woodpecker/manual/check-pre-commit Pipeline is pending
ci/woodpecker/manual/check-resources Pipeline is pending
ci/woodpecker/manual/update Pipeline is pending
ci/woodpecker/manual/check-data-model Pipeline failed
ci/woodpecker/manual/cd Pipeline failed
ci/woodpecker/manual/check-deployment-cli Pipeline failed
ci/woodpecker/manual/check-deployment-basic Pipeline failed
This reverts commit 586be6f309.
This commit is contained in:
parent
586be6f309
commit
d2759ae4b2
2 changed files with 3 additions and 7 deletions
|
|
@ -14,14 +14,12 @@ steps:
|
|||
echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
ls -l ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
- nix-shell --eval-store local --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt -p strace --run 'strace -f -o ssh-agent.log ssh-agent -s'
|
||||
- nix-shell -p strace --run 'strace -f -o ssh-agent.log ssh-agent -s'
|
||||
- cat ssh-agent.log
|
||||
- |
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
- nix-shell --eval-store local --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt --run 'eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519 && ssh-agent -s && SHELL=$(which bash) nixops4 apply -v default'
|
||||
- nix-shell --run 'eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519 && ssh-agent -s && SHELL=$(which bash) nixops4 apply -v default'
|
||||
environment:
|
||||
CD_SSH_KEY:
|
||||
from_secret: cd_ssh_key
|
||||
volumes:
|
||||
- /nix:/mnt/nix:ro
|
||||
|
|
|
|||
|
|
@ -10,6 +10,4 @@ steps:
|
|||
- name: check-deployment-basic
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- nix build --eval-store local --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt --extra-experimental-features 'nix-command flakes' .#checks.x86_64-linux.deployment-basic -L
|
||||
volumes:
|
||||
- /nix:/mnt/nix:ro
|
||||
- nix build --extra-experimental-features 'nix-command flakes' .#checks.x86_64-linux.deployment-basic -L
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue