The following is the process for deploying a new build server.
/etc/pickle.conffile and set MIRROR variable to point to the staging server.
cd && git clone https://gitlab.cucumberlinux.com/cucumber/buildtools.git && cd buildtools && make install-build-server VERSION=x.y.
/opt/buildtools/configfile and set the STAGING_SERVER variable to the appropriate value.
/etc/portsync.conffile and set the RSYNC_MIRROR variable to the staging server rsync mirror.
/etc/portmake.conffile and change the BUILD_PREFIX to the build prefix for the version of Cucumber Linux the build server is for. For example, if creating a build server for Cucumber Linux 2.0, which has been code named
zaphod, you would set
/var/log/packagesto the time you want to start building from. Any updates to the ports tree that took place after this time will trigger a rebuilding of the affected package. Any updates to the ports tree that took place before it will not.
pickle –update && pickleand install all the available updates. This will cause the build server to build any new updates, but skip any old ones.
/opt/buildtools/auto_updateto update the local files and build any updates.