Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

[rfe] allow test targets to depend on built images #276

@mjudeikis

Description

@mjudeikis

Ou test jobs are depending on multiple targets to be completed. In example:

    name: pull-ci-openshift-openshift-azure-master-e2e-upgrade-v1.2
    rerun_command: /test e2e-upgrade-v1.2
    spec:
      containers:
      - args:
        - --artifact-dir=$(ARTIFACTS)
        - --give-pr-author-access-to-namespace=true
        - --target=[images]
        - --target=[output:stable:azure-controllers]
        - --target=[output:stable:etcdbackup]
        - --target=[output:stable:metricsbridge]
        - --target=[output:stable:sync]
        - --target=rbac
        - --target=e2e-upgrade-v1.2

Upgrade job e2e-upgrade-v1.2 job is building OSA cluster and testing upgrade process from stable code to testing code.
In this example, cluster creation requires images to be available and images have to be available to be pulled from outside (hence rbac template to create a policy to open images for temporary namespace)

        - --target=[output:stable:azure-controllers]
        - --target=[output:stable:etcdbackup]
        - --target=[output:stable:metricsbridge]
        - --target=[output:stable:sync]
        - --target=rbac

In this case, we need to be able to specify that the target e2e-upgrade-v1.2 has a hard dependency on multiple targets to be completed before.

Related: openshift/ci-operator-prowgen#79

/cc @petr-muller @stevekuznetsov @droslean

Metadata

Metadata

Assignees

No one assigned

    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