0.47.0
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)