before_script:
- git config --global user.name CI
- git config --global user.email ci@nic
- needs: # https://gitlab.nic.cz/help/ci/yaml/README.md#artifact-downloads-to-child-pipelines
+ needs:
- pipeline: $PARENT_PIPELINE_ID
job: archive
artifacts:
debian-11:pkgbuild:
<<: *pkgbuild
- image: $CI_REGISTRY/labs/lxc-gitlab-runner/debian-11
- variables:
- OBS_REPO: knot-resolver-build
- DISTROTEST_REPO: Debian_11
+ image: $CI_REGISTRY/knot/knot-resolver/ci/pkg-debian-11:knot-$KNOT_VERSION
script:
- - *debpkgbuild
+ - apt-get update # TODO: decide whether to change image / handle in apkg
+ - apkg build --build-dep
fedora-34:pkgbuild:
<<: *pkgbuild
<<: *pkgtest
needs:
- debian-11:pkgbuild
- image: $CI_REGISTRY/labs/lxc-gitlab-runner/debian-11
- variables:
- OBS_REPO: knot-resolver-build
- DISTROTEST_REPO: Debian_11
+ image: $CI_REGISTRY/knot/knot-resolver/ci/pkg-debian-11:knot-3.1
script:
- - *debpkgtest
+ - apkg install
+ - systemctl start kresd@1
+ - kdig @127.0.0.1 nic.cz | grep -qi NOERROR
fedora-34:pkgtest:
<<: *pkgtest