Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects

adding resource group.

Merged Diego MENDEZ requested to merge bugfix/ci_job_collision into develop
Compare and Show latest version
1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
+ 9
1
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "parent_pipeline"
.test-core: &test-core
@@ -11,8 +10,15 @@ workflow:
TEST_HOST: localhost
TEST_PORT: 8000
.manual-run-not-allowed: &manual-run-not-allowed
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
when: never
- when: on_success
up-test-env-job:
<<: *test-core
<<: *manual-run-not-allowed
before_script:
# check that no other unrelated Netbox is up on destination port.
- if [[ $(curl -f -s http://${TEST_HOST}:${TEST_PORT}/metrics |wc -l) != 0 ]];
@@ -38,6 +44,7 @@ up-test-env-job:
run-test-job:
<<: *test-core
<<: *manual-run-not-allowed
before_script:
# - pwd && ls && echo "$CI_PROJECT_DIR--1" && echo "${PARENT_PROJECT_DIR}--2" && echo "$CI_PROJECT_DIR--3"
# && echo "$$PARENT_PROJECT_DIR--4" && echo "$$PROJ_DIR--5" && echo "$$CI_PROJECT_DIR--6"
@@ -67,6 +74,7 @@ run-test-job:
run-robot-test-job:
<<: *test-core
<<: *manual-run-not-allowed
before_script:
- python3 -m venv "$CI_PROJECT_DIR/plugins/venv"
- source "$CI_PROJECT_DIR/plugins/venv/bin/activate"
Loading