Loading .gitlab-ci.yml +7 −2 Original line number Diff line number Diff line Loading @@ -8,12 +8,16 @@ stages: - build variables: DOCKER_IMAGE: "all" Build api-tests docker image: stage: build before_script: cd api-tests script: docker build --tag api-tests-validation:latest -f Dockerfile . rules: - changes: - if: $DOCKER_IMAGE == "api-tests-validation" || $DOCKER_IMAGE == "all" changes: - api-tests/Dockerfile - api-tests/scripts/* - api-tests/extensions/* Loading @@ -24,6 +28,7 @@ Build OpenAPI validator docker image: before_script: cd common script: docker build -t openapivalidator . #docker build --build-arg http_proxy=$proxy --build-arg https_proxy=$proxy -t openapivalidator . rules: - changes: - if: $DOCKER_IMAGE == "openapivalidator" || $DOCKER_IMAGE == "all" changes: - common/Dockerfile - common/scripts/* Loading
.gitlab-ci.yml +7 −2 Original line number Diff line number Diff line Loading @@ -8,12 +8,16 @@ stages: - build variables: DOCKER_IMAGE: "all" Build api-tests docker image: stage: build before_script: cd api-tests script: docker build --tag api-tests-validation:latest -f Dockerfile . rules: - changes: - if: $DOCKER_IMAGE == "api-tests-validation" || $DOCKER_IMAGE == "all" changes: - api-tests/Dockerfile - api-tests/scripts/* - api-tests/extensions/* Loading @@ -24,6 +28,7 @@ Build OpenAPI validator docker image: before_script: cd common script: docker build -t openapivalidator . #docker build --build-arg http_proxy=$proxy --build-arg https_proxy=$proxy -t openapivalidator . rules: - changes: - if: $DOCKER_IMAGE == "openapivalidator" || $DOCKER_IMAGE == "all" changes: - common/Dockerfile - common/scripts/*