Skip to content

Commit

Permalink
Merge pull request #1329 from vojtechtrefny/main_anaconda-rev-deps-fix
Browse files Browse the repository at this point in the history
ci: Change branch for Anaconda tests from 'master' to 'main'
  • Loading branch information
vojtechtrefny authored Jan 10, 2025
2 parents 6b4be0d + 9278313 commit 1b624e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/anaconda_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ permissions:

jobs:
unit-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
fail-fast: false
env:
TARGET_BRANCH: 'master'
TARGET_BRANCH: 'main'

steps:
- name: Clone Anaconda repository
Expand All @@ -34,14 +34,14 @@ jobs:
run: |
# Run anaconda-ci container with blivet and anaconda attached.
# Steps in the container:
# - Download anaconda-ci:master container (Rawhide)
# - Download anaconda-ci:main container (Rawhide)
# - Remove already existing blivet RPM in the container.
# - Install dependencies for blivet.
# - Install blivet to the container.
# - Run Anaconda tests.
podman run -i --rm -v ./blivet:/blivet:z -v ./anaconda:/anaconda:z quay.io/rhinstaller/anaconda-ci:$TARGET_BRANCH sh -c " \
set -xe; \
dnf remove -y python3-blivet; \
rpm -e --nodeps python3-blivet blivet-data; \
dnf install -y python3-blockdev libblockdev-plugins-all python3-bytesize libbytesize python3-pyparted python3-libmount parted libselinux-python3; \
cd /blivet; \
python3 ./setup.py install; \
Expand Down

0 comments on commit 1b624e6

Please sign in to comment.