From 0a9efe85d2bd1d02a520c58004de5f35df0a6800 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 12 Jul 2023 13:00:46 +0200 Subject: [PATCH] Make minimal image ci --- .gitlab-ci.yml | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d7e372..2a9e07d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,44 +9,9 @@ before_script: - export IMAGE_DOCKERHUB_PASSWORD=$DOCKERHUB_PASSWORD stages: - - lint&test - - upload - image -lint: - stage: lint&test - script: - - pyb lint - -pytest: - stage: lint&test - script: - - pip install -r dev_requirements.txt - - pyb test - -pypi-stable: - stage: upload - rules: - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - when: never - - if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/' - script: - - pyb -P version=$CI_COMMIT_TAG publish upload - -clojure-image-test-publish: - stage: image - rules: - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - when: never - - if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/' - script: - - cd infrastructure/clojure && pyb image test publish - devops-build-image-test-publish: stage: image - rules: - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - when: never - - if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/' script: - - cd infrastructure/devops-build && pyb image test publish + - cd infrastructure/devops-build && pyb image