From ea760f9bd9e0e9673fbb1d01bd5637e90c002913 Mon Sep 17 00:00:00 2001 From: Emanuele Aina <emanuele.aina@collabora.com> Date: Mon, 7 Sep 2020 13:43:31 +0200 Subject: [PATCH] gitlab-ci: Tag lightweight jobs to reduce their latency Lightweight CI runners have been introduced to run jobs which have low resource consumption and do not need privileged containers to reduce costs and latency, so let's use them. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> --- .gitlab-ci.yml | 2 ++ gitlab-ci/update-test-binaries.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 142ce5e..bd3e193 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,8 @@ include: test-glib-gio-fs: stage: test + tags: + - lightweight extends: - .update-test-binaries variables: diff --git a/gitlab-ci/update-test-binaries.yaml b/gitlab-ci/update-test-binaries.yaml index 5f29b14..c182a34 100644 --- a/gitlab-ci/update-test-binaries.yaml +++ b/gitlab-ci/update-test-binaries.yaml @@ -1,5 +1,7 @@ .update-test-binaries: image: $CI_REGISTRY/infrastructure/${osname}-docker-images/${release}-package-source-builder + tags: + - lightweight variables: BRANCH: $CI_COMMIT_BRANCH GIT_PUSH_URL: https://${GITLAB_CI_USER}:${GITLAB_CI_PASSWORD}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git/ -- GitLab