Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

release: 1.5.5 backport fixes #1530

Merged
merged 6 commits into from
May 3, 2019

Conversation

jcvenegas
Copy link
Member

Changes:

2a3cbb9 (James O. D. Hunt, 4 days ago)
CI: Add explicit static check script vendor test

Update the check_vendor() function in the static check script to run our
current vendoring tool (dep) in check mode. This will ensure our
vendoring does not get silently broken [1].

Fixes #1506.

[1] - See for example kata-containers/runtime#1442.

Signed-off-by: James O. D. Hunt [email protected]
(cherry picked from commit 830983f)
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]

23d8194 (James O. D. Hunt, 4 days ago)
CI: Refactor static check vendor test

Modify the check_vendor() function in the static check script. Rather
than exiting the function as early as possible, change the logic to allow
follow on future checks to be added.

Signed-off-by: James O. D. Hunt [email protected]
(cherry picked from commit 50f3b03)
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]

bd82330 (Julio Montes, 6 days ago)
integration/docker: improve memory test

Consume twice the memory hot added to the container to guarantee the out of memory error.

fixes #1504

Signed-off-by: Julio Montes [email protected]
(cherry picked from commit bb49514)
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]

3855dc8 (James O. D. Hunt, 6 days ago)
kata-manager: Check for dependencies earlier

The kata-manager script needs to download git repos. But if git isn't
available, it can fall back to using curl or wget. However, if none of
these tools are available, it should exit before any changes are made to
the system.

Note: The script could install one of the tools of course. However, all
known Linux distro "default installs" provide at least one of these tools,
so this scenario should only be hit on very minimal systems. In that case,
install one of the tools the error mentions and re-run
kata-manager.

Fixes #1502.

Signed-off-by: James O. D. Hunt [email protected]
(cherry picked from commit cfa9c82)
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]

3f0c8e7 (Salvador Fuentes, 10 days ago)
cri-o: tests: use devicemapper on all ubuntu versions

Do not restrict ubuntu version to run with devicemapper. We have now moved
most of our jobs to ubuntu 18.04 and we were not testing with devicemapper.
With this change, we will test cri-o with devicemapper on all ubuntu
versions.

Fixes: #1493.

Signed-off-by: Salvador Fuentes [email protected]
(cherry picked from commit 77a8cd5)
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]

f1e79cc (Xu Wang, 2 weeks ago)
CI: static check for openstack git URL

Fixes: #1483

Use git ls-remote instead of curl for git URL check

Signed-off-by: Xu Wang [email protected]
(cherry picked from commit 0d28f77)
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]

gnawux and others added 6 commits May 2, 2019 15:05
Fixes: kata-containers#1483

Use git ls-remote instead of curl for git URL check

Signed-off-by: Xu Wang <[email protected]>
(cherry picked from commit 0d28f77)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Do not restrict ubuntu version to run with devicemapper.
We have now moved most of our jobs to ubuntu 18.04
and we were not testing with devicemapper.
With this change, we will test cri-o with devicemapper
on all ubuntu versions.

Fixes: kata-containers#1493.

Signed-off-by: Salvador Fuentes <[email protected]>
(cherry picked from commit 77a8cd5)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
The `kata-manager` script needs to download `git` repos. But if `git`
isn't available, it can fall back to using `curl` or `wget`. However, if
none of these tools are available, it should exit before any changes are
made to the system.

Note: The script _could_ install one of the tools of course. However,
all known Linux distro "default installs" provide at least one of these
tools, so this scenario should only be hit on very minimal systems. In
that case, install one of the tools the error mentions and re-run
`kata-manager`.

Fixes kata-containers#1502.

Signed-off-by: James O. D. Hunt <[email protected]>
(cherry picked from commit cfa9c82)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Consume twice the memory hot added to the container to guarantee
the `out of memory` error.

fixes kata-containers#1504

Signed-off-by: Julio Montes <[email protected]>
(cherry picked from commit bb49514)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Modify the `check_vendor()` function in the static check script. Rather
than exiting the function as early as possible, change the logic to
allow follow on future checks to be added.

Signed-off-by: James O. D. Hunt <[email protected]>
(cherry picked from commit 50f3b03)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Update the `check_vendor()` function in the static check script to run
our current vendoring tool (`dep`) in check mode. This will ensure our
vendoring does not get silently broken [1].

Fixes kata-containers#1506.

[1] - See for example kata-containers/runtime#1442.

Signed-off-by: James O. D. Hunt <[email protected]>
(cherry picked from commit 830983f)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
@jcvenegas
Copy link
Member Author

/test

@chavafg chavafg merged commit 743347e into kata-containers:stable-1.5 May 3, 2019
@jcvenegas jcvenegas deleted the fixes-bp-1.5.5 branch May 22, 2019 18:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants