Commit Graph

17 Commits

Author SHA1 Message Date
Gareth Clay
81ec2f15a3 Update publication config
* Allows publication to a custom maven repo, as we do in CI tasks
* Adds `SKIP_TESTS` (defaults to `false`) param for quicker testing
of CI build task with `fly execute`
2020-07-09 14:44:15 +01:00
Gareth Clay
7ca3239ba6 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
2020-06-15 09:50:34 +01:00
Gareth Clay
1d3ff3d371 Perform staging version bumps in a branch
To prevent clashes with our Github branch protection rules

closes #388
2020-06-11 15:57:07 +01:00
Gareth Clay
6fed6572cb Fix CI log interleaving
* Stop logs from parallel tests interleaving with each other
* Cut down on noise and reduce page load times by only logging std
streams for tests that fail
* @Validated AT cloud foundry configuration
* Remove unnecessary Gradle tasks from the AT job since they've already
been performed as part of `build`
* Stop tests and javadoc Gradle tasks being run against docs subproject
and causing failures

#380
2020-06-09 13:52:13 -04:00
Gareth Clay
f2ec97d977 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
2020-06-08 15:06:04 -04:00
Alberto Rios
eafa10acd9 Increasing gradle memory 2019-11-27 18:02:46 +01:00
Alberto Rios
8a4364b66f Adding 1.1.x pipeline 2019-11-26 10:37:28 +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