Skip to content
Snippets Groups Projects
Verified Commit 427695ad authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

change only: changes to rules: changes hoping that makes them work again

parent d34e17db
No related branches found
No related tags found
1 merge request!84Resolve "Run login app with Gunicorn"
Pipeline #11102 failed with stages
in 1 minute and 10 seconds
This commit is part of merge request !84. Comments created here will be created in the context of that merge request.
......@@ -52,10 +52,10 @@ login:
KANIKO_BUILD_IMAGENAME: $CI_JOB_NAME
before_script:
- ls -l ${CI_PROJECT_DIR}/${KANIKO_CONTEXT:-.}/Dockerfile
only:
changes:
- login/**/*
- login/*
rules:
- changes:
- login/**/*
- login/*
# For full integration testing we need to build the full stack in CI/CD
......@@ -79,9 +79,9 @@ postgres:
KANIKO_CONTEXT: ".gitlab/ci/postgres"
KANIKO_BUILD_IMAGENAME: $CI_JOB_NAME
extends: .kaniko_build
only:
changes:
- .gitlab/ci/postgres/**/*
rules:
- changes:
- .gitlab/ci/postgres/**/*
# Build our own kratos image, which is based on upstream
......@@ -92,9 +92,9 @@ kratos:
KANIKO_CONTEXT: ".gitlab/ci/kratos"
KANIKO_BUILD_IMAGENAME: $CI_JOB_NAME
extends: .kaniko_build
only:
changes:
- .gitlab/ci/kratos/**/*
rules:
- changes:
- .gitlab/ci/kratos/**/*
# Build our own hydra image, which is based on upstream
hydra:
......@@ -104,9 +104,9 @@ hydra:
KANIKO_CONTEXT: ".gitlab/ci/hydra"
KANIKO_BUILD_IMAGENAME: $CI_JOB_NAME
extends: .kaniko_build
only:
changes:
- .gitlab/ci/hydra/**/*
rules:
- changes:
- .gitlab/ci/hydra/**/*
# A Fake SSO app to test the behaviour
sso_testapp:
......@@ -115,9 +115,9 @@ sso_testapp:
KANIKO_CONTEXT: "test/sso_testapp/"
KANIKO_BUILD_IMAGENAME: $CI_JOB_NAME
extends: .kaniko_build
only:
changes:
- test/sso_testapp/**/*
rules:
- changes:
- test/sso_testapp/**/*
# Image to test behaviour (web)
behave:
......@@ -126,9 +126,9 @@ behave:
KANIKO_CONTEXT: "test/behave"
KANIKO_BUILD_IMAGENAME: $CI_JOB_NAME
extends: .kaniko_build
only:
changes:
- test/behave/*
rules:
- changes:
- test/behave/*
behave-integration:
stage: integration-test
......@@ -214,11 +214,11 @@ behave-integration:
- test/integration_tests/test/behave/screenshots/
expire_in: 1 month
when: on_failure
only:
changes:
- .gitlab/ci/**/*
- login/**/*
- login/*
rules:
- changes:
- .gitlab/ci/**/*
- login/**/*
- login/*
pylint:
stage: build
......@@ -226,11 +226,11 @@ pylint:
KANIKO_CONTEXT: "test/lint/pylint"
KANIKO_BUILD_IMAGENAME: $CI_JOB_NAME
extends: .kaniko_build
only:
changes:
- test/lint/pylint/Dockerfile
- test/lint/pylint/requirements.txt
- .gitlab-ci.yml
rules:
- changes:
- test/lint/pylint/Dockerfile
- test/lint/pylint/requirements.txt
- .gitlab-ci.yml
pylint-lint:
stage: lint
......@@ -243,10 +243,10 @@ pylint-lint:
# Run darker with --diff command. This will throw exit code 1 if there are
# lint errors, but a 0 if there are only formatting recommendations
- darker -i -L pylint --diff --revision remotes/origin/main .
only:
changes:
- test/lint/pylint/Dockerfile
- test/lint/pylint/requirements.txt
- .gitlab-ci.yml
- login/**/*
- login/*
rules:
- changes:
- test/lint/pylint/Dockerfile
- test/lint/pylint/requirements.txt
- .gitlab-ci.yml
- login/**/*
- login/*
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