Files
spring-lifecycle-smoke-tests/ci/README.adoc
2023-07-04 09:41:06 +02:00

33 lines
903 B
Plaintext

== Concourse pipeline
=== Updating
To add a new smoke test, modify `ci/smoke-tests.yml`.
An updated pipeline is then generated using https://carvel.dev/ytt[`ytt`].
With `ytt` installed, run the following command:
[source]
----
ytt -f ci/pipeline-template/schema.yml -f ci/pipeline-template/pipeline.yml --data-values-file ci/smoke-tests.yml > ci/pipeline.yml
----
== Deploying
Ensure that you've set up the `spring-checkpoint-restore-smoke-tests` target and can login:
[source]
----
$ fly -t spring-checkpoint-restore-smoke-tests login -n spring-checkpoint-restore-smoke-tests -c https://ci.spring.io
----
Deploy the pipeline using the following command:
[source]
----
$ fly -t spring-checkpoint-restore-smoke-tests set-pipeline -p spring-checkpoint-restore-smoke-tests-3.2.x -c ci/pipeline.yml
----
NOTE: This assumes that you have Vault integration configured with the appropriate secrets.