CHANGELOG.md 7.67 KB
Newer Older
1
# Changelog
2

3 4 5 6 7 8 9 10 11
## 5.3.0
* [ci-toolbox] Update ci-toolbox.sh CITBX_VERSION from VERSION file
* [wrapper] Improve bash completion mode detection when the local ci-toolbox/ci-toolbox.sh file is used (useful during development process)
* [bashopts] Update version with the fix of enumeration type to support values with spaces
* [ci-toolbox] Move job run part into citbx_run_job
* [ci-toolbox] Rewrite Gitlab-CI file treatment parts like image, services and scripts objects
* [ci-toolbox] Add pipeline feature
* [tests] Add the test suite (tests/run-testsuite.sh)

12 13 14 15
## 5.2.1
* [ci-toolbox] Fix CITBX_VERSION_REQ_MIN test to prevent recursive 'ci-toolbox setup' call
* [wrapper] Improve existing file detection (file command not enough reliable)

16 17 18 19 20 21
## 5.2.0
* [job-test-services] Add timeout
* [ci-toolbox] deprecate citbx_run_ext_job function
* [ci-toolbox] Add CITBX_RUN_JOB_DEPENDENCIES job property (--with-dependencies option) to run dependencies before
* [ci-toolbox] Simplify YAML values read and update a message

22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
## 5.1.0
* [CI] add experimental branch to the package release template
* [ci-scripts] Fix typo in a message display
* Variable rename: CITBX_JOB_RUN_FILE_NAME => CITBX_JOB_FILE_NAME
* [ci-toolbox] Improving the job variable management
* [ci-toolbox] Check if a service is started
* [job-advanced] Update job-advanced example job:
    + Remove citbx_run_ext_job call
    + Add test to check YAML variable scope
* [ci-toolbox] Use new command 'docker image ls' instead of legacy 'docker images' one
* [ci-toolbox] Remove useless check_tool_name function
* [ci-toolbox] Unset CITBX_RUN_SHELL in citbx_run_ext_job
* [ci-toolbox] Fix command check (job list part)
* [ci-toolbox] Replacing useless legacy CITBX_TOOL_NAME variable by the fixed 'ci-toolbox' value
* [ci-toolbox] Add citbx_ name prefix for several internal functions
* [ci-toolbox] Add a way to check minimal tool version for certain projects

39 40
## 5.0.0
* [ci-toolbox] PATH environment variable propagation - Fix regression from the version 4.1.0
41
* Project split into two independent parts: ci-toolbox and run-job-script
42
* Switch to the version Python 3 of YAML package
43
* [env-setup/gentoo] Fix git-lfs component setup
44
* [ci-toolbox] Simplify and improve the reliability the job script part
45
* [ci-toolbox] Add ability to run ci-toolbox outside a terminal
46
* [env-setup/fedora] Add Fedora support
47
* [ci-toolbox] Add option to enable access to the host docker daemon into the job environment
48
* [modules/runshell] Add runshell module to run a shell on a specific build step, useful for debugging
49
* [ci-toolbox] Add options to manage Docker configuration propagation
50
* [packaging] Add build-package job for Debian-like and RedHat-like operating systems
51
* [CI] Add testsuites for RPM and DEB packages
52

53 54 55 56 57 58 59 60 61
## 4.1.0
* [env-setup/common] update install_tools function
* [setup/upgrade] Add a migration tool from version 2 and 3 to 4 and upper
* [ci-toolbox] Add OS_RELEASE_INFO hashmap
* [ci-toolbox] Fix in docker script part to be more portable on distribution like Fedora
* [wrapper] Move wrapper directory outside of tools/ci-toolbox
* [ci-toolbox] Increase portability by using /usr/bin/env in shebang
* [README] README files update

62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
## 4.0.0
* [README] Add French version
* [LICENSE] Remove instruction section at the end
* [CI] Add docker tag
* [ci-toolbox/setup] Add --os-id option
* [ci-toolbox/git-lfs] Remove CITBX_GIT_LFS_ENABLED option and git lfs pull no more useful
* [ci-toolbox] Add support of ci-toolbox.sh stored outside project repo
    + Rename script run.sh to ci-toolbox.sh
    + Rename directories run.d => jobs and gitlab-ci => ci-toolbox
    + Run jobs from project containing .gitlab-ci.yml without having to integrate ci-toolbox into this one
    + Update ci-toolbox setup an update process
* [ci-toolbox] Fix colors display with some shells like dash
* [ci-toolbox] Remove CITBX_WAIT_FOR_SERVICE_START option
* [ci-toolbox] Add docker-prune command
* [ci-toolbox] set CITBX_DOCKER_LOGIN_MODE default value to disabled
* [ci-toolbox] Set non interactive mode as default mode
* [ci-toolbox] Rewrite CITBX_COMMANDS and CITBX_DOCKER_SCRIPT for better readability and compatibility with gitlab-runner operating

80 81 82 83 84 85
## 3.3.1
* [executor/docker] Add support to busybox based image and use addgroup instead of usermod
* [FIX] broken --docker-login=enabled & improve contextual information message
* [module/dockerimg] file moved to ercom/docker project
* [CA] Fill CI_SERVER_TLS_CA_FILE with local CA certs on local worstation

86
## 3.3.0
87
* [env-setup] Improve ca-certificates setup part
88 89 90 91
* [modules/dockerimg] Update dockerimg module
* [modules/example] minor fix on variable export
* Remove ci-job-wrapper jobs and update the documentation
* Update docker-login option
92

93 94 95 96 97 98
## 3.2.0
* [env-setup] Modular setup
  + add ability to limit setup on specified elements
  + add ci-tool setup
  + add gentoo support

99
## 3.1.0
100
* [FIX/bashcomp] Fix number calculation in the _citbx4gitlab_compgen function
101
* Add disable-service parameter (CITBX_DISABLED_SERVICES) to disable specified services
102

103 104 105
## 3.0.1
* [FIX] regression: CITBX_TOOL_NAME not defined when tools/gitlab-ci/run.sh is called directly

106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
## 3.0.0
* Add support of bash completion
* [FIX] remove warning from a test
* [FIX] unset CITBX_GIT_CLEAN for citbx_run_ext_job
* [CI] add job-test-services-mysql and job-test-services-postgres service example jobs
* Update docker run to use CITBX_JOB_SHELL
* [FIX] YAML variable treatment
* Improve messages/help formating
* Add debug-script option
* Remove deprecated JOB_EXT_FILE_NAME variable name
* [3rd] Update bashopts to the version 2.0.0
* Update fetch_file function for update command
* [FIX] docker run exit code on error
* [FIX] Preserve PATH environment variable in user mode
* Add VERSION and a CHANGELOG.md

## 2.2.10
* [FIX] unset CITBX_JOB_RUN_FILE_NAME in citbx_run_ext_job

## 2.2.9
* Improve git worktree support and preserve the working directory on shell mode

## 2.2.8
* Update variable name: CITBX_JOB_RUN_FILE_NAME

## 2.2.7
* Add ncore function

## 2.2.6
* [env-setup/ubuntu] Fix GIT LFS repository

## 2.2.5
* [env-setup/ubuntu] Update GIT LFS apt repository add

## 2.2.4
* Set git lfs as an optional feature

## 2.2.3
* [run] improve docker-dns detection

## 2.2.2
* [env-setup/ubuntu] [Fix] ca-certificates copy
* [Fix] read empty or invalid daemon.json

## 2.2.1
* [env-setup/ubuntu] Add --allow-change-held-packages option to apt-get remove docker.io & docker-engine
* [run] improve CI PROJECT ROOT DIR detection

## 2.2
* [FIX] service-privileged property variable name update
* Add GIT LFS support
* Improve docker-dns option check

## 2.1.1
* [FIX] service with custom commands with default entrypoint
* Add option to start service in privileged mode

## 2.1
* Add git-clean and group options

## 2.0.2
* [FIX] Eval YAML service properties

## 2.0.1
* [FIX] export variables to services

## 2.0
* Add Gitlab services support

## 1.3.2
* [fix] Prevent multiple call of citbx_job_finish

## 1.3.1
* add SIGINT SIGTERM to citbx_job_finish trap callback

## 1.3.0
* [fix] return the good error code on local job execution failure
* Add citbx_docker_run_add_args function

## 1.2.1
* [3rd] Update bashopts to the version 1.3.0
* Add citbx_export function
* [fix] Variable export the SHELL executor

## 1.2
* Changes:
* Add a check on the bash version
* Add submodule-strategy option for GIT_SUBMODULE_STRATEGY
* Add job executor option
* Add job script and job main func check
* Add image entrypoint support
* Remove CITBX_DOCKER_USER option
* reset PWD to CI_PROJECT_DIR before hooks execution
* [FIX] ubuntu setup
* Update the documentation

## 1.1
* Add CITBX_DEFAULT_JOB_SHELL property and CITBX_JOB_SHELL option
* Add job execution time
* Add update tool to fetch the last version
* Add gitlab GIT_SUBMODULE_STRATEGY support

## 1.0
* First stable release