Commit Graph

35 Commits

Author SHA1 Message Date
Gareth Clay
3e0abdf26f Migrate to new image repositories 2024-06-05 11:03:21 -04:00
Gareth Clay
94e297851e Retry CF API login (#879)
* Sometimes cf login fails - this WIP will perform a retry
* But sometimes login succeeds and then a later command fails. We might need to extract the retry into a function and use it on every cf command?
2023-10-09 11:35:03 +02:00
Gareth Clay
8a51619daf Switch to concourse-release-scripts image
The jar file is no longer publicly available.
2023-10-03 10:35:26 +01:00
Alberto C. Ríos
6f2453ac5a Moving pipelines to shepherd (#869) 2023-10-03 10:17:29 +02:00
Gareth Clay
674c41c614 Don't use rich Gradle output for ATs
Because it makes the output in the Concourse UI messy
2023-05-03 10:01:45 +01:00
Gareth Clay
ebf1fc66f3 App Broker 2.0.x
Major dependencies updates:
* Spring Boot 3
* Spring Framework 6
* Spring Cloud Open Service Broker 4.0.0-SNAPSHOT
* Java 17
* Gradle 7.6

Dockerfile:
* Update to Ubuntu Jammy
* Bump to OpenJDK 17
* Remove usage of deprecated `apt-key` tool
* Bump all other tools to latest versions (bosh, bbl, credhub etc.)

ATs:
* Pass required java buildpack env var to use Java 17 on CF
* Update `cf login` invocation to work with cf-cli v8

Small improvements:
* Reliable datetime comparison in `InMemoryServiceInstanceStateRepositoryTest`
* Update `.editorconfig` to match existing style
* Add `.sdkmanrc`
2022-12-08 09:20:41 +00:00
Gareth Clay
9a4bbfabd1 Upgrade to Gradle 7.5.1
Also default to running tasks in parallel
2022-10-13 17:09:45 +01:00
Alberto C. Ríos
4d9ba89034 Reverting distribution repository
To re-enable snapshot publishing
2022-01-10 13:26:14 +01:00
Alberto C. Ríos
36c13258f9 Upating build dist repository 2022-01-07 12:57:45 +01:00
Alberto C. Ríos
56364e4a5d Upgrading dependencies for 1.4
Updating pipelines
2022-01-05 12:43:44 +01:00
Alberto C. Ríos
6bb90cc072 Scaling vm types
By default, cf-deployment uses minimal vm type, scaling the main components up vertically
to use large instead.
2021-09-23 14:58:40 +02:00
Abel Salgado Romero
d347393b61 Remove Bintray from release pipelines 2021-08-19 17:55:52 +01:00
Gareth Clay
a329ccf849 Scale Toolsmiths environment for ATs
* Scale to 3 Diego cells to handle AT workload
* Rich Gradle output for ATs in CI
* Clean more things in clean-env.sh
2021-05-10 16:54:46 +01:00
Gareth Clay
04b64dc146 Create test orgs and spaces before ATs run
* Also remove unnecessary `credhub login` step
2021-05-10 16:54:46 +01:00
Gareth Clay
bd84a35a8f Use Toolsmith environment for running ATs 2021-05-07 15:12:08 +01:00
Roy Clarkson
b7e27cd84a Remove 'set -u' parameter because staging script is failing on an unbound var
Staging for releases is failing on an unbound variable. This is because there
is no suffix to append in the new Spring version format.

/opt/concourse-java.sh: line 81: $2: unbound variable
2020-11-19 16:18:05 -05:00
Yuxin Bai
c16b20f567 Trying to set git config with CLI 2020-11-18 15:27:12 -05:00
Gareth Clay
6cc7deb9be Updates based on PR feedback 2020-07-09 14:44:15 +01:00
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