Skip to content

Files

Latest commit

author
Marcin Kubica
Dec 23, 2022
d5f8ab1 · Dec 23, 2022

History

History
30 lines (24 loc) · 840 Bytes

end_to_end_testing.md

File metadata and controls

30 lines (24 loc) · 840 Bytes

End to end (e2e) testing

Additional module in terraform-modules for e2e testing

Use cases:

  • continuous integration
  • new features
  • disaster recovery testing

How to use:

setup and logon with gcloud auth

gcloud auth login && gcloud auth application-default login

Setup fly

fly login -t <gke_name> -c https://<your concourse url> -n <your team default:main>

Execute

Use terraform or see example terragrunt code in terragrunt/concourse-wg-ci-test

Troubleshooting

Failure due to wrong credhub encryption key.

failed to interpolate task config:
Get "https://credhub.concourse.svc.cluster.local:9000/api/v1/data?name-like=%2Fconcourse%2Fmain%2Fe2e-test%2Fcredhub-cli-tf-81a16e": 
dial tcp 10.108.6.95:9000: connect: connection refused (after 5 retries)