Releases: ovh/cds
0.34.1
(2018-08-01)
Notable Changes
- Timeline on home page. This feature need to have an elasticsearch configured in CDS configuration
- Rollback to a specific version for pipeline and workflow (#3051) (8e13df9)
- Install and use ssh key in a step script https://ovh.github.io/cds/cli/worker/key/install/
- Description / Icon on workflow, application, project and pipeline
- Alpha feature: Clair Plugin / vulnerability & coverage reports
0.34.1 (2018-07-31)
Bug Fixes
0.34.0 (2018-07-31)
Bug Fixes
- better error code for duplicate key (#3008) (2b5eece)
- decrease SSE connection to 5mn instead of 10 (#3020) (da1c08a)
- ui: load projects (#3012) (e06f0c0)
- Improve node run event + send event on workflow run never built (#2889) (091b6ed)
- api: use the root context for sending commit status (#2985) (df8e638)
- api: add tracing on postWorkflowJobResultHandler (#3108) (a87a244)
- api: add tracing span (#3082) (7917b44)
- api: be careful of nil commits list (#2999) (d7049e1)
- api: default payload from workflow as code (#2967) (e4d708d)
- api: do not interpolate workflow pipelines requirements (#3085) (1d1bdf1)
- api: don't delete worker on /worker/unregister (7060b1a)
- api: don't mark to_delete to much workflow_run (9ec01e9)
- api: don't purge workflow run always running #3106 (#3109) (068e943)
- api: edit as code don't erase the workflow icon (#3102) (0234140)
- api: erase useinfo from url fromRepository (#2994) (2ec579f)
- api: export application deployment strategies. (#2902) (0c77062)
- api: fix add service logs (#2951) (54810e5)
- api: fix log event warning (#2901) (e598fae)
- api: fix panic on send sse msg (#2960) (c5ddf2e)
- api: fix repowebhook and workflow as code (#2984) (ee6c225)
- api: fix resync vcs to postexecute and fix migrate artifact (#2908) (ba75cfb)
- api: fix route for import as code via ui (#3040) (223bb56)
- api: fix update icon application (#3026) (6e06d15)
- api: hide some field on vcs strategy (#3095) (fdbc0e6)
- api: import workflow as code with a platform (#2897) (1161d8b)
- api: lint (495f133)
- api: lint (da9c4b4)
- api: lint (#2899) (5e89088)
- api: load application with variables when running wf from repo (#2971) (8ce66f2)
- api: load queue improvements (#3034) (f31aca2)
- api: load workers per hatcheries (#3028) (7874418)
- api: null column (#3047) (32b23f6)
- api: panic on flush (#2952) (d6420fa)
- api: panic when client close sse (#2968) (5283c71)
- api: pipeline and application import error message (970a71a)
- api: process node run git variables (#3044) (6d7c42b)
- api: push artifact on object store with ref instead of tag (#2890) (8524abb)
- api: reduce locktime + avoid deadlock (#3010) (819ea66)
- api: remove deprecated route (#2982) (e38bf6d)
- api: restart awol jobs (#3036) (0efcf22)
- api: ResyncCommitStatus with a fresh context (#2986) (033217a)
- api: returns 404 error when X-Cds-Username is not found (#2922) (16c6209)
- api: rollback restart awol jobs (#3037) (b2c3855)
- api: run workflow from repository must keep repository fullname (#2973) (9ae5c41)
- api: send pull request reports with tests (#2979) (42b20f0)
- api: tracing on load workflow (#3052) (e4429d8)
- api: unable to load workflow_node_run because of context canceled (#2988) (d9f651d)
- api: when you update repomanager on an application, update workflow root linked (#2976) (ed99a4a)
- api: workflow run report (#2992) (82eb0d7)
- api: workflow.load don't load joins if onlyRoot is true (#3079) (5fc26a3)
- api,ui: add pipeline name or workflow name in a new import route for edit as code ui (#3015) (bf58db8)
- api,ui: block all update of key variables (#3050) (dc1051f)
- cli: fix worker model import with pattern name (#2963) (b9af0b9)
- hatchery: do not put worker model in error when spawn a worker for job doesn't work (#3091) (f4b1b76)
- hatchery: improvements (#3025) (6bf8b45)
- hatchery: pipeline build jobs (#3038) (5d83074)
- hatchery: start the http server (#3113) (0e6e980)
- hatchery: too many routines in same time (#2965) (58aae1c), closes #2962
- hatchery: try to speedup (#3035) (771c04a)
- hatchery: various improvements (#3033) ([183cedd](183...
0.33.3
What's new
See all changes with previous release on 0.32.0...0.33.3
Update Note
You can skip the installation of 0.33.1 and install 0.33.3 directly
Major Update
- Audit on Workflow
- Display CDS Queue on web ui
- If a status was lost between CDS and repository manager, user can manually resync it.
- Display warning about misconfiguration on a project
- Remove a group from a projet will remove it from application, pipeline and environment below.
- Better notification popup
- Performance Improvements, using https://opencensus.io for tracing
0.33.1
What's new
See all changes with previous release on 0.32.0...0.33.1
Major Update
- Audit on Workflow
- Display CDS Queue on web ui
- If a status was lost between CDS and repository manager, user can manually resync it.
- Display warning about misconfiguration on a project
- Remove a group from a projet will remove it from application, pipeline and environment below.
- Better notification popup
- Performance Improvements, using https://opencensus.io for tracing
0.33.0
0.32.0
Update Note
You can skip this release and update your CDS Instance to 0.33.1
https://github.com/ovh/cds/releases/tag/0.33.1
What's new
See all changes with previous release on 0.31.3...0.32.0
Worker Model & Configuration Script
- Hatchery can now manage other arch / os than linux amd64; for example, if you use openstack, you can auto-scale freebsd workers
- A CDS administrator can manage Configuration Script from UI, as userdata for openstack VMs
CDS Platforms
- it's a new CDS elements: Platform. You can attach your CDS Project to a Platform
- a Platform can be 'private' to Project, or 'Public' to be available to all projects
- some kinds of platforms are on roadmap: k8s, openstack
CDS Broadcasts
- A CDS Administrator can create a public "Broadcast", or a broadcast attached to a CDS Project.
- This is a way to inform all users for something new (issue or feature for example)
Others
- SHA512 displayed on all artifacts
- Display user who link a repository manager
- Better ui for boolean "cds.manual" on cds conditions
- Some UI Improvements
- engine can work with the 'warning' log level
- Edit pipeline as code on UI
- Some performance improvements, next release will contains a huge refactor about it (UI and Engine)
Important - Migrate CDS from version 0.28.x
When you will run db upgrade, you will have:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Error: Migration failed: pq: relation "platform_model" already exists handling 082_platform.sql
You have to run theses two SQL manually on your database:
update gorp_migrations set id='083_clean_env_grp.sql' where id='082_clean_env_grp.sql';
update gorp_migrations set id='082_platform.sql' where id='083_platform.sql';
Then, relaunch database migration:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Applied 1 migration
Important - Migrate CDS from a previous version < 0.22.0
Two new services are availables, to start them with CDS API, you have to lauch : ./engine start api hooks vcs
If you use a previous version of CDS with VCS (github / gitlab / bitbucket) you need to install this release 0.22.0.
This release contains code to migrate existing VCS to new uService. The next release won't contains this code anymore.
0.31.3
What's new
See all changes with previous release on 0.30.1...0.31.3
Workflow as Code
- with cdsctl: https://ovh.github.io/cds/gettingstarted/init_workflow_with_cdsctl/
- with the webui https://ovh.github.io/cds/gettingstarted/import_workflow_with_webui/
Others
- hatchery, services hooks & vcs: add status in monitoring (cdsctl & ui) (#2572) (#2582)
- worker: new timeout 120s (#2591) & retry only after 15s (max: 150s) (#2595)
- api: add load options for node run and tests (#2614)
- api: add pprof http label and enable GET method to run with pprof
- engine ui, cli: broadcasts (#2574), ui upgraded in next CDS release
- actions/plugin: plugin-venom upgrade (#2640)
- engine: openstack auth v3 (#2620)
- engine: add BindDN to ldap configuration & bind before search
- worker: cds.semver review (#2652)
- worker: gitTag, new parameters (#2656)
Documentation
- example of curl for webhook (#2571)
- header on POST /login (#2589)
- requirement network access (#2594)
- rework the "CDS Origins" documentation section (#2632)
Important - Migrate CDS from version 0.28.x
When you will run db upgrade, you will have:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Error: Migration failed: pq: relation "platform_model" already exists handling 082_platform.sql
You have to run theses two SQL manually on your database:
update gorp_migrations set id='083_clean_env_grp.sql' where id='082_clean_env_grp.sql';
update gorp_migrations set id='082_platform.sql' where id='083_platform.sql';
Then, relaunch database migration:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Applied 1 migration
Important - Migrate CDS from a previous version < 0.22.0
Two new services are availables, to start them with CDS API, you have to lauch : ./engine start api hooks vcs
If you use a previous version of CDS with VCS (github / gitlab / bitbucket) you need to install this release 0.22.0.
This release contains code to migrate existing VCS to new uService. The next release won't contains this code anymore.
0.30.1
What's new
See all changes with previous release on 0.29.0...0.30.1
Feature
Favorites projects & Workflows
- add / view favorites on ui / cdsctl
- update navbar
- CDS to ElasticSearch, new fields project / app / pipeline...
New action for uploading / downloading large files
- https://ovh.github.io/cds/workflows/pipelines/actions/user/cds-split-download/
- https://ovh.github.io/cds/workflows/pipelines/actions/user/cds-split-upload/
Others
- hatchery/swarm: --add-host options (#2422)
- api, sdk: X-CDS-Until header queue count (#2428)
- ui: upgrade navbar style (#2421)
- ui: add search on list (applications, pipelines, workflows) (#2464
- api,sdk,ui: deprecated worker models (#2458)
- ui: add feature to import pipeline with yaml from UI (#2463)
- ui: update angular + angular cli (#2429)
- api,ui: allow provisioning for restricted worker model (#2459)
- api: add workflow default tags after add repository webhook (#2465
- api: add addr grpc listen (#2491)
- api: add izanami as feature flipping provider (#2507)
Documentation
- about CDS tokens (#2444) https://ovh.github.io/cds/cli/api/#about-cds-token
- building cds workflow ui & cdsctl links (#2461)
- cdsctl action import (#2467) https://ovh.github.io/cds/cli/cdsctl/action/import/
- restricted & provision on worker models (#2510) https://ovh.github.io/cds/workflows/pipelines/requirements/worker-model/#what-s-a-restricted-worker-model
Refactor
refactor: remove hcl support (#2460): action are now in yaml format.
import / export action in yaml format
Important - Migrate CDS from version 0.28.x
When you will run db upgrade, you will have:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Error: Migration failed: pq: relation "platform_model" already exists handling 082_platform.sql
You have to run theses two SQL manually on your database:
update gorp_migrations set id='083_clean_env_grp.sql' where id='082_clean_env_grp.sql';
update gorp_migrations set id='082_platform.sql' where id='083_platform.sql';
Then, relaunch database migration:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Applied 1 migration
Important - Migrate CDS from a previous version < 0.22.0
Two new services are availables, to start them with CDS API, you have to lauch : ./engine start api hooks vcs
If you use a previous version of CDS with VCS (github / gitlab / bitbucket) you need to install this release 0.22.0.
This release contains code to migrate existing VCS to new uService. The next release won't contains this code anymore.
0.30.0
0.29.0
What's new
See all changes with previous release on 0.28.1...0.29.0
Major update
Events & Elasticsearch
If you have a kafka, you can configure CDS to send events in a queue.
cds2es checks event in the kafka queue and send it in an elasticsearch instance. See https://github.com/ovh/cds/tree/master/contrib/uservices/cds2es
Debian package
A .deb is now available on Github Release.
Worker Cache
See https://ovh.github.io/cds/cli/worker/cache/
Engine is uptodate
New command on engine: uptodate
This command will checks if current binary is uptodate or not. It's useful for users who run their own hatchery. See https://ovh.github.io/cds/cli/engine/uptodate/
Hatchery Swarm
This hatchery uses the official docker client.
Important - Migrate CDS from version 0.28.x
When you will run db upgrade, you will have:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Error: Migration failed: pq: relation "platform_model" already exists handling 082_platform.sql
You have to run theses two SQL manually on your database:
update gorp_migrations set id='083_clean_env_grp.sql' where id='082_clean_env_grp.sql';
update gorp_migrations set id='082_platform.sql' where id='083_platform.sql';
Then, relaunch database migration:
$ engine database upgrade --db-user=<db-user> --db-password=<password> --db-name=<db-name> --migrate-dir=sql --db-connect-timeout=20
Applied 1 migration
Important - Migrate CDS from a previous version < 0.22.0
Two new services are availables, to start them with CDS API, you have to lauch : ./engine start api hooks vcs
If you use a previous version of CDS with VCS (github / gitlab / bitbucket) you need to install this release 0.22.0.
This release contains code to migrate existing VCS to new uService. The next release won't contains this code anymore.
0.28.1
What's new
See all changes with previous release on 0.27.0...0.28.1
Major update
worker artifacts
List artifacts from worker binary: https://ovh.github.io/cds/cli/worker/artifacts/
worker cache
Worker cache command https://ovh.github.io/cds/cli/worker/cache/
cdsctl shell
https://ovh.github.io/cds/cli/cdsctl/shell
stage conditions
Allow using workflow.* var in stage conditions
Kafka platform
Add kafka platform for hook provider: https://ovh.github.io/cds/workflows/design/hooks/kafka-hook/
cdsctl import action
https://ovh.github.io/cds/cli/cdsctl/action/import/
https://ovh.github.io/cds/cli/cdsctl/action/export/
Spawn infos
Spawn info when no hatchery can spawn a worker.
Important - Migrate CDS from a previous version < 0.22.0
Two new services are availables, to start them with CDS API, you have to lauch : ./engine start api hooks vcs
If you use a previous version of CDS with VCS (github / gitlab / bitbucket) you need to install this release 0.22.0.
This release contains code to migrate existing VCS to new uService. The next release won't contains this code anymore.