镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

CI: More useful checks? #6

Open

Description

@sadlerap

Our current CI testing for conformance testing isn't going to work long-term in my opinion. Running against an empty cluster isn't going to yield meaningful results: while it does run the code, execution stops as soon as it actually tries to resolve a service binding since there isn't anything doing the resolution.

As it stands, I think we have a few options for replacements:

I'm not super happy about the second option, since testing tests doesn't seem like a good path to me. The other options feel like good places for improvement.

Thoughts?

Activity

  1. scothis commented on Jul 28, 2022

    @scothis
    Member

    Can we run the conformance tests against a pinned "latest" release of the reference implementation?

    Any particular implementation will likely have most test pass (hopefully), but there may also be tests that fail. This is ok as long as we can capture that a particular test is expected to fail. Passing this repo's CI means that the conformance test that are expected to pass, pass; and the test that are expected to fail, fail.

  2. sadlerap commented on Jul 29, 2022

    @sadlerap
    ContributorAuthor

    When we make a release of the reference implementation, this should be feasible. We should leave it to the implementations that we test to declare which tests they expect to pass and fail.

  3. baijum commented on Jul 29, 2022

    @baijum
    Contributor

    which tests they expect to pass and fail.

    For implementations to selectively run conformance tests, we can add different classifications in the form of Behave tags. Few examples:

    • @core
    • @direct-secret-reference
    • @workload-resource-mapping
    • @rbac
    • @webhook
    • @immutable-resource
    • @label-selector
    • @kube.version.1.21
    • @kube.version.1.22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions