0.42.0
0.42.0 (2019-11-07)
Note about upgrading your CDS
You have to install version 0.41.0 if you want to upgrade your CDS Instance from a version < 0.41 to a newer version.
When you upgrade a CDS Instance, always run the database migration before, documentation on https://ovh.github.io/cds/hosting/database/
Notable Changes in version 0.42.x
- Improved performance on UI.
- New search component.
- Team repository support for bitbucketcloud.
- The UI is now served by cds-engine. Caddy is not used anymore and a unique docker image is available, instead of two before.
- The local hatchery download worker's binary at startup. No need to put the worker in PATH anymore.
- Run Condition available on a hook: this will avoid to instanciate a run number is the conditions are not ok.
- RepositoryWebhook - event type filter. Example: you can choose to start a workflow on each comment in a pull request.
- Workflow notifications - allow custom comments on pull request, see. https://ovh.github.io/cds/docs/concepts/workflow/notifications/
Features
- api: add option always send vcs notification #4635 (#4644) (3962a19)
- api: dump heap profile (368e7b6)
- api: dump heap profile (#4630) (ed18a99)
- api: expose mem stats as metrics (#4625) (913e934)
- api: maintenance mode on API and Hooks (#4658) (e742731)
- api: new prometheus metrics about handlers (#4588) (0903f21)
- api: preserve comments in template's generated files (#4609) (51e1666)
- api: stage name could not be empty (#4669) (396580d), closes #3411
- api: support custom s3 API endpoint (eg. min.io) (#4673) (9c08576)
- api,ui: add more options about vcs events (#4566) (d534d1c)
- api,ui: add more options about vcs events, migration (#4632) (9d5dcd7), closes #3536
- api,ui: add run conditions on hook" (#4654) (bef82cb)
- api,ui: enable all kind of workflow nodes (#4582) (64749b3)
- cli: testability of user confirm command (#4660) (4ab789f)
- hatchery/local: download worker from CDS API (#4665) (328528c)
- hatchery/openstack: delete vm not created (#4676) (c101230), closes #3459
- hooks: allow to subscribe to any events on a repository (#4667) (f78b1ec), closes #4592
- ui: add maintenance page (#4651) (bd8c3f8)
- ui: engine start ui (#4552) (145226e)
- ui: new searchbox (#4619) (3b7a5f5)
- ui: reorder tag #4568 (#4577) (5d3d5aa)
- vcs: add team repository support for bitbucketcloud #4581 (#4583) (e1a39a4)
Bug Fixes
- api: add missing rows.Close() (#4598) (65387a5)
- api: avoid potential leak on muxcontext (#4641) (07b2a28)
- api: avoid scan nil (#4662) (1f71d22)
- api: avoid worker model name with space (#4690) (ef9c54a), closes #4602
- api: clone env with type password (#4679) (82ddc25), closes #4626
- api: clone perm (#4637) (c2748f5)
- api: concat logs (#4616) (0289c06)
- api: context for further stages (#4611) (83a05f8)
- api: delete old workflow data tables (#4677) (05c6aec)
- api: detachRepositoriesManagerHandler (#4684) (4b4cd0e), closes #4681
- api: distribution metrics (#4615) (ed4277b)
- api: eventFilter configurable (#4549) (d831461)
- api: fix stop workflow run + clean db (#4705) (aca09d6)
- api: fix unit test delete workflow (#4659) (cb440a6)
- api: fix vcs event on master for now (#4645) (0534b2d)
- api: force context cancellation (#4633) (a8464cd)
- api: git info are not valid when running a fork (#4203) (e1016fc), closes #4201
- api: load only one node hook by its uuid (#4666) (1766f58)
- api: mutex & conditions on manual run (#4726) (7afd34e), closes #4305
- api: mutex as-code (#4565) (68ea2c5), closes #4551
- api: NodeBuildParametersFromWorkflow with nil nodeRef (#4675) (2031530)
- api: project permission at creation (#4691) (e698292), closes #4678
- api: purge artifacts data (#4664) (6cfbbe3)
- api: purge audit pipeline/workflow (#4730) (47535bb), closes #4710
- api: reset cache for event integration when updated and check credentials (#4550) (40957c4)
- api: run wf with mutex, from a hook (#4718) (3e9cdad)
- api: send all pr comment for each nodes (#4643) (5a6a136)
- api: send vcs comment when needed (#4649) (be42543)
- api: signals (ff7d826)
- api: take user email for jabb notif (384e504)
- api: unit test (#4650) (fac3e58)
- api: update icon do not need to load all workflow (#4608) (9f96e5e)
- api,ui: load integration + fix base url (#4732) (cdbcd3c)
- cdsctl: remove counter wmodel / queue count (#4618) (25b9e20)
- cdsctl,api: return msg error wf import (#4697) (a71f4f1), closes #3806
- contrib: fix kubernetes integration (#4634) (b95c3d8)
- debPacker: allow absolute paths in copy-files and mkdirs (#4585) (a357e02)
- hatchery/local: worker binary name (#4725) (6443c23), closes #4724
- hatchery/swarm: remove volume (#4688) (c9a585c), closes #3843
- hatchery/swarm: remove volume only (#4707) (abbc63f)
- hooks: consumer group is computed (#4704) (1cb4a38)
- hooks: Createdat can be int or time.Time (#4734) (f57e4c8)
- hooks: delete branch on gitlab/github (#4709) (4bceaf3)
- hooks: delete the branch deletion when this branch is pushed again #4553 (#4586) (cb55096)
- hooks: do not split empty event filter (#4683) (92643fd)
- hooks: init kafka / rabbitmq task (#4555) (81def10)
- plugin: increase timeout (#4745) (7d863da)
- plugin/venom: files with coma (#4716) (eb2f003), closes #4700
- sdk: check add header (#4747) (4fc9fe6)
- sql: resync hook without ID + remove old workflow tables (#4578) (f24058a)
- tools/debpacker: fix unit-test (#4613) (91764cb)
- ui: coverage title nan (#4731) (7cb8b4d), closes #4729
- ui: datatable for commit lis (#4719) (41ae2f7), closes #4599
- ui: display default tags (#4680) (a837456)
- ui: display junit (#4713) (f65f163), closes #4693 #4711
- ui: display requirements options with read access (#4687) (0ccd971), closes #4610
- ui: fix loosing event (#4712) (87a52f6)
- ui: fix some typos in fr.json file (#4574) (d180191)
- ui: fix wrong ref on workflow node + load of integration on add node wizard (#4674) (c75b9a8)
- ui: get version worker (#4648) (3afa886)
- ui: load recents prj from localStorage (#4627) (11d059c)
- ui: mark as read on home for broadcasts (032e222)
- ui: refresh junit results (#4647) (c390f94)
- ui: refresh search (#4620) (331f34e), closes #2928
- ui: refresh tag in sidebar (#4671) (82a2ce8)
- ui: select in node condition display uknown variable #4569 (#4584) (ef6b8a3)
- ui: sidebar refresh (#4686) (94ad104), closes #4682
- ui: stage conditions update (#4717) (b280076), closes #4708
- ui: translate issues (#4570) (3186373)
- ui: unit tests display (#4722) (12a10ee), closes #4720
- uservice/hubut-xmpp: default domain (5bb431a)
- vcs: author stored in cache (#4642) (0feeaa9)
- vcs: github update hook use patch mathod (#4685) (a6d29e2)
- vcs: skipped pipeline status (#4727) (d27f46a), closes #4025
- vcs/bitbucketserver: slug & display available on bitbucket response (#4624) (5cb087a)
- worker: compute cds.semver with tag 1.6.2-1 (#4668) (c6e9533)
- worker: regex inside artifact download (#4547) (81df240)