Skip to content

Update CRI tests to build and push to gcs#4586

Merged
dmcgowan merged 2 commits intocontainerd:masterfrom
dmcgowan:update-cri-push
Sep 28, 2020
Merged

Update CRI tests to build and push to gcs#4586
dmcgowan merged 2 commits intocontainerd:masterfrom
dmcgowan:update-cri-push

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

This enables to the CRI e2e tests to use the build from a PR

WIP: for testing

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 25, 2020

Build succeeded.

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 25, 2020

Build succeeded.

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 25, 2020

Build succeeded.

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 25, 2020

Build succeeded.

This enables to the CRI e2e tests to use the build from a PR

Signed-off-by: Derek McGowan <[email protected]>
@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 25, 2020

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 25, 2020

Build succeeded.

@dmcgowan
Copy link
Copy Markdown
Member Author

/retest

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-build

@dmcgowan
Copy link
Copy Markdown
Member Author

/test pull-containerd-node-e2e

@k8s-ci-robot
Copy link
Copy Markdown

@dmcgowan: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-containerd-node-e2e 65df8db link /test pull-containerd-node-e2e

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

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. I understand the commands that are listed here.

Comment thread Makefile
cri-release: releases/$(CRIRELEASE).tar.gz
@echo "$(WHALE) $@"
@cd releases && sha256sum $(CRIRELEASE).tar.gz >$(CRIRELEASE).tar.gz.sha256sum
@cd releases && sha256sum $(CRIRELEASE).tar.gz >$(CRIRELEASE).tar.gz.sha256sum && ln -sf $(CRIRELEASE).tar.gz cri-containerd.tar.gz
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the links are needed by existing scripts i presume?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assuming those scripts do not care about the SHA file

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now just uses the symlink to resolve the latest, but I think it makes more sense to sha256 check the actual file rather than the link.

Comment thread test/build.sh
# make push TARBALL_PREFIX=cri-containerd-cni INCLUDE_CNI=true CUSTOM_CONTAINERD=true

# Build CRI+CNI release
make BUILDTAGS="seccomp selinux no_aufs no_btrfs no_devmapper no_zfs" cri-cni-release
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah cool. we do no_btrfs here so we don't need to install it above.

Comment thread test/push.sh
# TARBALL is the tarball name.
TARBALL=${TARBALL:-"cri-containerd.tar.gz"}
# LATEST is the name of the latest version file.
LATEST=${LATEST:-"latest"}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want the suffix .txt? does it render fine in a browser (not sure if it will make a diff)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not really sure how these files are used, this was one thing I couldn't track down in the existing setups. I am just leaving them alone, but cleaning it up after it is working would be great. It looks like we will have to pull in our own e2e configuration anyway. I'm not sure if we can control the configuration script from this repo though.

@dims
Copy link
Copy Markdown
Member

dims commented Sep 28, 2020

LGTM @dmcgowan

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmcgowan
Copy link
Copy Markdown
Member Author

Merging, the e2e tests aren't expected to pass yet

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants