From 1af935362c4aa4bd8afa1566d40f5b6b19247470 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 14 Jan 2021 11:54:46 +0200 Subject: [PATCH] Specify version of Toolbox. Also, shallow clone for speed and disk size. --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f9a01c..166313e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,9 @@ stages: - test - build +variables: + VERSION: 0.0.99 + build: stage: build image: buildpack-deps:bullseye @@ -22,7 +25,11 @@ build: podman shellcheck systemd - - git clone https://github.com/containers/toolbox.git + - >- + git clone + --depth=1 + "--branch=$VERSION" + https://github.com/containers/toolbox.git - cd toolbox script: - meson -Dprofile_dir=/etc/profile.d builddir -- GitLab