apt-get update -qqq
# apkg
- apt-get install -y python3-pip meson git
+ apt-get install -y python3-pip meson git python3-venv
}
function init_fedora {
fi
# install apkg
-pip3 install apkg
+python3 -m pip install --user pipx
+python3 -m pipx ensurepath
+PATH="$PATH:/root/.local/bin" # hack to make binaries installed with pipx work
+python3 -m pipx install apkg
# prepare the repo
git clone https://gitlab.nic.cz/knot/knot-resolver
cd knot-resolver
-git config --global user.email "ci@knot-resolver"
-git config --global user.name "GitLab CI"
-git checkout manager-integration
+git config --global user.email "automated-script"
+git config --global user.name "Automated Script"
+git checkout manager-integration-without-submodule
git submodule update --init --recursive
-cd manager
-git checkout master
-cd ..
-git commit -a -m "auto-update of knot-resolver's manager to the latest master branch"
# build the package
apkg system-setup