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:
authorEvan Read <eread@gitlab.com>2023-03-07 01:52:12 +0300
committerEvan Read <eread@gitlab.com>2023-03-07 01:52:12 +0300
commitc4b45c772aeba7872d042d56b394b2b3f340d581 (patch)
tree878c8b08695f864af8136cab12193478485b2c3c
parent1d7cd13a682000137c45dcba0bd705ad241b1f0a (diff)
parent010088a86ed0f59934c451e760543a6b85c4eaac (diff)
Merge branch 'axil-test-asdf-updates' into 'main'
Add test for asdf installation See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3562 Merged-by: Evan Read <eread@gitlab.com> Approved-by: Evan Read <eread@gitlab.com> Reviewed-by: Achilleas Pipinellis <axil@gitlab.com> Reviewed-by: Evan Read <eread@gitlab.com> Co-authored-by: Achilleas Pipinellis <axil@gitlab.com>
-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 d921f1b6..1bed0ec1 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: