Merge branch 'nora/ci' into 'main'

Do not run the hardware tests on forks.

See merge request openpgp-card/openpgp-card!10
This commit is contained in:
Heiko 2022-10-24 12:32:02 +00:00
commit 86c3be6c8b

View file

@ -198,6 +198,9 @@ hardware-builddeps:
- docker push $IMAGE_SHA - docker push $IMAGE_SHA
- docker push $IMAGE_LATEST - docker push $IMAGE_LATEST
only: only:
variables:
# Forks of this project do not have access to cookiejar's hardware tokens
- $CI_PROJECT_NAMESPACE == "openpgp-card"
changes: changes:
- card-functionality/docker/Dockerfile.hardware-builddeps - card-functionality/docker/Dockerfile.hardware-builddeps
- .gitlab-ci.yml - .gitlab-ci.yml
@ -209,6 +212,10 @@ hardware-builddeps:
.hw-test-template: .hw-test-template:
image: registry.gitlab.com/openpgp-card/openpgp-card/hardware-builddeps image: registry.gitlab.com/openpgp-card/openpgp-card/hardware-builddeps
only:
variables:
# Forks of this project do not have access to cookiejar's hardware tokens
- $CI_PROJECT_NAMESPACE == "openpgp-card"
tags: tags:
- card - card
parallel: parallel: