* 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?
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`
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
* 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`
* 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
* 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
* 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
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.
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]