Skip to content

Releases: kudulab/dojo

0.13.0

05 Feb 10:54
Compare
Choose a tag to compare
  • Support multiple levels of log output produced by Dojo: silent, error, warn, info, debug
  • Preserve log output setting into the docker containers too, to configure how much output is visible from the dojo image scripts. (You'll need to rebuild your images for this to take effect)

Log level setup example

Since this release, you now have more control over how much output you see. Default behaviour, using INFO log level:

$ ./bin/dojo --log-level=info  -c Dojofile.build 
2024/02/05 23:57:08 [ 1]  INFO: (main.main) Dojo version 0.13.0
2024/02/05 23:57:08 [17]  INFO: (main.DockerDriver.HandleRun) docker command will be:
 docker run --rm -v /encrypted/ssd/code/dojo:/dojo/work -v /home/ewa:/dojo/identity:ro -v /tmp/dojo-environment-multiline-dojo-dojo-2024-02-0523-57-08-9143870684282127602:/etc/dojo.d/variables/00-multiline-vars.sh -v /tmp/dojo-environment-bash-functions-dojo-dojo-2024-02-0523-57-08-9143870684282127602:/etc/dojo.d/variables/01-bash-functions.sh --env-file=/tmp/dojo-environment-dojo-dojo-2024-02-0523-57-08-9143870684282127602 -v /tmp/.X11-unix:/tmp/.X11-unix --security-opt seccomp:unconfined -ti --name=dojo-dojo-2024-02-0523-57-08-9143870684282127602 kudulab/golang-dojo:892ba15188ba0753d0050f293faa74b364c8beb8
05-02-2024 10:57:08 Dojo entrypoint info: Sourcing: /etc/dojo.d/variables/00-multiline-vars.sh
05-02-2024 10:57:08 Dojo entrypoint info: Sourcing: /etc/dojo.d/variables/01-bash-functions.sh
05-02-2024 10:57:08 Dojo entrypoint info: Sourcing: /etc/dojo.d/variables/50-variables.sh
05-02-2024 10:57:08 Dojo entrypoint info: Running: /etc/dojo.d/scripts/01-fail-fast.sh
05-02-2024 10:57:08 Dojo entrypoint info: Running: /etc/dojo.d/scripts/20-setup-identity.sh
05-02-2024 10:57:09 Dojo entrypoint info: Running: /etc/dojo.d/scripts/50-fix-uid-gid.sh
05-02-2024 10:57:09 Dojo 50-fix-uid-gid info: olduid == newuid == 1000, nothing to do
05-02-2024 10:57:09 Dojo entrypoint info: Running: /etc/dojo.d/scripts/90-run-user.sh
05-02-2024 10:57:09 Dojo entrypoint info: dojo init finished (interactive shell)
[05-02-2024 10:57:09]0 dojo@e5bb90386fb8(golang-dojo):/dojo/work$ exit
exit

and new behaviour, using ERROR log level:

$ ./bin/dojo --log-level=error  -c Dojofile.build 
[05-02-2024 10:57:09]0 dojo@feeba8efadb4(golang-dojo):/dojo/work$ exit
exit

0.12.1

04 Feb 11:48
Compare
Choose a tag to compare
  • Fix #37 - support the case when the current directory contains special characters

0.12.0

04 Feb 11:09
Compare
Choose a tag to compare
  • Compile Dojo using Golang 1.21.6 thanks to using Docker image kudulab/golang-dojo:2.1.0
  • Improve support for Docker-compose >2.
  • New versions of Docker-compose (e.g. 2.24.5) have different output of the docker-compose ps command (than the old versions of Docker-compose, e.g. 1.23.2). This was affecting Dojo as in Dojo was not aware that the containers were already created and running. This, in turn, was affecting the logging collection (the --print-logs options).
  • Also, the default docker containers in Docker-compose >2 contain this string -default- (with dashes), while the older versions of Docker-compose contained this string _default_ (with underscores)
  • Fix #35 - support the case when the current directory contains upper case letters and Docker-Compose >2 is run

0.11.0

27 Feb 18:06
10fc0fd
Compare
Choose a tag to compare
  • Compile Dojo using Golang 1.17.7 thanks to using Docker image kudulab/golang-dojo:2.0.0

0.10.5

20 Feb 10:46
Compare
Choose a tag to compare
  • Update a log message in entrypoint about sourcing the scripts

0.10.4

20 Feb 01:30
Compare
Choose a tag to compare

0.10.3

07 Dec 09:11
Compare
Choose a tag to compare
  • Add workaround for issu #27. Instead of exiting with error, ignore the error with particular message and print a log message.

0.10.2

25 Oct 19:05
4933d58
Compare
Choose a tag to compare
  • Fix image scripts - invalid permissions when running on Mac with FUSE volume driver #21

0.10.1

25 Oct 14:10
053be1a
Compare
Choose a tag to compare
  • Verify if Bash is installed when running Dojo. Dojo performs a shell out and Bash is its dependency. If Bash is not installed, a pretty error will be printed. #22
  • Use newer pytest version 6.1.1, was 4.4.1
  • Improve e2e tests output - print stdout and stderr on failure
  • Improve e2e tests when checking for warn or error strings

0.10.0

06 Sep 16:01
Compare
Choose a tag to compare