Skip to content
Snippets Groups Projects
Commit 06fe865d authored by Florent Thiery's avatar Florent Thiery
Browse files

checkout ENVSETUP_BRANCH env var branch, refs #32113

parent a2115eec
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
...@@ -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) }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment