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.

prowgen multiple targets #79

@mjudeikis

Description

@mjudeikis

Our jobs depends on multiple targets.
In example running job X it requires multiple targets to be ran for it:

    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

In this case e2e-upgrade-v1.2 requires all images to be available, and template rbac to be available too. But prowgen when generating step for:

- artifact_dir: /tmp/artifacts
  as: e2e-upgrade-v1.2
  commands: ARTIFACT_DIR=/tmp/artifacts SOURCE=v1.2 make upgrade
  secret: 
    name: azure
    mount_path: /usr/secrets
  container:
    from: src

Does not allow to all additional targets :/

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