-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add CI for docker in Github Actions #1965
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: aojea The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @BenTheElder |
IP_FAMILY: ${{ matrix.ipFamily }} | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting that it does not break here 🤔 |
for reference, it fails here for the cgroup you can get the logs from here https://github.com/aojea/ovn-kubernetes/runs/1512853588?check_suite_focus=true with following error
|
we have a reproducer and a job to test that we don´t break last stable version |
/retest |
c87154a
to
faf7cd1
Compare
continue-on-error: true | ||
|
||
- name: Export logs | ||
if: always() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if: always() | |
if: ${{ always() }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The double curly braces syntax is used in line 56 as well and is in line with the documentation. If this suggestion is accepted the same change should apply to line 88.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, thanks
@@ -20,7 +20,7 @@ package nodeimage | |||
const DefaultImage = "kindest/node:latest" | |||
|
|||
// DefaultBaseImage is the default base image used | |||
const DefaultBaseImage = "kindest/base:v20201130-23777eca" | |||
const DefaultBaseImage = "kindest/base:v20201204-49cad832" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @BenTheElder , however, this doesn't solve the problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where did you pull that from? note: random images in this repo are not supported.
I dont think we missed any bumps merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulled from here https://hub.docker.com/r/kindest/base/tags?page=1&ordering=last_updated , it says updated 11 days ago
/close |
@aojea: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@@ -0,0 +1,86 @@ | |||
name: Compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this we don't guarantee and was a red-herring
@@ -0,0 +1,95 @@ | |||
name: Docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a variant of this we should probably keep somewhere.
It also fixes a bug where the images failed to run after they were created locally
When we added
Support configuring a cgroup root for kubelet #1747
, we checked for podman or docker to remount the cgroups. However, docker in Github doesn't show docker in its cgroup path, causing that the script didn't remounted the cgroups subsystems under /kubelet, hence thekubelet
, that is configured to usecgroup-root: /kubelet
fails to start because there is nothing in that path.Fixes: #1969