From 34806e43a1d72b05071b47ee1964136e83e899b4 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Fri, 15 Apr 2022 15:13:00 -0400 Subject: [PATCH] Revert to proper container images --- .gitlab-ci.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f54750a..6f9b2ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ stages: - build - test -build: +buiild job: stage: build image: python:3-buster script: @@ -14,20 +14,10 @@ build: - pip3 install --upgrade setuptools - pip3 install Flask gunicorn pytest pytest-cov - pip3 install pendulum - - echo "DOCKER_IMAGE_NAME_TAG_WITH_DIGEST=${DOCKER_IMAGE_TAG_REF}@$(cat /digest-file)" > out.env - - cat out.env - artifacts: - reports: - dotenv: out.env - - -test: +test job: stage: test - needs: [build] - image: ${DOCKER_IMAGE_NAME_TAG_WITH_DIGEST} - before_script: - - echo "${DOCKER_IMAGE_NAME_TAG_WITH_DIGEST}" + image: python:3-buster script: - export PYTHONPATH=. - export FLASK_APP=period @@ -41,4 +31,4 @@ test: artifacts: when: always reports: - junit: report.xml \ No newline at end of file + junit: report.xml