CDS v0.47.0 Release Notes
Release Date: 2020-07-10 // over 4 years ago-
(2020-07-10)
0.47.0 (2020-07-08)
⬆️ Note about upgrading CDS
You have to install version 0.46.0 if you want to upgrade your CDS Instance from a version < 0.46 to a newer version.
⬆️ When you are upgrading CDS:
- backup your database before any operation
- 📚 run the database migration, documentation on https://ovh.github.io/cds/hosting/database/
- after running the API, check if there is no error on migration, with
cdsctl admin migration list
Notable Changes in version 0.47.x
🚀 The release 0.47.x contains a lots of bug fixes & performance improvements.
Websocket is replacing SSE
🚚 The CDS UI and hatcheries will now use a Websocket to listen for API events. We also removed the browser shared workers that were used in UI, each CDS tab will use its own Websocket connection.
✂ Remove old secrets and user infos
🚀 This release include a migration script to remove some old database tables from CDS. Those tables contains mainly secrets and informations related to user accounts, all that data were migrated in previous release.
🔋 Features
- api: config to set timeout and tls config (#5270) (a0a0966)
- api: improve error msg on workflow import (#5288) (d177c8f)
- api: improve router logs fields (#5299) (25787f1)
- api: improve tracing (#5286) (922c076)
- api: remove default region (#5231) (614b834)
- api: return workflow runs URLs (#5220) (e5876a9)
- 💻 api,ui: edit application as code in CDS ui (#5246) (69fff58)
- 💻 api,ui: enable websocket for all (#5249) (069cee4)
- 💻 api,ui: improve error and display request id in ui (#5225) (02c2eab)
- hatcheries: ignoreJobWithNoRegion conf (#5233) (0dc2ef8)
- hatchery: enable websocket (#5199) (00d584c)
- hatchery: openstack max CPUs count and flavor weigth (#5190) (80140d7)
- 💻 ui: add ascode environment edition in UI (#5269) (bf1afd3)
- 🔌 venom plugin: add stop-on-failure parameter to venom plugin (#5274) (114967f)
🐛 Bug Fixes
- api: append log when retry job (#5294) (ee08e26)
- api: avoid panic on err msg deleted (#5245) (0d46f8a)
- api: call services retries (#5232) (4678ade)
- api: change json tag (#5226) (f841412)
- api: default env vars should always be merged for docker model (#5293) (1c64809)
- api: do not load all components of project when running workflow (#5285) (b404792)
- api: do not loose logs when api restart (#5298) (10e3e4b)
- api: don't try to load cds.scheduler user (#5239) (37334d6)
- api: jsonschema wrong tag (#5279) (fd95ff9)
- api: load application no-ascode (#5255) (c855935)
- api: lock noderun before updating it (#5300) (92aa63f)
- api: missing group for template when loaded from audit (#5273) (511cb03)
- api: permission on worker that are no more linked to an hatchery (#5303) (dae0ac7)
- api: remove client when close message was send (#5227) (dc2af41)
- api: resync repo managers to compute template default params (#5260) (1e8bc3a)
- api: resync workflow run status when stopping a job (#5275) (c51b3b3)
- api: set hatchery_name default value for worker (#5306) (0651356)
- api: stop ticker + time.sleep to reduce cpu load (#5304) (b64bba5)
- api: update permission for workflow when exists in upsert (#5256) (a0d8409)
- api: worker should not be removed when hatchery is lost (#5296) (84f4ed5)
- 💻 api, ui: synchronous ended child workflow + navigation parent/child (#5261) (4c98c9c)
- api, vcs, repositories: repository web hook eventFilter (#5266) (8e83900)
- api,repositories: clean not pushed branch when checkout (#5251) (78d9ac2)
- api,sdk: allow to retry request when conflict due to database lock (#5244) (f549c2f)
- 💻 api,ui: return empty app stats and timeline if no elastic service (#5248) (1b83551)
- cdn: add public addresses (#5221) (feb094d)
- cdn: processLogs rollback (#5276) (27fd6a6)
- cdsctl: avoid potential panic (#5253) (a83e1a2)
- cdsctl: worker model list - image field (#5267) (11d37a6)
- engine: keep the main trace.span in context (#5287) (5871741)
- hatchery: avoid panic on queuePolling (#5302) (74e167a)
- hatchery: count CPUs using flavor list instead of data from server (#5254) (90ac6a7)
- hatchery/k8s: enable service requirement (#5292) (4747e92)
- hatchery/vsphere: init endpoint (#5282) (e67a15c)
- hook: check error to avoid panic (#5259) (a97f6a7)
- hook: store md5 before sending event to channel (#5230) (6aa8f03)
- 🔌 plugin/arsenal: use custom http client (#5308) (ee4466f)
- 🔌 plugins: makefile refactor (#5224) (125525b)
- sdk: missing host path part on websocket request (#5263) (4a1ed0a)
- sdk: subscribe to queue with the right filter(#5295) (5a9f2dd)
- 💻 ui: display outgoing hook when fails without child run (#5297) (d752efe)
- 💻 ui: display spawn info for waiting job (#5219) (5b1f515)
- 💻 ui: display workflow run (#5278) (08c9611)
- 💻 ui: load project deps+ fix loading application and pipeline after creation (#5258) (38da0f0)
- 💻 ui: nodes not displayed and exception to get dimensions (#5252) (9631d15)
- 💻 ui: take care of base href to get version (#5309) (4c8a0ff)
- 🔌 ui,api,plugin:clair: save and render vulnerabilities, clair panic (#5234) (e8d6edc)
- 👷 worker: improve display err on worker command (#5277) (e0842e5)
- 👷 worker, cdn: logs (#5265) (2cf5f7b)
- 👷 worker,ui: send and view all logs (#5247) (b1a3d14)
- ➕ add rel arg to link (#5228) (4db00e9)
Previous changes from v0.45.2
-
0.45.2 (2020-02-28)
⬆️ Note about upgrading your CDS
You have to install version 0.44.0 if you want to upgrade your CDS Instance from a version < 0.44 to a newer version.
⬆️ When you upgrade a CDS Instance:
- backup your database
- 📚 run the database migration before, documentation on https://ovh.github.io/cds/hosting/database/
Notable Changes in version 0.45.x
🚀 The release 0.45.x contains a lots of bug & doc fixes and two majors features.
👷 Restart failed jobs
👷 Sometimes, it's useful to restart a pipeline, but only the failed jobs.
Consumer token with limited scope
🚀 Release 0.44.0 introduces a bunch of new features about authentication.
🚀 With 0.45.0 release, it's now possible to fine tune the rights of the consumer token if you want to play with cdsctl or cds api with read only right for example.🐳 Docker-compose
🐳 The docker-compose file contains all CDS services. You can follow the new tutorial https://ovh.github.io/cds/hosting/ready-to-run/docker-compose/ to have a CDS up and running in less than 5min :)
0.45.2 (2020-02-28)
🐛 Bug Fixes
0.45.1 (2020-02-27)
🐛 Bug Fixes
- 🐳 docker-compose: index metrics name (#5022) (bb9f425)
- engine: log http error as info if status < 500 (#5018) (790def0)
- 💻 ui: make right bottom buttons wrapper to be over codemirror (#5020) (1364dd8)
0.45.0 (2020-02-26)
🔋 Features
- 👌 improve logging, add request id and consumer info (#4990) (dc21e90)
- 💻 api, ui: consumer access limit to some routes for scopes (#4960) (5832d7b)
- 💻 api,ui: allow user to restart only failed job (#4972) (8000d8e)
- cdsctl: add pipeline and application usage commands (#4998) (11ecff6)
🐛 Bug Fixes
- api: add some logs on random 401 (#5003) (a21e6f5)
- api: avoid create worker consumer if the registration failed (#4965) (c7eb2d8)
- api: bad condition to download artifact of re-runned pipeline (#5007) (d84f5ac)
- api: delete corrupted sessions (#4964) (53cb881)
- api: do not try to set status if gerrit event does not contain change id (#4983) (68c93c2)
- api: filter action usage in pipeline (#4996) (e1a40a3)
- api: filter default group on notif (#4977) (f9d4528)
- api: list artifact when restart failed jobs (#4999) (073d156)
- api: migrate project_group for signature (#4973) (091e083)
- api: no more base64 for application keys (#4989) (422477d)
- api: return workflow favorite flag (#4993) (7a2f28e)
- api: ut for usernames selected to send notifications (#4979) (7204a57)
- api: workflow deletion audits do not work (#4966) (434c6ca)
- cdsctl: avoid panic getting application name (#4985) (981e14c)
- elasticsearch: type ES (#5008) (d21619b), closes #4528
- engine: gitlab user auth with custom endpoint (#5006) (f30e8f0), closes #5008
- hatchery: fix worker model name for all hatcheries (#5013) (c22cd8f)
- 💻 hooks,ui: display payload from gerrit + fix hook edit (#4978) (0fb2bc1)
- sdk: dont try to run workflow from hook if the hook doesn't exist (#4992) (86c1136)
- 💻 ui: allow to apply template even if latest version already applied (#4970) (9a04a38)
- 💻 ui: dropdown and codemirror issues with modals (#5000) (3c3274a)
- 💻 ui: fix navigation through workflow node run history (#4995) (a5592d8)
- 💻 ui: list of broadcast was not render (#4974) (d13c40c)
- 💻 ui: missing workflow components cause rendering errors (#5016) (b8c5eea)
- 💻 ui: remove codemirror z-index on lines (#5014) (bfb8839)
- 💻 ui: remove fibonacci retry to not trigger interval each second (#4982) (88ce194)
- 💻 ui: vcs strategy component (#4991) (19ffb36)
- 💻 ui,api: modal style, labels validation, remove z-indexes (#4986) (63b8e69)
- vcs: get commit status for bitbucket, missing pagination params (#4988) (97e7c6d)
- 👷 worker-model: communication attr removed (#5009) (bd4fa61)
- display menu (#4976) (d384d62)
- ✂ remove warning (#4949) (fafd208)