Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

tests: install kata components from master#243

Merged
chavafg merged 1 commit intokata-containers:masterfrom
devimc:topic/testMaster
Mar 13, 2019
Merged

tests: install kata components from master#243
chavafg merged 1 commit intokata-containers:masterfrom
devimc:topic/testMaster

Conversation

@devimc
Copy link
Copy Markdown

@devimc devimc commented Mar 12, 2019

install kata containers components from master and run osbuilder tests

fixes #242

Signed-off-by: Julio Montes julio.montes@intel.com

@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 12, 2019

/test

@devimc devimc changed the title tests: run tests setup.sh tests: install kata components from master Mar 12, 2019
@devimc devimc force-pushed the topic/testMaster branch from fcd582a to 5eca0cb Compare March 12, 2019 16:32
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 12, 2019

/test

@devimc devimc force-pushed the topic/testMaster branch from 5eca0cb to e8f94f0 Compare March 12, 2019 17:28
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 12, 2019

/test

@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 12, 2019

cc @jcvenegas

chronic $mgr install-docker-system
"${tests_repo_dir}/.ci/setup.sh"
mkdir -p /etc/kata-containers/
sudo cp -a /usr/share/defaults/kata-containers/configuration.toml /etc/kata-containers/configuration.toml
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.

Why is needed to copy /etc/kata-containers/ ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think this is because the script makes use of the kata-manager.sh script elsewhere. And that script assumes you have a local /etc/kata-containers/configuration.toml file that it can make changes to.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@jodh-intel you're right

if [ -z "${KATA_DEV_MODE:-}" ]; then
chronic $mgr remove-docker
chronic $mgr install-docker-system
"${tests_repo_dir}/.ci/setup.sh"
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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's worth pointing out here the subtle distinction: the kata-manager.sh script installs packages built from master, whereas this PR is allowing components to be built from master (at the point before they are packaged ;)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@jcvenegas thanks, let me try with install_kata.sh

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@jcvenegas no, install_kata.sh didn't work because there are a lot of build dependencies

if [ -z "${KATA_DEV_MODE:-}" ]; then
chronic $mgr remove-docker
chronic $mgr install-docker-system
"${tests_repo_dir}/.ci/setup.sh"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's worth pointing out here the subtle distinction: the kata-manager.sh script installs packages built from master, whereas this PR is allowing components to be built from master (at the point before they are packaged ;)

chronic $mgr install-docker-system
"${tests_repo_dir}/.ci/setup.sh"
mkdir -p /etc/kata-containers/
sudo cp -a /usr/share/defaults/kata-containers/configuration.toml /etc/kata-containers/configuration.toml
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think this is because the script makes use of the kata-manager.sh script elsewhere. And that script assumes you have a local /etc/kata-containers/configuration.toml file that it can make changes to.

@devimc devimc force-pushed the topic/testMaster branch from e8f94f0 to 784bce9 Compare March 13, 2019 14:54
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 13, 2019

/test

@devimc devimc force-pushed the topic/testMaster branch from 784bce9 to d564283 Compare March 13, 2019 15:11
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 13, 2019

/test

@devimc devimc force-pushed the topic/testMaster branch from d564283 to 6bb3a51 Compare March 13, 2019 15:31
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 13, 2019

/test

@devimc devimc force-pushed the topic/testMaster branch from 6bb3a51 to 0d59ba3 Compare March 13, 2019 16:23
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 13, 2019

/test

@devimc devimc force-pushed the topic/testMaster branch from 0d59ba3 to c1c9155 Compare March 13, 2019 16:28
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 13, 2019

/test

build and install kata containers components from master and
run osbuilder tests.

fixes kata-containers#242

Signed-off-by: Julio Montes <julio.montes@intel.com>
@devimc devimc force-pushed the topic/testMaster branch from c1c9155 to 35588dd Compare March 13, 2019 16:47
@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 13, 2019

/test

@jodh-intel
Copy link
Copy Markdown

One of the Travis jobs had stalled (the other passed), so I've restarted it...

@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 13, 2019

@jodh-intel thanks
@jcvenegas please take a look

@chavafg chavafg merged commit da8101a into kata-containers:master Mar 13, 2019
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.

tests: install kata components from master

4 participants