ci: add team ssh keys in before_script
Add the keys in before_script to make also rpbuild runners accessible as the deploy.sh script is not being ran there.
This commit is contained in:
parent
0688d2180b
commit
9c3e9ff616
2 changed files with 1 additions and 3 deletions
|
|
@ -9,6 +9,7 @@ stages:
|
|||
.base:
|
||||
before_script:
|
||||
- schutzbot/ci_details.sh > ci-details-before-run
|
||||
- cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null
|
||||
after_script:
|
||||
- schutzbot/ci_details.sh > ci-details-after-run
|
||||
- schutzbot/update_github_status.sh update
|
||||
|
|
|
|||
|
|
@ -90,9 +90,6 @@ fi
|
|||
greenprint "Enabling fastestmirror to speed up dnf 🏎️"
|
||||
echo -e "fastestmirror=1" | sudo tee -a /etc/dnf/dnf.conf
|
||||
|
||||
greenprint "Adding osbuild team ssh keys"
|
||||
cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null
|
||||
|
||||
# TODO: include this in the jenkins runner (and split test/target machines out)
|
||||
sudo dnf -y install jq
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue