Skip to content
Snippets Groups Projects
Commit d2a4c9fa authored by derrabauke's avatar derrabauke
Browse files

restore old gitlab CI config

parent 756f4da7
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ test_client:
- cd app/client
- npm install
- npm run test
when: manual
when: always
test_server:
stage: test
......@@ -35,7 +35,7 @@ test_server:
- cd app/server
- npm install
- npm run test
when: manual
when: always
build_client:
stage: build
......@@ -81,17 +81,16 @@ build_server:
- docker push $SERVER_IMAGE_TAG
- docker push $SERVER_RELEASE_IMAGE_TAG
clean_docker_registry:
stage: build
tags:
- docker-privileged
when: always
image: docker:19.03.12
services:
- docker:19.03.12-dind
before_script:
- docker login -u $GPT_REGISTRY_USER -p $GDT_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker image ls -a
- docker image prune
- docker registry ls
# clean_docker_registry:
# stage: build
# tags:
# - docker-privileged
# when: always
# image: docker:19.03.12
# services:
# - docker:19.03.12-dind
# before_script:
# - docker login -u $GPT_REGISTRY_USER -p $GDT_REGISTRY_PASSWORD $CI_REGISTRY
# script:
# - docker image ls -a
# - docker image prune
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment