Commit c8392377 authored by nimrod's avatar nimrod
Browse files

A different take on setting the runner.

Run almost everything in ns4 (it's the fastest and least used). Don't
set the runner for Docker deployments, allow the project to set the
default.
parent d41f42a2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
bats:
  stage: test
  image: adarnimrod/ci-images:bats
  tags: [ns4.shore.co.il]
  script:
    - bats tests/ | tee results.tap
  after_script:
+2 −2
Original line number Diff line number Diff line
---
.compose-build:
compose-build:
  image: adarnimrod/ci-images:docker
  stage: build
  variables:
@@ -9,7 +9,7 @@
    - docker-compose build --no-cache --pull
    - docker-compose pull --quiet

.compose-run:
compose-run:
  image: adarnimrod/ci-images:docker
  stage: deploy
  when: manual
+1 −0
Original line number Diff line number Diff line
---
gitlab-release:
  stage: deploy
  tags: [ns4.shore.co.il]
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  script:
    - !!str true
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
pre-commit:
  stage: test
  image: adarnimrod/ci-images:pre-commit
  tags: [ns4.shore.co.il]
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
    # Disabled until https://github.com/pre-commit/pre-commit/issues/1387 is
+1 −0
Original line number Diff line number Diff line
---
build:
  stage: build
  tags: [ns4.shore.co.il]
  image:
    name: adarnimrod/presentation
    entrypoint: [""]
Loading