rcstack self-update¶
Update rcstack and it’s docker definitions
Usage¶
rcstack self-update [OPTIONS]
Examples¶
# simply to update it to a new version
- ./rccstack self-update
# to fetch dev branch and install it
- ./rccstack self-update --cli-revision=master --docker-revision=master
# In case rcstack breaks, you can re-download the stack script using curl
curl -L -s -o rcstack https://dls.rhodecode.com/get/stable && chmod +x rcstack
Dependencies¶
curl¶
tar¶
Options¶
–force¶
Ignore same-version skip check. Runs same logic as there would be new version available
–update-docker-image UPDATE_DOCKER_IMAGE¶
answer [y]es or [n]o to question to set docker image from installer stored version.
–cli-file CLI_FILE¶
file path to fetch new rcstack cli tool.
Attributes |
|
---|---|
Conflicts With: |
–cli-revision, –offline |
–cli-revision CLI_REVISION¶
commit or branch to fetch new rcstack cli tool.
Attributes |
|
---|---|
Default Value: |
stable |
Conflicts With: |
–cli-file |
–docker-revision DOCKER_REVISION¶
commit or branch to fetch new docker definitions.
Attributes |
|
---|---|
Default Value: |
stable |
–server-url SERVER_URL¶
Specify RhodeCode server location where the rcstack archive should be downloaded from
Attributes |
|
---|---|
Default Value: |
https://dls.rhodecode.com/get_archive |
–auth-token AUTH_TOKEN¶
Optionally specify AUTH TOKEN to obtain sources