Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoTestBackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Backend
DojoTestBackend
Commits
50ca9ade
Commit
50ca9ade
authored
1 year ago
by
michael.minelli
Browse files
Options
Downloads
Plain Diff
Merge branch 'rename_enonce_exercice' into API-v2.0.0
parents
21d4c6ea
68c45044
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
+10
-5
10 additions, 5 deletions
.gitlab-ci.yml
API
+1
-1
1 addition, 1 deletion
API
with
11 additions
and
6 deletions
.gitlab-ci.yml
+
10
−
5
View file @
50ca9ade
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
GIT_SUBMODULE_FORCE_HTTPS
:
"
true"
SECURE_FILES_DOWNLOAD_PATH
:
'
./'
stages
:
stages
:
-
deploy
-
deploy
...
@@ -6,15 +11,15 @@ deploy:
...
@@ -6,15 +11,15 @@ deploy:
stage
:
deploy
stage
:
deploy
tags
:
tags
:
-
dojo_backend_deployment
-
dojo_backend_deployment
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
GIT_SUBMODULE_FORCE_HTTPS
:
"
true"
SECURE_FILES_DOWNLOAD_PATH
:
'
./'
script
:
script
:
-
apk update
-
apk add jq
-
>
VERSION=$(jq -r .version API/package.json)
# Download secure files
# Download secure files
-
curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
-
curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
# Prepare environment
# Prepare environment
-
mv env .env
-
mv env
_$VERSION
.env
-
cp .env API/.env
-
cp .env API/.env
# Deploy
# Deploy
-
./infra --run
-
./infra --run
...
...
This diff is collapsed.
Click to expand it.
API
@
fc95c7c0
Compare
390c277c
...
fc95c7c0
Subproject commit
390c277c4a283e4b202aed09becd3fb5e378e819
Subproject commit
fc95c7c0f0df6f8db3a69a928ae3952a9edfde8e
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