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

Introduce testing that mirrors the OCO pipeline’s runtime use of preflight #646

Open
komish opened this issue May 18, 2022 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@komish
Copy link
Contributor

komish commented May 18, 2022

Borrow the pipeline’s task directly and call it in our tests, but overall this ensures that our execution of preflight (as a binary, container, etc.) does not change expectations that the pipeline has.

https://github.com/redhat-openshift-ecosystem/operator-pipelines/blob/main/ansible/roles/operator-pipeline/templates/openshift/tasks/preflight.yml

@komish komish added the kind/feature Categorizes issue or PR as related to a new feature. label May 18, 2022
@komish komish self-assigned this Jun 2, 2022
@komish
Copy link
Contributor Author

komish commented Jun 8, 2022

There's now a script that runs the check operator endpoint with more environment variables, and asserts that those variables would produce specific outputs. It's not running in e2e for the moment, but we can use it for testing until we decide how we want to integrate it with openshift/release.

Unassigning this for the moment, to be picked up later.

@komish komish removed their assignment Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant