Skip to content
Snippets Groups Projects
Unverified Commit 862a551e authored by David (Jointech)'s avatar David (Jointech) Committed by David (Jointech)
Browse files

ci: trigger aura-tests pipeline after building the image

parent 9c5e3f0f
No related branches found
No related tags found
1 merge request!46ci: trigger aura-tests pipeline after building the image
Pipeline #8547 passed
This commit is part of merge request !46. Comments created here will be created in the context of that merge request.
......@@ -4,7 +4,6 @@ stages:
- build
- deploy
- release
.release_rules: &release_rules
# rule to run job on a tag-reference which has the form number.number.number (semantic versioning)
# or number.number.number-text (semantic versioning + release-name)
......@@ -12,7 +11,6 @@ stages:
- if: $CI_COMMIT_TAG =~ /^\d+[.]\d+[.]\d+$/ || $CI_COMMIT_TAG =~ /^\d+[.]\d+[.]\d+[-]\S+$/
exists:
- Dockerfile
build-openapi-scheme:
stage: build
image: python:3.11-slim
......@@ -32,7 +30,6 @@ build-openapi-scheme:
artifacts:
paths:
- $OPENAPI_JSON
check-style:
stage: check
image: python:3.11-slim
......@@ -45,7 +42,6 @@ check-style:
- poetry run flake8 program steering
- poetry run isort --check program steering
- poetry run black --check --quiet program steering
run_test_cases:
stage: test
image: python:3.11-slim
......@@ -65,7 +61,6 @@ run_test_cases:
coverage_report:
coverage_format: cobertura
path: coverage.xml
deploy_spec:
stage: deploy
image: node:20-alpine
......@@ -90,8 +85,6 @@ deploy_spec:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: always
docker-push:
# Use the official docker image.
image: docker:latest
......@@ -132,7 +125,15 @@ docker-push:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^feat/
exists:
- Dockerfile
trigger_aura_tests:
stage: release
needs: [docker-push]
trigger:
project: aura/aura-tests
branch: main
strategy: depend
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
release_job:
stage: release
needs:
......
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