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

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

Open
mjudeikis opened this issue Feb 19, 2019 · 0 comments
Open

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

mjudeikis opened this issue Feb 19, 2019 · 0 comments

Comments

@mjudeikis
Copy link
Contributor

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

@stevekuznetsov stevekuznetsov changed the title [rfe] targets dependency management [rfe] allow test targets to depend on built images Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant