Skip to content

Commit

Permalink
images: Remove openEuler mirror exception for release 22.03 (#249)
Browse files Browse the repository at this point in the history
The mirror has been updated to include 22.03 release. Therefore,
exception in action step is no longer required.

Passing build (on fork):
https://github.com/MusicDin/lxd-ci/actions/runs/10140831559
  • Loading branch information
tomponline authored Jul 29, 2024
2 parents 8dc0104 + e639cf2 commit 99675f0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/image-openeuler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,11 @@ jobs:
[ "${ARCH}" = "amd64" ] && IMAGE_ARCH="x86_64"
[ "${ARCH}" = "arm64" ] && IMAGE_ARCH="aarch64"
EXTRA_ARGS=""
# Temporary disable source overwrite for 22.03, as it is missing on the mirror.
if [ ${{ matrix.release }} != "22.03" ]; then
EXTRA_ARGS="-o source.url=https://mirrors.ocf.berkeley.edu/openeuler/"
fi
./bin/build-distro "${YAML}" "${ARCH}" "${TYPE}" "${TIMEOUT}" "${{ env.target }}" \
-o image.architecture="${IMAGE_ARCH}" \
-o image.release=${{ matrix.release }} \
-o image.variant=${{ matrix.variant }} \
${EXTRA_ARGS}
-o source.url=https://mirrors.ocf.berkeley.edu/openeuler/
- name: Print build artifacts
run: ls -lah "${{ env.target }}"
Expand Down

0 comments on commit 99675f0

Please sign in to comment.