15 Commits

Author SHA1 Message Date
Gareth Clay
60717abc9e Pipeline refresh
* Migrate PR pipeline definition into main repo
* Move credentials from LastPass to CredHub
* Reference docker images in tasks to allow use of `fly execute`
* Make use of var templating everywhere to make `fly execute` easier
still
* Move pipelines to `app-broker` Concourse team
* Separate CI management scripts from Concourse task scripts
* Template git-repo-staging user data
* .envrc
* Fix `InMemoryServiceInstanceBindingStateRepositoryTest` failure when
the time rolls over into a new minute during test execution :D

closes #381

(cherry picked from commit 7ca3239ba6)
2020-06-15 10:26:38 +01:00
Gareth Clay
62fe2b6b90 Perform staging version bumps in a branch
To prevent clashes with our Github branch protection rules

closes #388

(cherry picked from commit 1d3ff3d371)
2020-06-15 10:21:28 +01:00
Gareth Clay
dd83bc356f Updates to the staging process
* Pipeline now fetches tags so the task doesn't have to
* Staging jobs now take git versions that have passed ATs. This avoids
the need to run all the tests again, taking staging down from ~20 mins
to ~2
* Version bumps are done on a branch to avoid pushing to protected
`master branch`
* Debug output and script tidying

(cherry picked from commit f2ec97d977)
2020-06-15 10:21:14 +01:00
Alberto Rios
14d5d26bbe Increasing gradle memory 2019-11-27 18:03:13 +01:00
Alberto Rios
bb1a22148a Adding 1.1.x pipeline 2019-11-26 10:43:30 +01:00
Alberto Rios
c5fef6a3e0 Renaming ATs git-repo location 2019-08-28 18:11:24 +02:00
Alberto Rios
7b8c877cf0 Adding release pipeline
Integrating existing pipeline with a new release pipeline

It is composed by three different groups:

- The first group is a basic build so that we can always be sure which build we will be getting when releasing, followed by the acceptance tests.

- The second group are the releases.

- The last group is the CI image used by the different tasks.
2019-08-28 17:44:26 +02:00
Alberto Rios
283819aeec Adding concourse pipeline for ATs 2019-05-16 11:36:55 +02:00
Alberto Rios
421aa0d1d0 Removing ATs environment from CircleCI 2019-05-15 12:07:30 +02:00
Ollie Hughes
1799efdff4 Add command for redeploying CF on bosh lite
This includes the ops file to enable Zero Down Time deploy
2019-01-10 18:47:30 -06:00
Ollie Hughes
97f3a9d2e0 Use qualifiers when setting up cf deployer beans
This allows consuming libraries to provide beans of the same type without conflict
2018-12-20 09:03:11 -06:00
Ollie Hughes
e9010c2851 Add weekly job to cleanup bosh blobstore to avoid running out of disk space 2018-12-10 12:16:11 -06:00
Ollie Hughes
fc349c20de Automate BBL Bosh environment creation
Bosh environment now can be fully managed using variables stored in lastpass
Stateful files are base64 encoded instead of being generated via template
2018-09-21 15:56:42 +01:00
Ollie Hughes
eac0b093aa Re-enable acceptance tests
repave bosh lite environment
update ci readme to include repave instructions
change `getServiceInstace()` so that no exception thrown if none found
2018-08-31 16:11:20 +01:00
Ollie Hughes
9ba46e1578 Add configuration to stop and start a GCP host BOSH Lite in the CircleCI pipeline
Template credentials required by BOSH from Circle CI environment variables
Script to create CircleCI environments from file in LastPass
Ensure only a single job runs at a time so that there is not a deadlock over BOSH lite environment (in future multiple envs will be enabled)
Update Docker file to include bbl and bosh cli
Ensure space and org created in CF before running test
Run Unit Tests and ATs as seperate steps
Reduce use of .block() in test set up
check environment variables exist before creating in circleci
use springcloudservices docker repo
Use different property prefix for ATs to avoid clashing
Fix deleteServiceInstance so it checks if SI present first to avoid error
Ensure logging is configured to not leak secrets in CircleCI output
Add script to wait for BOSH to release all it's locks before continuing
[closes #45]
2018-08-20 18:00:34 +01:00