Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
self_data_technical_doc
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
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
self_data_technical_doc
Commits
8de1b366
Commit
8de1b366
authored
2 years ago
by
Bastien DUMONT
Browse files
Options
Downloads
Patches
Plain Diff
Update deploy.md
parent
efa05655
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#44771
passed
2 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/ecolyo/application/deploy.md
+11
-7
11 additions, 7 deletions
docs/ecolyo/application/deploy.md
with
11 additions
and
7 deletions
docs/ecolyo/application/deploy.md
+
11
−
7
View file @
8de1b366
...
@@ -44,15 +44,15 @@ In order to prevent manual action for deployment, a gitlab-runner has been confi
...
@@ -44,15 +44,15 @@ In order to prevent manual action for deployment, a gitlab-runner has been confi
## Deploy build-test branch to one Scaleway instance for testing
## Deploy build-test branch to one Scaleway instance for testing
You can directly use the content of build-test branch to update one instance for test purpose.
You can directly use the content of build-test branch to update one instance for test purpose.
Simply use the dedicated script
"
update_ecolyo_test.sh
<instance_name>
"
with the targeted instance (from the server).
Simply use the dedicated script
`
update_ecolyo_test.sh <instance_name>
`
with the targeted instance (from the server).
By default we use the ecolyotest instance for testing intermediate functionality.
By default we use the ecolyotest instance for testing intermediate functionality.
For more information you can check for
[
Easy Cozy scripts
](
../../../easycozy/
script
s/
)
.
For more information you can check for
[
Easy Cozy scripts
](
../../../easycozy/
command
s/
)
.
## Deploy build-dev branch to all Scaleway instances
## Deploy build-dev branch to all Scaleway instances
You can directly use the content of build-dev branch to update apps on dev environment using scripts (from the server).
You can directly use the content of build-dev branch to update apps on dev environment using scripts (from the server).
Simply use the dedicated script
"
update_all_ecolyo_dev.sh
"
(from the server).
Simply use the dedicated script
`
update_all_ecolyo_dev.sh
`
(from the server).
For more information you can check for
[
Easy Cozy scripts
](
../../../easycozy/
script
s/
)
.
For more information you can check for
[
Easy Cozy scripts
](
../../../easycozy/
command
s/
)
.
## Deploy build branch to Cozy
## Deploy build branch to Cozy
...
@@ -62,8 +62,12 @@ You can deploy content of build branch into Cozy registry by using the cozy-app-
...
@@ -62,8 +62,12 @@ You can deploy content of build branch into Cozy registry by using the cozy-app-
-
$VERSION_NUMBER: version of the application
-
$VERSION_NUMBER: version of the application
-
$COZY_SPACE: space of the Cozy
-
$COZY_SPACE: space of the Cozy
```
```
sh
$ yarn cozy-app-publish --token $REGISTRY_TOKEN --build-url https://forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/-/archive/build/ecolyo-build.tar.gz --manual-version $VERSION_NUMBER --space $COZY_SPACE
$
yarn cozy-app-publish
\
--token
$REGISTRY_TOKEN
\
--build-url
https://forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/-/archive/build/ecolyo-build.tar.gz
\
--manual-version
$VERSION_NUMBER
\
--space
$COZY_SPACE
```
```
More information at
[
cozy-app-publish
/
](
https://docs.cozy.io/en/cozy-app-publish
/
)
More information at
[
cozy-app-publish
](
https://docs.cozy.io/en/cozy-app-publish
)
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