Skip to content

Conversation

@cevich
Copy link
Member

@cevich cevich commented Apr 2, 2019

Previously libpod CI was fairly straight-forward, run unit and
integration tests in a standard set of 3 VMs. Off on the side was a
single special case of running tests as an ordinary user. There is a
desire to stop using the PAPR system to support testing inside of a
container.

Since having two special cases potentially invites more
down the road, make provisions to handle them more gracefully. This
commit introduces an environment variable: $SPECIALMODE. It's
value has the following meanings within the CI scripts:

Mode 'none': Nothing special, business as usual (default)
Mode 'rootless': Rootless testing
Mode 'in_podman': Build container, run integration tests in it.

This will make adding additional special-cases later easier, as well as
extending the special cases in a Matrix across multiple OS's.

Signed-off-by: Chris Evich [email protected]

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 2, 2019
@cevich cevich force-pushed the podman_in_podman branch 2 times, most recently from aef00cf to 7f9f45a Compare April 2, 2019 16:39
@cevich cevich force-pushed the podman_in_podman branch 4 times, most recently from 953aaf3 to 9ccb82d Compare April 2, 2019 19:34
@cevich cevich changed the title WIP: Cirrus: Support special-case modes of testing Cirrus: Support special-case modes of testing Apr 2, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 2, 2019
@cevich cevich force-pushed the podman_in_podman branch from 9ccb82d to 477d06a Compare April 2, 2019 20:15
@baude baude requested review from baude and removed request for rhatdan April 2, 2019 20:15
@baude
Copy link
Member

baude commented Apr 2, 2019

LGTM

@mheon
Copy link
Member

mheon commented Apr 2, 2019

LGTM!

@mheon
Copy link
Member

mheon commented Apr 2, 2019

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cevich, mheon

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 2, 2019
@mheon
Copy link
Member

mheon commented Apr 2, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 2, 2019
@mheon
Copy link
Member

mheon commented Apr 2, 2019

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 2, 2019
@cevich
Copy link
Member Author

cevich commented Apr 2, 2019

Ref: first attempt passing tests

@cevich cevich force-pushed the podman_in_podman branch from 477d06a to 3f6e13d Compare April 2, 2019 20:39
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Apr 2, 2019
@cevich cevich force-pushed the podman_in_podman branch from 3f6e13d to 4f9d774 Compare April 3, 2019 13:52
Previously libpod CI was fairly straight-forward, run unit and
integration tests in a standard set of 3 VMs.  Off on the side was a
single special case of running tests as an ordinary user.  There is a
desire to stop using the PAPR system to support testing inside of a
container.

Since having two special cases potentially invites more
down the road, make provisions to handle them more gracefully.  This
commit introduces an environment variable:  ``$SPECIALMODE``.  It's
value has the following meanings within the CI scripts:

Mode 'none': Nothing special, business as usual (default)
Mode 'rootless': Rootless testing
Mode 'in_podman': Build container, run integration tests in it.

This will make adding additional special-cases later easier, as well as
extending the special cases in a Matrix across multiple OS's.

Signed-off-by: Chris Evich <[email protected]>
@mheon
Copy link
Member

mheon commented Apr 3, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2019
@cevich cevich force-pushed the podman_in_podman branch from 4f9d774 to 599714d Compare April 3, 2019 13:58
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2019
@cevich
Copy link
Member Author

cevich commented Apr 3, 2019

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 3, 2019
@baude
Copy link
Member

baude commented Apr 3, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2019
@openshift-merge-robot openshift-merge-robot merged commit 2ad5f5c into containers:master Apr 3, 2019
@cevich cevich deleted the podman_in_podman branch June 30, 2021 18:11
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants