Skip to content

Releases: Qarik-Group/bucc

BUCC v0.6.0

12 Sep 14:05
Compare
Choose a tag to compare

Breaking Changes:

Since Concourse 4.1 has completely changed it's authentication implementation,
there are some team configurations that can result in a failing upgrade.
Since BUCC does not configure multiple teams this will not affect you,
unless you created teams yourself, in which case please check the Concourse release notes

In general it is always recommended to do a bucc bbr backup before upgrading.

Mayor Improvments

  • Switched to Xenial stemcell
  • Upgraded to Concourse 4.1.
  • The BOSH related processes are now using bpm
    for improved isolation.

Small Improvments:

  • Added check if internet connection is available (thanks to @teancom)
  • Added support for the uaa go cli (thanks to @drnic)
  • Showing concourse on uaa homepage (thanks to @drnic)
  • Added global --concourse-ca-certs flag for trusted ca certs (thanks to @fenech)
  • Added ability to unset BUCC related environment variables with source <(bucc env --clean)

Fun Facts

  • As of this release bucc uses a bucc deployed concourse for it's ci pipeline

Release updates:

Name Version Changed
bosh 267.5.0 yes
bosh-aws-cpi 72 yes
bosh-azure-cpi 35.2.0 yes
bosh-docker-cpi 0.0.5 no
bosh-google-cpi 27.0.1 yes
bosh-openstack-cpi 39 yes
bosh-softlayer-cpi 23 no
bosh-virtualbox-cpi 0.0.13 no
bosh-vsphere-cpi 50 yes
bosh-warden-cpi 40 no
bpm 0.11.0 yes
bucc-bbr 6 no
concourse 4.1.0 yes
credhub 1.9.3 yes
credhub-importer 1 no
garden-runc 1.16.3 yes
os-conf 18 no
postgres 22 no
uaa 60.2 yes

Stemcell update:

Bumped to 97.12

BUCC v0.5.0

15 May 08:21
Compare
Choose a tag to compare

BBL (bosh-bootloader) Support

In this release initial support for BBL has been added, currently only AWS, GCP and Azure are supported.
By combining BUCC and BBL you will get the whole BUCC stack with loadbalancer and valid cloud-config.
So you can directly start deploying bosh releases with concourse.
Usage instructions can be found here.

Breaking: All bucc state dir related envrionment variables are now capitalized

In an effort to formalize the bucc state related enviorment variables we removed support for lowercase variables.
The following variables are supported going forward:

BUCC_PROJECT_ROOT: defaults to the bucc repo root
BUCC_STATE_ROOT: defaults to BUCC_PROJECT_ROOT/state
BUCC_VARS_FILE: defaults to BUCC_PROJECT_ROOT/vars.yml
BUCC_STATE_STORE: defaults to BUCC_STATE_ROOT/state.json
BUCC_VARS_STORE: defaults to BUCC_STATE_ROOT/creds.yml

Bug fixes:

  • Fixed issue where concourse baggageclaim was using only fraction of available disk details.

Small improvments

  • The BBL related refactoring also resulted in some performance improvements to the bucc-cli
  • Added OpenStack --floating-ip flag (thanks @jyriok)
  • Added global --concourse-lb flag
  • Fix bucc ssh with arguments
  • Fix example GCP zone (thanks @daniellavoie)

Release updates:

Name Version Changed
bosh 265.2.0 no
bosh-aws-cpi 69 no
bosh-azure-cpi 35.0.0 no
bosh-docker-cpi 0.0.5 yes
bosh-google-cpi 27.0.0 no
bosh-openstack-cpi 38 no
bosh-softlayer-cpi 23 no
bosh-virtualbox-cpi 0.0.13 no
bosh-vsphere-cpi 47 no
bosh-warden-cpi 40 no
bucc-bbr 6 no
concourse 3.13.0 yes
credhub 1.6.5 no
credhub-importer 1 no
garden-linux 0.342.0 no
garden-runc 1.9.4 no
os-conf 18 no
postgres 22 no
uaa 52.8 no

Stemcell update:

Bumped to 3541.10

BUCC v0.4.2

17 Apr 13:57
Compare
Choose a tag to compare

bucc ssh over jumpbox

When using bucc ssh it will now pickup ssh+socks5:// from BOSH_ALL_PROXY.
This makes bucc compatible with the bbl print-env output.

New variables in credhub

  • concourse/main/bucc_version

Bug fixes:

Small improvments

  • Added AWS --spot-instance flag
  • Added Azuere --managed-disks flag (thanks @bgandon)

Release updates:

Name Version Changed
bosh 265.2.0 yes
concourse 3.11.0 yes
bosh-aws-cpi 69 no
bosh-azure-cpi 35.0.0 no
bosh-docker-cpi 0.0.4 yes
bosh-google-cpi 27.0.0 no
bosh-openstack-cpi 38 no
bosh-softlayer-cpi 23 no
bosh-virtualbox-cpi 0.0.13 yes
bosh-vsphere-cpi 47 yes
bosh-warden-cpi 40 yes
bucc-bbr 6 yes
credhub 1.6.5 no
garden-linux 0.342.0 no
garden-runc 1.9.4 no
uaa 52.8 yes

Stemcell update:

Bumped to 3541.10

BUCC v0.4.1

09 Mar 16:34
Compare
Choose a tag to compare

Release updates:

Name Version Changed
bosh 264.7.0 no
concourse 3.9.1 yes
bosh-aws-cpi 69 no
bosh-azure-cpi 35.0.0 no
bosh-docker-cpi 0.0.3 no
bosh-google-cpi 27.0.0 yes
bosh-openstack-cpi 38 yes
bosh-softlayer-cpi 23 no
bosh-virtualbox-cpi 0.0.11 no
bosh-vsphere-cpi 45.1.0 no
bosh-warden-cpi 37 no
bucc-bbr 5 yes
credhub 1.6.5 no
garden-linux 0.342.0 no
garden-runc 1.9.4 no
uaa 52.7 no

Stemcell update:

Bumped to 3468.21

BUCC v0.4.0

27 Feb 11:40
Compare
Choose a tag to compare

BBR (BOSH Backup and Restore) support for Disaster Recovery

BUCC is now fully compatible with BBR.
As part of this feature full Disaster Recovery testing has been added to the BUCC ci pipeline.

To make a backup of you deployed BUCC vm, run:

bucc bbr backup

To recreate your environment from a backup run:

cd bucc
last_backup=$(find . -type d -regex ".+_.+Z" | sort -r | head -n1)
tar -xf ${last_backup}/bosh-0-bucc-creds.tar -C state
bucc up # clean BUCC with credentials (creds.yml) from backup
bucc bbr restore --artifact-path=${last_backup}

New variables in credhub

  • concourse/main/concourse_tsa_host
  • concourse/main/concourse_tsa_host_key
  • concourse/main/concourse_worker_key

Bug fixes

  • OpenStack --ntp flag now correctly sets bosh director ntp (thanks @nouseforaname)
  • Using --cpi= now correctly sets cpi #76

Small improvments

  • bucc will now install and manage bosh cli

Release updates:

Name Version Changed
bosh 264.7.0 no
bosh-aws-cpi 69 no
bosh-azure-cpi 35.0.0 yes
bosh-docker-cpi 0.0.3 no
bosh-google-cpi 26.0.0 yes
bosh-openstack-cpi 37 yes
bosh-softlayer-cpi 23 no
bosh-virtualbox-cpi 0.0.11 no
bosh-vsphere-cpi 45.1.0 no
bosh-warden-cpi 37 no
bucc-bbr 4 yes
credhub 1.6.5 no
garden-linux 0.342.0 no
garden-runc 1.9.4 no
uaa 52.7 yes

Stemcell update:

Bumped to 3468.21

BUCC v0.3.0

22 Jan 17:14
Compare
Choose a tag to compare

IMPORTANT Upgrade notice

Because of the following concourse upgrade restrictions:

If you are currently on a version older than v3.6.0, you must first upgrade to v3.6.0 before upgrading past it!

This means upgrading to BUCC v0.2.0 before upgrading past it!

New variables in credhub

  • /concourse/main/bosh_cpi
  • /concourse/main/bosh_stemcell
  • /concourse/main/bosh_ssh_private_key
  • /concourse/main/bosh_ssh_username

Bug fixes

Small improvments

  • Added --root-disk-size flag for OpenStack (for when flavor has no ephemeral disk).
  • Crehub cli will be upgraded if version is out of date

Release updates:

Name Version Changed
bosh 264.7.0 yes
bosh-virtualbox-cpi 0.0.11 no
os-conf 18 no
garden-runc 1.9.4 no
uaa 52.4 no
concourse 3.8.0 yes
credhub 1.6.5 no
credhub-importer 1 no
postgres 22 no
migrate-postgres 0.1.0 no
bosh-aws-cpi 69 no
bosh-azure-cpi 32 no
bosh-docker-cpi 0.0.3 no
bosh-google-cpi 25.10.0 no
bosh-openstack-cpi 35 no
bosh-softlayer-cpi 23 no
bosh-vsphere-cpi 45.1.0 yes

Stemcell update:

Bumped to 3468.19

BUCC v0.2.0

21 Dec 19:04
Compare
Choose a tag to compare

PostgreSQL upgrade to v9.6.4

This is a hard requirement for Concourse v3.6.0.
The upgrade should be fully automatic and uses this release to migrate from bosh postgres to cloudfoundry postgres.

To make sure this upgrade works as expected we have added upgrade tests to the ci pipeline. These tests will verify we can upgrade from the latest stable release without losing data. We have seen it fail twice but verified no data was lost and a subsequent bucc up finished the migration in both cases.

So to upgrade just run:

cd bucc
git pull origin master
git checkout v0.2.0
bucc up
bucc up # when the first bucc up fails with pre-start postgres

Global proxy flag

For all the people using bucc behind a proxy there is now a flag for that:

echo "http_proxy: ${HTTP_PROXY}" >> vars.yml
echo "https_proxy: ${HTTP_PROXY}" >> vars.yml
echo "no_proxy: ${NO_RPOXY}" >> vars.yml
bucc up --proxy

Small improvements

  • Added OpenStack flags: custom-ca, ignore-server-availability-zone, disk-az and trusted-certs
  • Concourse is now configured with UAA authentication enabled #61
  • Added --debug flag to bucc up which shows all arguments passed to bosh create-env
  • Improved flag caching, also used flags are shown when doing bucc up
  • Added --oauth-providers which allows configuring UAA oauth identity providers## Release updates:
Name Version Changed
bosh 264.5.0 yes
bosh-virtualbox-cpi 0.0.11 no
os-conf 18 no
garden-runc 1.9.4 no
uaa 52.4 yes
concourse 3.6.0 yes
credhub 1.6.5 yes
credhub-importer 1 no
postgres 22 yes
migrate-postgres 0.1.0 yes
bosh-aws-cpi 69 yes
bosh-azure-cpi 32 yes
bosh-docker-cpi 0.0.3 no
bosh-google-cpi 25.10.0 no
bosh-openstack-cpi 35 no
bosh-softlayer-cpi 23 yes
bosh-vsphere-cpi 45 no

Stemcell update:

Bumped to 3468.13

BUCC v0.1.5

21 Nov 08:42
Compare
Choose a tag to compare

Release updates:

Name Version Changed
bosh 264.1 yes
bosh-virtualbox-cpi 0.0.11 no
os-conf 18 yes
garden-runc 1.9.4 yes
uaa 52.2 yes
concourse 3.5.0 no
credhub 1.6.1 yes
credhub-importer 1 yes
bosh-aws-cpi 67 yes
bosh-azure-cpi 30 yes
bosh-docker-cpi 0.0.3 no
bosh-google-cpi 25.10.0 no
bosh-openstack-cpi 35 yes
bosh-vsphere-cpi 45 yes

Stemcell update:

Bumped to 3468.1

BUCC v0.1.4

06 Nov 11:57
Compare
Choose a tag to compare

Concourse-Credhub integration

Credential Lookup Rules

When resolving a parameter such as ((foo_param)), it will look in the following paths, in order:

/concourse/main/PIPELINE_NAME/foo_param
/concourse/main/foo_param

for more details see the concourse documentation

Credhub-importer

With the added Credhub-importer the following credentials are pre-populated in Credhub:

BOSH
  • concourse/main/bosh_name
  • concourse/main/bosh_environment
  • concourse/main/bosh_ca_cert
  • concourse/main/bosh_client_secret
  • concourse/main/bosh_client
Credhub
  • concourse/main/credhub_url
  • concourse/main/credhub_username
  • concourse/main/credhub_password
  • concourse/main/credhub_ca_cert
Concourse
  • concourse/main/concourse_url
  • concourse/main/concourse_username
  • concourse/main/concourse_password
  • concourse/main/concourse_ca_cert

Release updates:

Name Version Changed
bosh 263.4.0 yes
bosh-virtualbox-cpi 0.0.11 no
os-conf 18 yes
garden-runc 1.9.4 yes
uaa 52.2 yes
concourse 3.5.0 no
credhub 1.6.1 yes
credhub-importer 1 yes
bosh-aws-cpi 67 yes
bosh-azure-cpi 30 yes
bosh-docker-cpi 0.0.3 no
bosh-google-cpi 25.10.0 no
bosh-openstack-cpi 35 yes
bosh-vsphere-cpi 45 yes

Stemcell update:

Bumped to 3468.1

BUCC v0.1.3

27 Sep 11:23
Compare
Choose a tag to compare

Release updates:

Name Version Changed
bosh 263.2.0 yes
bosh-virtualbox-cpi 0.0.11 no
os-conf 12 yes
garden-runc 1.9.2 yes
uaa 45 yes
concourse 3.5.0 yes
credhub 1.2.0 yes
bosh-aws-cpi 66 yes
bosh-azure-cpi 27 yes
bosh-docker-cpi 0.0.3 no
bosh-google-cpi 25.10.0 yes
bosh-openstack-cpi 33 yes
bosh-vsphere-cpi 44 yes

Stemcell update:

Bumped to 3445.7