cachito icon indicating copy to clipboard operation
cachito copied to clipboard

add integration tests for private repos

Open taylormadore opened this issue 2 years ago • 0 comments

CLOUDBLD-12547

In environments where cachito workers are configured with the credentials necessary to access private repositories, test requests for a private repo using both https and ssh.

Tested here, with a workaround for the test_env_vars changes not being present in downstream: https://container-build-jenkins.engineering.redhat.com/job/tmadore-TEST-cachito-stage-integration-tests/5/console

And where the env is skipped, as local/cachito-test would be: https://container-build-jenkins.engineering.redhat.com/job/tmadore-TEST-cachito-stage-integration-tests/6/console

Signed-off-by: Taylor Madore [email protected]

Maintainers will complete the following section

  • [ ] Commit messages are descriptive enough
  • [ ] Code coverage from testing does not decrease and new code is covered
  • [ ] New code has type annotations
  • [ ] OpenAPI schema is updated (if applicable)
  • [ ] DB schema change has corresponding DB migration (if applicable)
  • [ ] README updated (if worker configuration changed, or if applicable)
  • [ ] Draft release notes are updated before merging

taylormadore avatar Dec 07 '22 20:12 taylormadore