Skip to content

Commit 9acc68d

Browse files
committed
test
1 parent 31a3769 commit 9acc68d

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

ci-operator/step-registry/openshift/microshift/infra/rpm-install-aws/openshift-microshift-infra-rpm-install-aws-commands.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,22 @@ if "${SRC_FROM_GIT}"; then
7373
export CLONEREFS_OPTIONS
7474
fi
7575
ci_clone_src
76+
77+
# temp
78+
RELEASE_IMAGE_INITIAL="registry.ci.openshift.org/ocp/release:4.20.0-0.nightly-2025-07-04-033329"
79+
80+
if [[ -n "${RELEASE_IMAGE_INITIAL:-}" ]]; then
81+
export PATH="${HOME}/.local/bin:${PATH}"
82+
python3 -m ensurepip --upgrade
83+
pip3 install setuptools-rust cryptography pyyaml pygithub gitpython
84+
85+
cp "${CLUSTER_PROFILE_DIR}"/pull-secret "${HOME}"/.pull-secret.json
86+
87+
cd /go/src/github.com/openshift/microshift/
88+
DEST_DIR="${HOME}"/.local/bin ./scripts/fetch_tools.sh yq
89+
PULLSPEC_RELEASE_AMD64="${RELEASE_IMAGE_INITIAL}" DRY_RUN=y ./scripts/auto-rebase/rebase_job_entrypoint.sh
90+
fi
91+
7692
tar czf /tmp/microshift.tgz /go/src/github.com/openshift/microshift
7793

7894
scp \

ci-operator/step-registry/openshift/microshift/infra/rpm-install-aws/openshift-microshift-infra-rpm-install-aws-ref.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ref:
22
as: openshift-microshift-infra-rpm-install-aws
33
from: root
4+
cli: latest
45
grace_period: 10m
56
commands: openshift-microshift-infra-rpm-install-aws-commands.sh
67
resources:
@@ -19,9 +20,17 @@ ref:
1920
documentation: >-
2021
Get MicroShift code from git instead of the image. This is because this step may be used in jobs where
2122
pipeline:src image may not belong to MicroShift repo.
23+
dependencies:
24+
- name: "release:nightly-amd64"
25+
env: "OPENSHIFT_RELEASE_IMAGE"
26+
- name: "release:nightly-arm64"
27+
env: "OPENSHIFT_RELEASE_IMAGE_ARM"
2228
credentials:
2329
- namespace: test-credentials
2430
name: microshift-rhsm-creds
2531
mount_path: /var/run/rhsm/
32+
- name: pr-creds
33+
namespace: test-credentials
34+
mount_path: /secrets/pr-creds
2635
documentation: >-
2736
This step installs the microshift rpm and microshift infra in instance created by upi-install-gcp-nested.

0 commit comments

Comments
 (0)