IMG_BASE: registry.nic.cz/labs/bird
TOOLS_DIR: /home/gitlab-runner/bird-tools
STAYRTR_BINARY: /usr/local/bin/stayrtr
+ APKG_VERSION: 0.5.1
stages:
- consistency
script:
# create venv only if it's installed
- if python3 -m venv venv; then . venv/bin/activate; fi
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths:
# apkg depends on bs4, and unless we want to backport python 3.6
# to ancient distros, we need to do this workaround
- pip3 install beautifulsoup4==4.11.2
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths:
<<: *test-job
stage: pkg
script:
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths:
- sed -i "s/runstatedir/with-runtimedir/" distro/pkg/rpm/bird.spec
# install older version of bs4 that does not use python version >= 3.6
- pip3 install beautifulsoup4==4.11.2
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths:
IMG_BASE: registry.nic.cz/labs/bird
TOOLS_DIR: /home/gitlab-runner/bird-tools
STAYRTR_BINARY: /usr/local/bin/stayrtr
+ APKG_VERSION: 0.5.1
stages:
- consistency
script:
# create venv only if it's installed
- if python3 -m venv venv; then . venv/bin/activate; fi
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths:
# apkg depends on bs4, and unless we want to backport python 3.6
# to ancient distros, we need to do this workaround
- pip3 install beautifulsoup4==4.11.2
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths:
<<: *test-job
stage: pkg
script:
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths:
- sed -i "s/runstatedir/with-runtimedir/" distro/pkg/rpm/bird.spec
# install older version of bs4 that does not use python version >= 3.6
- pip3 install beautifulsoup4==4.11.2
- - pip3 install apkg
+ - pip3 install apkg==$APKG_VERSION
- apkg build -a bird-$(cat VERSION)*.tar.gz
artifacts:
paths: