Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Change branch for Anaconda tests from 'master' to 'main' #1329

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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