Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Self-Healing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PIACERE
public
The Platform
Self-Healing
Commits
b8607ce4
Commit
b8607ce4
authored
2 years ago
by
Benguria Elguezabal, Gorka
Browse files
Options
Downloads
Patches
Plain Diff
y1 baseline
parent
6f1ec845
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-87
0 additions, 87 deletions
.gitlab-ci.yml
with
0 additions
and
87 deletions
.gitlab-ci.yml
deleted
100644 → 0
+
0
−
87
View file @
6f1ec845
stages
:
-
build
-
deploy
-
stop
# - debug
variables
:
GIT_SUBMODULE_STRATEGY
:
normal
.common_variables
:
variables
:
TZ
:
Madrid
SERVER_HOST
:
sh.piacere.esilab.org
HTTPS_PORT
:
8445
SMTP_USER_EMAIL
:
piacere@esilab.org
PROJECT_NAME
:
piacere-sh
GIT_SUBMODULES
:
init
COMPOSE_FILE
:
"
docker-compose.yaml:docker-compose-dev.yaml:docker-compose-traefik-tecnalia-selfsigned.yaml:docker-compose-expose.yaml"
.main
:
extends
:
-
.common_variables
variables
:
# these variables take precedence over .env
# CERTIFICATE_SIGNING_KEY_PASSPHRASE and ADMIN_PASSWORD defined in variables at settings/ci_cd
COMPOSE_PROJECT_NAME
:
piacere-sh
COMPOSE_PROJECT_VERSION
:
main
ADD_DEFAULT_CA
:
"
true"
only
:
-
main
tags
:
-
docker
-
docker-compose
-
integration
-
piacere-sh
-
shell
.build
:
script
:
-
echo "build images"
-
docker-compose build --parallel
.deploy
:
script
:
-
echo "Deploy to the environment"
-
docker-compose up -d --remove-orphans
.stop
:
variables
:
GIT_STRATEGY
:
none
script
:
-
echo "Stops the environment"
-
docker-compose down --remove-orphans
build_main
:
stage
:
build
extends
:
-
.main
-
.build
deploy_main
:
stage
:
deploy
extends
:
-
.main
-
.deploy
environment
:
name
:
main
url
:
https://$SERVER_HOST:$HTTPS_PORT
on_stop
:
stop_main
stop_main
:
stage
:
stop
extends
:
-
.main
-
.stop
environment
:
name
:
main
action
:
stop
when
:
manual
# job-docker-compose-config:
# stage: debug
# extends:
# - .main
# when: manual
# script:
# - docker-compose config
\ No newline at end of file
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