Skip to content
Snippets Groups Projects
Verified Commit 368ab815 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files
parents 766aa3c0 9699c19c
No related branches found
No related tags found
No related merge requests found
Pipeline #8562 failed
......@@ -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.12-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