Skip to content

0.32.0

Compare
Choose a tag to compare
@yesnault yesnault released this 30 May 19:58
· 3483 commits to master since this release
05f66bf

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.