| changeset | c6fcc8ba478a |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: log arguments passed to docker start script to stdout. When trying to get this working under kubernetes the logs weren't reporting the arguments passed to the script. |
| files |
| changeset | 36c3acb4b49b |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | feat: add help argument for docker image Brief help is reported when help argument is given to the docker container. |
| files |
| changeset | ccb5169ee6ee |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: do not quote nuke arg Quoting the nuke arg when nuke was missing resulted in an empty trailing argument passed to roundup-demo that was interpreted as a position argument to set the database type. $nuke is exactly the word nuke so no need to quote it as though it could contain multiple space separated tokens. |
| files |
| changeset | 095f379bf639 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: do not use -a as argument to test Apparently now well defined. Suggest using if [ ... ] && [ ... ]; then rather than if [ ... -a ... ]; then with complex ... expressions. Courtesy of https://www.shellcheck.net/ |
| files |
| changeset | c7788bdd3760 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: use [ -n ... ] rather than ! [ -z ...] Style fix. Courtesy of https://www.shellcheck.net/ |
| files |
| changeset | 678d235f024d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: use POSIX supported test a = b rather than a == b. Courtesy of https://www.shellcheck.net/ |
| files |
| changeset | b3c3e508b18f |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: move POSIX unsupported items outside of set -e If the non-poisx fail under a POSIX shell, allow the script to still run but with the errors. So all non-POSIX supported stuff goes before set -e. Courtesy of https://www.shellcheck.net/ |
| files |
| changeset | b8aef93178db |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: quote variable substitution To prevent issues with spaces in the variable. The var should be a single word but it pays to be careful. Courtesy of https://www.shellcheck.net/ |
| files |
| changeset | 08e87030f3a2 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: use read -r to remove \ special meaning Courtesy of https://www.shellcheck.net/ |
| files |
| changeset | cf5d37182dc9 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: use variable template sub for printf. Don't use $1 inside printf string. Courtesy of https://www.shellcheck.net/ |
| files |
| changeset | b31343f16153 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: roundup_start script exited for 2.3.0 roundup. I added 'set -eo pipefail' and must have missed a test case that caused demo mode to exit. Fix this. |
| files |
| changeset | 0f6b7a70bc43 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: update comments force exit on pipefail |
| files |
| changeset | e7df82ae137d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Cleanup docker before 2.3.0b1 release scripts/Docker/Dockerfile Document/implement pip_sdist source mode for testing the source distribution. Change from multiple if's to case statement. Disable verbose tracing of shells script. Use --build-arg="VERBOSE=1" to enable set -xv. scripts/Docker/roundup_start Report error if demo mode is used with 2.2.0. This catches the easiest case where build is done using pypi before 2.3.0 final is released. Indent demo mode PORT_8080 doc block so it's not lost in a wall of text. doc/installation.txt Document all source --build-args including how to build from pypi using a version specifier. Break out other uses of --build-arg into code blocks. Reference docker compose section rather than referencing docker-compose.yml. Clarify docker hub tagging for devel releases. Minor formatting fixes. |
| files |
| changeset | 7b9bddda9d2d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Add support for demo mode in docker. roundup/demo.py Make changes to allow exposed port in docker to be specified separately from the port that demo mode binds to. Also permit bind address specification as well. roundup/scripts/roundup_demo.py: Update required by changes in demo.py. Also move away from positional arguments to prefer flag arguments. Required for passing port and host specification. Flake8 fixes. share/man/man1/roundup-demo.1 Document use of option flags rather than positional params. Other cleanups. doc/installation.txt: Document new docker modes: demo, shell and admin. Update docs: overview section - reorg, added template info for the impatient section - added docker demo mode reference, more docs on top level demo.py use. new section on docker demo mode removed getting roundup section. folded into installing roundup. also prior for the impatient section describes how to download. install via pip in venv recommended supported method document all provided templates. not just minimal and classic. added index references. move sections around, decreased sectin depth, reformatting scripts/Docker/roundup_healthcheck: When running roundup-demo, there is no tracker spec. So default to demo if no tracker=directory args found. Prevent's docker from reporting an unhealthy container when running demo. scripts/Docker/roundup_start: implement demo, shell, admin docker modes. |
| files |
| changeset | b5fb268b7f04 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Docker installation doc improved and switchable debugging Using a Docker container, login was failing with no error or ok message. After a lengthy debugging session on irc with alxjsn assisted by taggnostr realised it was the web setting in config.ini. Install doc for docker now mentions that the web setting must end in /issues/. SHELL_DEBUG environment variable enabled set -xv in startp script.a |
| files |
| changeset | 34cbd0e633d2 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Added FastCGI deployment info, updated Docker docs; docker-compose added This moves the Docker files to the subdirectory scripts/Docker. Attempted to provide a slightly guided install of a tracker using the roundup_start script It include the docker-compose.yml file donated by Norbert Schlemmer. Hopefully I didn't break it when modifying it for it's new home. |
| files |