Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
mediaserver
envsetup
Commits
06fe865d
Commit
06fe865d
authored
4 years ago
by
Florent Thiery
Browse files
Options
Downloads
Patches
Plain Diff
checkout ENVSETUP_BRANCH env var branch, refs
#32113
parent
a2115eec
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
doc/deploy.md
+7
-0
7 additions, 0 deletions
doc/deploy.md
roles/conf/defaults/main.yml
+1
-1
1 addition, 1 deletion
roles/conf/defaults/main.yml
with
8 additions
and
1 deletion
doc/deploy.md
+
7
−
0
View file @
06fe865d
...
@@ -103,6 +103,13 @@ cp -v inventories/offline-mediaserver/host_vars/localhost{.dist,}.yml
...
@@ -103,6 +103,13 @@ cp -v inventories/offline-mediaserver/host_vars/localhost{.dist,}.yml
./playbooks/mediaserver.yml
-i
inventories/offline-mediaserver/
./playbooks/mediaserver.yml
-i
inventories/offline-mediaserver/
```
```
## Working on a specific branch
Envsetup will always checkout to stable before working; you can prevent that with:
```
ENVSETUP_BRANCH=mycustombranch make deploy i=inventories/local-mediaimport -l=mediaimport
```
## Known issues
## Known issues
-
Proxy
-
Proxy
...
...
This diff is collapsed.
Click to expand it.
roles/conf/defaults/main.yml
+
1
−
1
View file @
06fe865d
...
@@ -7,7 +7,7 @@ conf_req_packages:
...
@@ -7,7 +7,7 @@ conf_req_packages:
-
openssh-client
-
openssh-client
conf_repo_url
:
https://mirismanager.ubicast.eu/git/mediaserver/envsetup.git
conf_repo_url
:
https://mirismanager.ubicast.eu/git/mediaserver/envsetup.git
conf_repo_version
:
stable
conf_repo_version
:
"
{{
lookup('env',
'ENVSETUP_BRANCH')
|
d(
stable
)
}}"
conf_repo_dest
:
/root/envsetup
conf_repo_dest
:
/root/envsetup
conf_host
:
"
{{
skyreach_host
|
default('mirismanager.ubicast.eu',
true)
}}"
conf_host
:
"
{{
skyreach_host
|
default('mirismanager.ubicast.eu',
true)
}}"
...
...
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