Refactor cic pipeline.

This commit is contained in:
Spencer Ofwiti 2020-11-25 19:53:41 +03:00
parent 259b06f87d
commit 3f22b1ab11

View File

@ -47,7 +47,7 @@ build:
test:karma: test:karma:
stage: test stage: test
image: trion/ng-cli-karma:$(CLI_VERSION) image: trion/ng-cli-karma
allow_failure: false allow_failure: false
tags: tags:
- docker - docker
@ -60,7 +60,7 @@ test:karma:
test:e2e: test:e2e:
stage: test stage: test
image: trion/ng-cli-e2e:$(CLI_VERSION) image: trion/ng-cli-e2e
allow_failure: false allow_failure: false
tags: tags:
- docker - docker
@ -69,7 +69,7 @@ test:e2e:
test:nglint: test:nglint:
stage: test stage: test
image: trion/ng-cli:$(CLI_VERSION) image: trion/ng-cli
tags: tags:
- docker - docker
script: script:
@ -88,7 +88,7 @@ build_app:
- cp $PROJECT_PATH/Dockerfile $APP_OUTPUT_PATH - cp $PROJECT_PATH/Dockerfile $APP_OUTPUT_PATH
artifacts: artifacts:
name: "cic-staff-client-pipeline" name: "cic-staff-client-pipeline"
expire_in: 30 days expire_in: 1 days
paths: paths:
- $APP_OUTPUT_PATH - $APP_OUTPUT_PATH
cache: cache: