##### #####
###########################################################
##### #####
-##### This file is autogenerated from misc/gitlab/. #####
+##### This file is autogenerated from gitlab/. #####
##### Edit those files and run `make gitlab` instead. #####
##### #####
###########################################################
script:
- autoreconf -i
- ./configure
- - touch misc/gitlab/template.yml.j2
+ - touch gitlab/template.yml.j2
- make gitlab-venv
- git status --porcelain
- git diff --exit-code
# base image is never checked. However, pull always asks and updates the
# image only if it changed ‒ therefore, the cache is used unless there's a
# change.
- - $DOCKER_CMD pull `sed -ne 's/^FROM //p' "misc/docker/$IMG_NAME/Dockerfile"`
- - $DOCKER_CMD build -t "bird:$IMG_NAME" "misc/docker/$IMG_NAME"
+ - $DOCKER_CMD pull `sed -ne 's/^FROM //p' "gitlab/docker/$IMG_NAME/Dockerfile"`
+ - $DOCKER_CMD build -t "bird:$IMG_NAME" "gitlab/docker/$IMG_NAME"
- $DOCKER_CMD tag "bird:$IMG_NAME" "$IMG_BASE:$IMG_NAME"
- $DOCKER_CMD push "$IMG_BASE:$IMG_NAME"
after_script:
$(daemon): LIBS += $(DAEMON_LIBS)
# Include directories
-dirs := client conf doc filter lib nest test misc/gitlab $(addprefix proto/,$(protocols)) @sysdep_dirs@
+dirs := client conf doc filter lib nest test gitlab $(addprefix proto/,$(protocols)) @sysdep_dirs@
# conf/Makefile declarations needed for all other modules
conf-lex-targets := $(addprefix $(objdir)/conf/,cf-lex.o)
TODO:
- add on-demand triggers from the gitlab web ui
+
+# Docker files for our test machinery
+
+**These files are not distribution files for running BIRD. We currently
+do not supply official BIRD images and do not prepare any Docker files ourselves.**
+
+We build for the major Linux distributions, FreeBSD and OpenBSD. If you feel
+that your favourite Linux distribution is missing, please send a patch.
+
+Where to add your favourite Linux distribution:
+
+- add an appropriate dockerfile here
+- possibly add `pkg-*` and `install-*` template job in `gitlab/template.yml.j2`
+- add your distribution into the `distros` list in `gitlab/data.yml.j2`
+- run `make gitlab-local` or `make gitlab-venv` to rebuild `.gitlab-ci.yml`
+
+Rebuilding the docker images is done by triggering the appropriate pipeline manually in Gitlab.
+
+When images are disused, check [the registry](https://gitlab.nic.cz/labs/bird/container_registry/)
+and untag them so that they can be garbage-collected.
+
+## Debian-based distributions
+
+We support Debian between oldoldstable and testing. If not, poke us.
+
+We support Ubuntu LTS at least 5 years old and non-LTS before EOL. After EOL,
+the non-LTS package repositories tend to disappear quite quickly so we don't
+have resources to build against.
+
+## RedHat-based distributions
+
+We support OpenSUSE, Fedora, CentOS 7+8, Rocky Linux and Oracle Linux. If you are
+missing your favourite new release, poke us. We are discontinuing the old
+releases as they stop working.
+
+The current support for CentOS 7 and 8 has been paid for and we may drop it without
+further notice at the exact moment the customer stops using it.
+
+We failed to find a reliable Docker image for Rocky Linux 10.
+
+## Any other based distributions
+
+We currently don't package for e.g. Alpine, Arch, Gentoo, Mint or Slackware.
+Contributions are open, please refer to `CONTRIBUTING.md` for further information.
+
+## FreeBSD and OpenBSD
+
+These are not built in Docker but in proper virtuals in QEMU, refer to
+<https://gitlab.nic.cz/labs/bird-tools/-/tree/master/birdlab-tmp>
##### #####
###########################################################
##### #####
-##### This file is autogenerated from misc/gitlab/. #####
+##### This file is autogenerated from gitlab/. #####
##### Edit those files and run `make gitlab` instead. #####
##### #####
###########################################################
script:
- autoreconf -i
- ./configure
- - touch misc/gitlab/template.yml.j2
+ - touch gitlab/template.yml.j2
- make gitlab-venv
- git status --porcelain
- git diff --exit-code
# base image is never checked. However, pull always asks and updates the
# image only if it changed ‒ therefore, the cache is used unless there's a
# change.
- - $DOCKER_CMD pull `sed -ne 's/^FROM //p' "misc/docker/$IMG_NAME/Dockerfile"`
- - $DOCKER_CMD build -t "bird:$IMG_NAME" "misc/docker/$IMG_NAME"
+ - $DOCKER_CMD pull `sed -ne 's/^FROM //p' "gitlab/docker/$IMG_NAME/Dockerfile"`
+ - $DOCKER_CMD build -t "bird:$IMG_NAME" "gitlab/docker/$IMG_NAME"
- $DOCKER_CMD tag "bird:$IMG_NAME" "$IMG_BASE:$IMG_NAME"
- $DOCKER_CMD push "$IMG_BASE:$IMG_NAME"
after_script:
+++ /dev/null
-# Docker files for our test machinery
-
-**These files are not distribution files for running BIRD. We currently
-do not supply official BIRD images and do not prepare any Docker files ourselves.**
-
-We build for the major Linux distributions, FreeBSD and OpenBSD. If you feel
-that your favourite Linux distribution is missing, please send a patch.
-
-Where to add your favourite Linux distribution:
-
-- add an appropriate dockerfile here
-- possibly add `pkg-*` and `install-*` template job in `misc/gitlab/template.yml.j2`
-- add your distribution into the `distros` list in `misc/gitlab/data.yml.j2`
-- run `make gitlab-local` or `make gitlab-venv` to rebuild `.gitlab-ci.yml`
-
-Rebuilding the docker images is done by triggering the appropriate pipeline manually in Gitlab.
-
-## Debian-based distributions
-
-We support Debian between oldoldstable and testing. If not, poke us.
-
-We support Ubuntu LTS at least 5 years old and non-LTS before EOL. After EOL,
-the non-LTS package repositories tend to disappear quite quickly so we don't
-have resources to build against.
-
-## RedHat-based distributions
-
-We support OpenSUSE, Fedora, CentOS 7+8, Rocky Linux and Oracle Linux. If you are
-missing your favourite new release, poke us. We are discontinuing the old
-releases as they stop working.
-
-The current support for CentOS 7 and 8 has been paid for and we may drop it without
-further notice at the exact moment the customer stops using it.
-
-We failed to find a reliable Docker image for Rocky Linux 10.
-
-## Any other based distributions
-
-We currently don't package for e.g. Alpine, Arch, Gentoo, Mint or Slackware.
-Contributions are open, please refer to `CONTRIBUTING.md` for further information.
-
-## FreeBSD and OpenBSD
-
-These are not built in Docker but in proper virtuals in QEMU, refer to
-<https://gitlab.nic.cz/labs/bird-tools/-/tree/master/birdlab-tmp>