Skip to content

Commit 1234c66

Browse files
committed
test
1 parent d79a9cc commit 1234c66

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,21 @@ if "${SRC_FROM_GIT}"; then
7272
}')
7373
export CLONEREFS_OPTIONS
7474
fi
75-
ci_clone_src
75+
# ci_clone_src
76+
git clone --depth 1 https://github.com/pacevedom/microshift.git -b USHIFT-5614 /go/src/github.com/openshift/microshift
77+
78+
##
79+
export PATH="${HOME}/.local/bin:${PATH}"
80+
python3 -m ensurepip --upgrade
81+
pip3 install setuptools-rust cryptography pyyaml pygithub gitpython
82+
83+
cp ${CLUSTER_PROFILE_DIR}/pull-secret ${HOME}/.pull-secret.json
84+
85+
cd /go/src/github.com/openshift/microshift/
86+
DEST_DIR=${HOME}/.local/bin ./scripts/fetch_tools.sh yq
87+
PULLSPEC_RELEASE_AMD64=registry.ci.openshift.org/ocp/release:4.20.0-0.nightly-2025-07-04-033329 DRY_RUN=y ./scripts/auto-rebase/rebase_job_entrypoint.sh
88+
##
89+
7690
tar czf /tmp/microshift.tgz /go/src/github.com/openshift/microshift
7791

7892
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)