Skip to content

Switch to using podman, cleanup build logic#72

Merged
kubevirt-bot merged 8 commits into
kubevirt:mainfrom
maya-r:docker-not-needed
Jul 27, 2022
Merged

Switch to using podman, cleanup build logic#72
kubevirt-bot merged 8 commits into
kubevirt:mainfrom
maya-r:docker-not-needed

Conversation

@maya-r
Copy link
Copy Markdown
Contributor

@maya-r maya-r commented Jul 12, 2022

Release note:

Switch build system to use podman instead of docker

maya-r added 5 commits July 10, 2022 12:36
Signed-off-by: Maya Rashish <mrashish@redhat.com>
We don't use it for testing. One less use of docker.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
Signed-off-by: Maya Rashish <mrashish@redhat.com>
Signed-off-by: Maya Rashish <mrashish@redhat.com>
Note that the kubevirtci docker is already podman, so there's
no change in the ssh.sh node01 code. It's just helpful to know
that we make no references to docker.

We don't relabel the directory to avoid permission errors on
rootless podman.

We don't validate tls when pushing to local repository, as it
doesn't have a valid certificate.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
@kubevirt-bot kubevirt-bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/M labels Jul 12, 2022
@kubevirt-bot kubevirt-bot requested review from awels and brybacki July 12, 2022 14:51
@maya-r
Copy link
Copy Markdown
Contributor Author

maya-r commented Jul 17, 2022

/retest

Having podman on the CI has proven risky - it is breaking random
other CI lanes. We will transition gradually by supporting both
on all our repos & then moving CI images one by one.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
Comment thread hack/build/build-functest.sh Outdated
Comment thread hack/run-ci.sh Outdated
@brybacki
Copy link
Copy Markdown
Contributor

looks good, just two questions in review comments

Unclear why we do this, and it breaks the build.
It might be a problem introduced by using a newer image and Go version.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
@maya-r maya-r force-pushed the docker-not-needed branch from c9f80e6 to d8044e8 Compare July 25, 2022 10:58
@maya-r
Copy link
Copy Markdown
Contributor Author

maya-r commented Jul 25, 2022

Edited to point out we don't depend on any project-infra PR, I forgot to remove that.
c6e0641 is meant to allow running with docker still.

@brybacki
Copy link
Copy Markdown
Contributor

Looks like the memory set in config.sh does not work because it is done too late. So your addition to ci script was actually good.

@brybacki
Copy link
Copy Markdown
Contributor

/test pull-kvp-functional-test

This previously didn't work because hack/cluster-up/common.sh is
run first. Change the order so we successfully override the size.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
@brybacki
Copy link
Copy Markdown
Contributor

/approve

@kubevirt-bot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brybacki

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 27, 2022
@brybacki
Copy link
Copy Markdown
Contributor

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 27, 2022
@kubevirt-bot kubevirt-bot merged commit a198969 into kubevirt:main Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants