gitlab: fix deps for 'codestyle' job

The container jobs only exist if there was a dockerfile change in the
pipeline, so the dep from the 'codestyle' job needs to be marked as
optional

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2022-08-22 17:06:29 +01:00
parent a49395a100
commit 17a6ed6907

View File

@ -72,7 +72,8 @@ codestyle:
stage: sanity_checks
image: $CI_REGISTRY_IMAGE/ci-centos-stream-8:latest
needs:
- x86_64-centos-stream-8-container
- job: x86_64-centos-stream-8-container
optional: true
before_script:
- *script_variables
script: