Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2023-02-17 12:16:39 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2023-03-06 23:36:29 +0300
commit010088a86ed0f59934c451e760543a6b85c4eaac (patch)
tree9e8a8a6712dd75f0cf9cb65b89e5fe0ef71cd039
parente9e07005979085ac93e0c47044f00b77a6b23722 (diff)
Add test for asdf installation
-rw-r--r--.gitlab/ci/test.gitlab-ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml
index cf238ca0..d52eee30 100644
--- a/.gitlab/ci/test.gitlab-ci.yml
+++ b/.gitlab/ci/test.gitlab-ci.yml
@@ -46,6 +46,28 @@ check_global_nav_entries:
- make check-global-navigation
#
+# Check that asdf dependencies install correctly
+#
+check_asdf_installation:
+ image: ubuntu:22.04
+ variables:
+ ASDF_VERSION: '0.11.1'
+ needs: []
+ stage: test
+ before_script:
+ - apt update
+ - apt install -y build-essential git curl zlib1g-dev libyaml-dev libssl-dev
+ script:
+ - git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v$ASDF_VERSION
+ - source "$HOME/.asdf/asdf.sh"
+ - make setup-asdf
+ - make install-asdf-dependencies
+ rules:
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+ changes:
+ - .tool-versions
+
+#
# Run rspec tests
#
rspec: