Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add acceptance tests #838

Open
lcarva opened this issue Dec 20, 2023 · 0 comments
Open

Add acceptance tests #838

lcarva opened this issue Dec 20, 2023 · 0 comments

Comments

@lcarva
Copy link
Member

lcarva commented Dec 20, 2023

Similarly to the acceptance tests in enterprise-contract/ec-cli, let's add some tests here that execute against the output of services/apps, instead of mocked data.

Acceptance Criteria

  • Create at least one test that executes against the provenace attestation output provided by Tekton Chains.
  • As part of the test execution,
    • Spin up a new Kubernetes-like cluster, e.g. kind
    • Install Tekton Pipelines and Tekton Chains.
    • Spin up an OCI registry.
    • Execute a Pipeline that generates an image which is then signed and attested by Chains.
  • An EC contributor should be able to execute acceptance tests on their laptop without requiring access to a managed service, e.g. AWS account to create a cluster.

Do consider copying the "framework" from ec-cli.

There's quite a bit of work in implementing these acceptance tests, so let's keep the first test very very simple. Things that are out of scope:

  • Identity based signatures (aka keyless)
  • Any sort of Rekor integration
  • Anything that is not strictly necessary to achieve the acceptance criteria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant