Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
todo-application
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
devops-project
todo-application
Commits
d2a4c9fa
Commit
d2a4c9fa
authored
4 years ago
by
derrabauke
Browse files
Options
Downloads
Patches
Plain Diff
restore old gitlab CI config
parent
756f4da7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-16
15 additions, 16 deletions
.gitlab-ci.yml
with
15 additions
and
16 deletions
.gitlab-ci.yml
+
15
−
16
View file @
d2a4c9fa
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment