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

cmd-kola: also detect --platform= #1461

Conversation

dustymabe
Copy link
Member

This fixes it so that passing --platform= also works.

This fixes it so that passing --platform= also works.
@dustymabe dustymabe force-pushed the dusty-fix-cosa-kola-platform-arg branch from 8f731b5 to 359808b Compare May 19, 2020 22:09
@dustymabe dustymabe changed the title cosa kola: also detect --platform= cmd-kola: also detect --platform= May 19, 2020
@cgwalters
Copy link
Member

Seems OK but I'd hope we can invest a bit more in removing that script instead.

@dustymabe
Copy link
Member Author

Seems OK but I'd hope we can invest a bit more in removing that script instead.

Yep, the relationship with cmd-kola and kola is fragile. No doubt about that.

@jlebon
Copy link
Member

jlebon commented May 20, 2020

One thing that confused me was that I know we do -p=aws right now in the pipeline and was confused how that worked since we just checked for -p. But then looking at the output closely:

kola -p qemu-unpriv --build 31.20200505.3.0 \
  --output-dir tmp/kola-upgrade run-upgrade \
  -p=aws --aws-region=us-east-1 --no-test-exit-error \
  --blacklist-test coreos.ignition.journald-log \
  --qemu-image-dir tmp/kola-qemu-cache -v --find-parent-image

So we were passing -p to kola twice and just relying on the last one winning, which I think this will clean up as well.

Anyway, agreed we should nuke this entirely eventually.
/lgtm

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: arithx, dustymabe, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [arithx,dustymabe,jlebon]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jlebon
Copy link
Member

jlebon commented May 20, 2020

/test sanity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants