Skip to content

Commit

Permalink
[QE] update pr check on linux-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu committed Jan 14, 2025
1 parent 064da69 commit 4bcd632
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/linux-qe-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
statuses: write # needed to update commit status (pending/failure/sucess)
checks: write # as documented in https://github.com/mikepenz/action-junit-report?tab=readme-ov-file#pr-run-permissions
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Download gh context
id: download-gh-context-artifact
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -52,12 +49,11 @@ jobs:
status_context="${status_context}/Linux-ARM64"
echo "status_context=${status_context}" >> "$GITHUB_ENV"
ocp_version_line=$(cat Makefile | grep "OPENSHIFT_VERSION ?=")
ocp_bundle_v=${ocp_version_line##*= }
ocp_bundle_v=$(cat ocp_bundle_v.json)
echo "ocp_bundle_v=${ocp_bundle_v}" >> "$GITHUB_ENV"
echo "ocp_bundle_v=${ocp_bundle_v}"
microshift_version_line=$(cat Makefile | grep "MICROSHIFT_VERSION ?=")
microshift_bundle_v=${microshift_version_line##*= }
microshift_bundle_v=$(cat microshift_bundle_v.json)
echo "microshift_bundle_v=${microshift_bundle_v}" >> "$GITHUB_ENV"
echo "microshift_bundle_v=${microshift_bundle_v}"
Expand Down Expand Up @@ -128,6 +124,7 @@ jobs:
$ssh_cmd 'mkdir -p /home/crctest/.ssh' < /dev/null
$ssh_cmd 'cp /root/.ssh/authorized_keys /home/crctest/.ssh/' < /dev/null
$ssh_cmd 'chown -R crctest:crctest /home/crctest/.ssh/' < /dev/null
$ssh_cmd 'dnf install podman -y' < /dev/null
# Install CRC on the reserved machine
echo "Start installing crc on reserved machine"
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/windows-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,23 @@ jobs:
with:
name: gh-context
path: gh_context.json
- name: Check out repository code
uses: actions/checkout@v4
- name: Save the bundle version
run: |
ocp_version_line=$(cat Makefile | grep "OPENSHIFT_VERSION ?=")
ocp_bundle_v=${ocp_version_line##*= }
echo $ocp_bundle_v > ocp_bundle_v.json
microshift_version_line=$(cat Makefile | grep "MICROSHIFT_VERSION ?=")
microshift_bundle_v=${microshift_version_line##*= }
echo $microshift_bundle_v > microshift_bundle_v.json
- name: Upload the ocp bundle version artifact
uses: actions/upload-artifact@v4
with:
name: ocp_bundle_v
path: ocp_bundle_v.json
- name: Upload the microshift bundle version artifact
uses: actions/upload-artifact@v4
with:
name: microshift_bundle_v
path: microshift_bundle_v.json

0 comments on commit 4bcd632

Please sign in to comment.