ci: don't register the runners

They all subscribed before deploy.sh is even run.
This commit is contained in:
Ondřej Budai 2021-10-21 10:40:55 +02:00 committed by Simon Steinbeiß
parent 2f1b5d72dd
commit 3e402f126c
2 changed files with 0 additions and 16 deletions

View file

@ -36,10 +36,8 @@ RPM:
- aws/fedora-34-aarch64
- aws/centos-stream-8-x86_64
- aws/centos-stream-8-aarch64
- RUNNER:
- aws/rhel-8.4-ga-x86_64
- aws/rhel-8.4-ga-aarch64
REGISTER: "true"
- RUNNER:
- aws/rhel-8.5-nightly-x86_64
- aws/rhel-8.5-nightly-aarch64
@ -60,15 +58,8 @@ Testing:
- RUNNER:
- aws/fedora-33-x86_64
- aws/fedora-33-aarch64
INTERNAL_NETWORK: "true"
- RUNNER:
- aws/rhel-8.4-ga-x86_64
REGISTER: "true"
INTERNAL_NETWORK: "true"
- RUNNER:
- aws/rhel-8.5-nightly-x86_64
INTERNAL_NETWORK: "true"
- RUNNER:
- aws/rhel-9.0-beta-nightly-x86_64
INTERNAL_NETWORK: "true"

View file

@ -11,13 +11,6 @@ OSBUILD_COMPOSER_COMMIT=9497ef8ca9e05a177dc8ec5cbb80b98ad450b041
source /etc/os-release
ARCH=$(uname -m)
# Register RHEL if we are provided with a registration script and intend to do that.
REGISTER="${REGISTER:-'false'}"
if [[ $REGISTER == "true" && -n "${RHN_REGISTRATION_SCRIPT:-}" ]] && ! sudo subscription-manager status; then
sudo chmod +x $RHN_REGISTRATION_SCRIPT
sudo $RHN_REGISTRATION_SCRIPT
fi
# Add osbuild team ssh keys.
cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null