Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-chat-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
app
holi-chat-server
Commits
a35fb591
Commit
a35fb591
authored
7 months ago
by
Dima Rosmait
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' into production
parents
2a60bdcb
64ca60de
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-4
6 additions, 4 deletions
.gitlab-ci.yml
with
6 additions
and
4 deletions
.gitlab-ci.yml
+
6
−
4
View file @
a35fb591
...
@@ -9,16 +9,18 @@ stages:
...
@@ -9,16 +9,18 @@ stages:
default
:
default
:
before_script
:
before_script
:
-
set -eux
-
set -eux
-
env
# env -0 | sort -z | tr '\0' '\n': Sort env output alphabetically, keeping multiline variables intact
# egrep: Remove sensitive information from the output of env
-
env -0 | sort -z | tr '\0' '\n' | egrep -ve '^(DOCKER_AUTH_CONFIG|GOOGLE_APPLICATION_CREDENTIALS)=.*'
interruptible
:
true
interruptible
:
true
tags
:
tags
:
-
1cpu-4gb
# build on smaller machine
-
1cpu-4gb
# build on smaller machine
build_docker
:
build_docker
:
image
:
'
europe-north1-docker.pkg.dev/holi-shared/docker-hub-remote/docker:2
0.10
'
image
:
'
europe-north1-docker.pkg.dev/holi-shared/docker-hub-remote/docker:2
7
'
stage
:
"
build"
stage
:
"
build"
services
:
services
:
-
docker:2
0.10
-dind
-
'
docker:2
7
-dind
'
variables
:
variables
:
# this could be fetched via terraform output ("gcr_location" in infra project), but then we would need an extra job for terraform
# this could be fetched via terraform output ("gcr_location" in infra project), but then we would need an extra job for terraform
ARTIFACT_IMAGE
:
'
europe-north1-docker.pkg.dev/holi-shared/docker/holi-chat-server'
ARTIFACT_IMAGE
:
'
europe-north1-docker.pkg.dev/holi-shared/docker/holi-chat-server'
...
@@ -38,7 +40,7 @@ build_docker:
...
@@ -38,7 +40,7 @@ build_docker:
.deploy
:
.deploy
:
stage
:
"
deploy"
stage
:
"
deploy"
image
:
image
:
name
:
'
europe-north1-docker.pkg.dev/holi-shared/docker-hub-remote/hashicorp/terraform:1.6.
1
'
name
:
'
europe-north1-docker.pkg.dev/holi-shared/docker-hub-remote/hashicorp/terraform:1.6.
6
'
# default entrypoint is terraform command, but we want to run shell scripts
# default entrypoint is terraform command, but we want to run shell scripts
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
variables
:
variables
:
...
...
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