Skip to content
Snippets Groups Projects
Commit 25034016 authored by Mikhail Piatliou (EPAM)'s avatar Mikhail Piatliou (EPAM)
Browse files

Merge branch 'gc-fix-pipeline' into 'master'

GONRG-8946: fix rules for pipeline

See merge request !496
parents 4fc5859e 17b83b27
No related branches found
No related tags found
1 merge request!496GONRG-8946: fix rules for pipeline
Pipeline #231346 canceled
......@@ -173,15 +173,20 @@ download_plugins:
variables:
OSM_PACKAGE_REGISTRY_URL: "https://community.opengroup.org/api/v4/projects/1448/packages/maven"
OSM_VERSION: "0.25.0-rc2"
artifacts:
paths:
- ./tmp/*.jar
when: always
expire_in: 1 days
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
gemnasium-maven-dependency_scanning:
variables:
......
......@@ -22,11 +22,11 @@ gc-containerize-gitlab:core-plus:
when: on_success
gc-baremetal-test:
tags: [ "osdu-medium" ]
tags: ["osdu-medium"]
extends:
- .maven
stage: integration
needs: [ "compile-and-unit-test", "gc-containerize-gitlab:core-plus" ]
needs: ["compile-and-unit-test", "gc-containerize-gitlab:core-plus"]
retry: 1
services:
- name: postgres
......@@ -35,7 +35,7 @@ gc-baremetal-test:
- name: $CI_REGISTRY_IMAGE/partition-core-plus:$CI_COMMIT_SHORT_SHA
alias: partition-service-image
variables:
PARTITION_POSTGRESQL_DB_NAME: partition_db #Used from bootstrapping script
PARTITION_POSTGRESQL_DB_NAME: partition_db #Used from bootstrapping script
PARTITION_POSTGRESQL_USERNAME: usr_partition_pg #Used from bootstrapping script
PARTITION_POSTGRESQL_PASSWORD: partition_pg #Used from bootstrapping script
POSTGRESQL_PORT: 5432 #used from the docker script
......@@ -76,6 +76,10 @@ gc-baremetal-test:
- test-results.log
expire_in: 1 days
rules:
- if: "$CI_COMMIT_BRANCH =~ /^release/"
when: never
- if: "$CI_COMMIT_TAG"
when: never
- if: "$PROTECTED == '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