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
eb6b7b13
Commit
eb6b7b13
authored
4 years ago
by
derrabauke
Browse files
Options
Downloads
Patches
Plain Diff
up to container registry again!
parent
8507d4c9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-10
6 additions, 10 deletions
.gitlab-ci.yml
TODOS.md
+2
-2
2 additions, 2 deletions
TODOS.md
with
8 additions
and
12 deletions
.gitlab-ci.yml
+
6
−
10
View file @
eb6b7b13
...
@@ -48,12 +48,10 @@ build_client:
...
@@ -48,12 +48,10 @@ build_client:
services
:
services
:
-
docker:19.03.12-dind
-
docker:19.03.12-dind
before_script
:
before_script
:
-
echo $CI_REGISTRY
-
echo $CI_REGISTRY_USER
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
variables
:
variables
:
CLIENT_IMAGE_TAG
:
$CI_REGISTRY/devops-project/app
/
client
:
$CI_COMMIT_TAG
CLIENT_IMAGE_TAG
:
$CI_REGISTRY/devops-project/app
:
client$CI_COMMIT_TAG
CLIENT_RELEASE_IMAGE_TAG
:
$CI_REGISTRY/devops-project/app
/
client
:
latest
CLIENT_RELEASE_IMAGE_TAG
:
$CI_REGISTRY/devops-project/app
:
clientlatest
script
:
script
:
-
cd app/client
-
cd app/client
-
docker build -t $CLIENT_IMAGE_TAG .
-
docker build -t $CLIENT_IMAGE_TAG .
...
@@ -72,15 +70,13 @@ build_server:
...
@@ -72,15 +70,13 @@ build_server:
services
:
services
:
-
docker:19.03.12-dind
-
docker:19.03.12-dind
before_script
:
before_script
:
-
echo $CI_REGISTRY
-
echo $CI_REGISTRY_USER
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
variables
:
variables
:
SERVER_IMAGE_TAG
:
$CI_REGISTRY/devops-project/app
/
server
:
$CI_COMMIT_TAG
SERVER_IMAGE_TAG
:
$CI_REGISTRY
_IMAGE
/devops-project/app
:
server$CI_COMMIT_TAG
SERVER_RELEASE_IMAGE_TAG
:
$CI_REGISTRY/devops-project/app
/
server
:
latest
SERVER_RELEASE_IMAGE_TAG
:
$CI_REGISTRY/devops-project/app
:
serverlatest
script
:
script
:
-
cd app/server
-
cd app/server
-
docker build -t $SERVER_IMAGE_TAG .
-
docker build -t $SERVER_IMAGE_TAG .
-
docker tag $SERVER_IMAGE_TAG $SERVER_RELEASE_IMAGE_TAG
-
docker tag $SERVER_IMAGE_TAG $SERVER_RELEASE_IMAGE_TAG
-
docker
image
push $SERVER_IMAGE_TAG
-
docker push $SERVER_IMAGE_TAG
-
docker
image
push $SERVER_RELEASE_IMAGE_TAG
-
docker push $SERVER_RELEASE_IMAGE_TAG
This diff is collapsed.
Click to expand it.
TODOS.md
+
2
−
2
View file @
eb6b7b13
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
-
[x] client helm chart
-
[x] client helm chart
-
[ ] server/backend chart with mongodb dependency
-
[ ] server/backend chart with mongodb dependency
-
[x] backend image running
-
[x] backend image running
-
[
] mongodb pvc setup working
-
[
x
] mongodb pvc setup working
-
[
] connect backend
<->
mongodb
-
[
x
] connect backend
<->
mongodb
-
[ ] working replicaCount increase
-
[ ] working replicaCount increase
-
[ ] Document test setup in minikube for testing the helm charts?
-
[ ] Document test setup in minikube for testing the helm charts?
...
...
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