Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ci-operator/step-registry/baremetalds/devscripts/ibm/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
approvers:
- andfasano
- honza
- stbenjam
- elfosardo
- tdomnesc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

set -o nounset
set -o errexit
set -o pipefail

echo "************ baremetalds devscripts ibm command ************"

# Fetch packet basic configuration
# shellcheck disable=SC1090
source "${SHARED_DIR}/packet-conf.sh"

# Removes IBM custom CentOS rpm mirros and uncomments the community mirrors
ssh "${SSHOPTS[@]}" "root@${IP}" bash - << EOF
set +x

for f in /etc/yum.repos.d/*.repo; do
if grep -q '^baseurl=.*networklayer\.com' "\$f"; then
sudo sed -i \
-e '/^#metalink=/s/^#//' \
-e '/^baseurl=.*networklayer\.com/s/^/#/' \
"\$f"
fi
done
Comment thread
tdomnesc marked this conversation as resolved.
EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"path": "baremetalds/devscripts/ibm/baremetalds-devscripts-ibm-ref.yaml",
"owners": {
"approvers": [
"andfasano",
"honza",
"stbenjam",
"elfosardo",
"tdomnesc"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ref:
as: baremetalds-devscripts-ibm
from: dev-scripts
grace_period: 10m
commands: baremetalds-devscripts-ibm-commands.sh
resources:
requests:
cpu: 1000m
memory: 500Mi
env:
- name: CLUSTERTYPE
default: virt
documentation: Type of environment to run CI test on "virt" or "baremetal"
documentation: |-
Removes IBM custom CentOS rpm mirros and uncomments the community mirrors
Should not do anything on any other server provider
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ chain:
steps:
- ref: ofcir-acquire
- ref: ipi-install-rbac
- ref: baremetalds-devscripts-ibm
- ref: baremetalds-devscripts-proxy
- ref: ipi-install-hosted-loki
- ref: baremetalds-devscripts-setup
Expand Down