[librsvg: 2/3] ci: Simplify by removing the global_before template
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 2/3] ci: Simplify by removing the global_before template
- Date: Thu, 29 Oct 2020 11:43:01 +0000 (UTC)
commit 2f4b42317523b065846af922683d23324096348d
Author: Sven Neumann <sven svenfoo org>
Date: Thu Oct 29 11:26:23 2020 +0100
ci: Simplify by removing the global_before template
This small template was only used in one place.
.gitlab-ci.yml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3343d23f..03c0b888 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,12 +21,6 @@ stages:
- release
- docs
-.global_before: &global_before
- - rustc --version
- - cargo --version
- # Set up Rust cache
- - mkdir -p cargo_cache
-
.common:
interruptible: true
variables:
@@ -34,7 +28,10 @@ stages:
# Override the CARGO_HOME variable to force its location
CARGO_HOME: "${CI_PROJECT_DIR}/cargo_cache"
before_script:
- - *global_before
+ - rustc --version
+ - cargo --version
+ # Set up Rust cache
+ - mkdir -p cargo_cache
cache:
key:
files:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]