|
 |
ed28c0 |
# Test locally on Fedora by doing the following:
|
|
 |
ed28c0 |
# - Install gitlab-runner from https://docs.gitlab.com/runner/install/linux-manually.html#using-binary-file
|
|
 |
ed28c0 |
# - sudo dnf install podman
|
|
 |
ed28c0 |
# - systemctl enable --now --user podman.socket
|
|
 |
ed28c0 |
# - sudo ln -s /run/user/$(id -u)/podman/podman.sock /var/run/docker.sock
|
|
 |
ed28c0 |
# - gitlab-runner exec docker systemd-cd --env CENTOS_CERT=/root/.centos.cert --docker-volumes "$HOME/.centos.cert:/root/.centos.cert"
|
|
 |
ed28c0 |
systemd-cd:
|
|
 |
ed28c0 |
stage: build
|
|
 |
ed28c0 |
image: quay.io/fedora/fedora:latest
|
|
 |
ed28c0 |
script:
|
|
 |
ed28c0 |
- env # Show variables that were passed to the job
|
|
 |
ed28c0 |
- dnf install -y tar git-core python3 centos-packager mock mock-centos-sig-configs
|
|
 |
ed28c0 |
- ./releng.py cd --cert $CENTOS_CERT --repo $REPO --release $RELEASE $PUBLISH
|
|
 |
ed28c0 |
parallel:
|
|
 |
ed28c0 |
matrix:
|
|
 |
ed28c0 |
- REPO: [main, facebook]
|
|
 |
ed28c0 |
RELEASE: [9, 10]
|