Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,23 @@ tests:
- intranet
steps:
cluster_profile: equinix-ocp-metal
env:
DEVSCRIPTS_CONFIG: |
BMO_WATCH_ALL_NAMESPACES="true"
NUM_EXTRA_WORKERS=1
EXTRA_WORKERS_NAMESPACE=openshift-cluster-api
FEATURE_SET=TechPreviewNoUpgrade
ENABLE_CAPI_E2E="true"
test:
- as: test
commands: make capi_e2e
from: src
commands: |
source "${SHARED_DIR}/packet-conf.sh"
# POC fix: strip resourceVersion/uid/creationTimestamp from secret before applying
# The error "object has been modified" is an optimistic concurrency error caused by
# these metadata fields being copied from the source secret
ssh "${SSHOPTS[@]}" "root@${IP}" "sed -i 's#oc apply -f -#sed -e \"/^ resourceVersion:/d\" -e \"/^ uid:/d\" -e \"/^ creationTimestamp:/d\" | oc apply -f -#g' /root/dev-scripts/setup_capi_e2e.sh"
ssh "${SSHOPTS[@]}" "root@${IP}" "cd /root/dev-scripts && make capi_e2e"
from: dev-scripts
resources:
requests:
cpu: 100m
Expand Down