Skip to content
Snippets Groups Projects
Commit ca00e40b authored by Aliaksandr Ramanovich (EPAM)'s avatar Aliaksandr Ramanovich (EPAM)
Browse files

ci: change rules for core jobs

parent ef686584
No related branches found
No related tags found
1 merge request!580ci: change rules for core jobs
Pipeline #276815 canceled
......@@ -183,10 +183,6 @@ download_plugins:
script:
- mvn dependency:copy -DrepoUrl=$OSM_PACKAGE_REGISTRY_URL -Dartifact="org.opengroup.osdu:os-osm-postgres:$OSM_VERSION:jar:plugin" -Dtransitive=false -DoutputDirectory="./tmp"
rules:
- if: "$CI_COMMIT_BRANCH =~ /^release/"
when: never
- if: "$CI_COMMIT_TAG"
when: never
- if: "$PROTECTED == '1'"
when: on_success
......
......@@ -8,7 +8,6 @@ core-containerize-bootstrap-gitlab:
variables:
CORE_IMAGE_BOOTSTRAP_NAME: "core-plus-bootstrap-partition"
core-containerize-gitlab:
stage: containerize
needs: ["compile-and-unit-test", "download_plugins"]
......@@ -28,9 +27,9 @@ core-containerize-gitlab:
- docker push $CI_REGISTRY_IMAGE/$TEST_IMAGE
rules:
- if: "$CI_COMMIT_BRANCH =~ /^release/"
when: never
when: on_success
- if: "$CI_COMMIT_TAG"
when: never
when: on_success
- if: "$CORE == '1'"
when: on_success
......@@ -90,8 +89,8 @@ core-test:
expire_in: 1 days
rules:
- if: "$CI_COMMIT_BRANCH =~ /^release/"
when: never
when: on_success
- if: "$CI_COMMIT_TAG"
when: never
when: on_success
- if: "$CORE == '1'"
when: on_success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment