summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-25 10:05:20 -0600
committermo khan <mo.khan@gmail.com>2020-06-25 10:05:20 -0600
commit9ac80fbe229ee6e6434d6b2a12f6dcbac4147d18 (patch)
tree9e20c31842757895465f550462c2f2da1ea19e4e /.gitlab-ci.yml
parentc56a674223b3279b23b66aca409dc23c4252d647 (diff)
Prepare separate projects for each tool-version
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml119
1 files changed, 9 insertions, 110 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 248ab9a..d398230 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,121 +1,20 @@
-stages:
- - build
- - release
-
-cache:
- key: ${CI_JOB_NAME}
- paths:
- - local
-
variables:
- DOCKER_DRIVER: overlay2
GIT_DEPTH: "1"
GIT_STRATEGY: fetch
- TMP_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
default:
- image: $TMP_IMAGE
+ image: debian:stable-slim
artifacts:
paths:
- pkg/
expire_in: 1 week
-
-build-docker-image:
- image: docker:stable
- stage: build
- services:
- - docker:stable-dind
script:
- - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- - docker build -t $TMP_IMAGE .
- - docker push $TMP_IMAGE
-
-.ruby:
- stage: release
- script:
- - bundle exec omnibus build rubies
- variables:
- RUBY_VERSION: '2.7.1'
-
-ruby-2-7-1:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.7.1'
-
-ruby-2-7-0:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.7.0'
-
-ruby-2-6-6:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.6.6'
-
-ruby-2-6-5:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.6.5'
-
-ruby-2-6-4:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.6.4'
-
-ruby-2-6-3:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.6.3'
-
-ruby-2-6-2:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.6.2'
-
-ruby-2-6-1:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.6.1'
-
-ruby-2-6-0:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.6.0'
-
-ruby-2-5-8:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.5.8'
-
-ruby-2-4-5:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.4.5'
-
-ruby-2-4-10:
- extends: .ruby
- variables:
- RUBY_VERSION: '2.4.10'
-
-.mono:
- stage: release
- script:
- - bundle exec omnibus build mono
-
-mono-6-8-0-123:
- extends: .mono
- variables:
- MONO_VERSION: '6.8.0.123'
-
-.python:
- stage: release
- allow_failure: true
- script:
- - bundle exec omnibus build pythons
- variables:
- PYTHON_VERSION: '3.8.3'
+ - bin/omnibus-setup
+ - bin/omnibus-build $OMNIBUS_PROJECT
+ cache:
+ key: ${CI_JOB_NAME}
+ paths:
+ - tmp/omnibus
-python-3-8-3:
- extends: .python
- variables:
- PYTHON_VERSION: '3.8.3'
+include:
+ - local: .gitlab/build.yml