-
Notifications
You must be signed in to change notification settings - Fork 55
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
fix ci make target for dirs with spaces and netctl for kubeadm #292
Conversation
4bb3605
to
eeb1b6f
Compare
build PR |
1 similar comment
build PR |
2040d74
to
bb52cd4
Compare
build PR |
Signed-off-by: Chris Plock <[email protected]> fixing docker run
0571601
to
8a6ed8b
Compare
build PR |
netctl used to be added in the minimal installer, but was removed. The binary is in the netplugin container that is run on every node, so instead of including it in the minimal installer, extract it from the container. Signed-off-by: Chris Plock <[email protected]>
8a6ed8b
to
97512de
Compare
build PR |
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 failure is related to the compressed kernel modules. I'll address it separately. This PR is ready.
LGTM
@dseevr @neelimamukiri: Can you take a look at this, please? We should merge this with two reviews. |
#295 is needed to fix the CI. |
mounts[5]="$src_conf_path:$container_conf_path:Z" | ||
mounts[6]="-v" | ||
mounts[7]="$(pwd)/contiv_cache:/var/contiv_cache:Z" | ||
docker run --rm --net=host "${mounts[@]}" $image_name sh -c "./install/ansible/install.sh $netmaster_param -a \"$ans_opts\" $install_scheduler -m $contiv_network_mode -d $fwd_mode $aci_param $cluster_param $v2plugin_param" |
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.
Nice 👍
netplugin_version=$( | ||
sed '/contiv_network_version/!d;s/.*\: \?"\(.*\)".*/\1/' \ | ||
install/ansible/env.json) | ||
docker rm netplugin-tmp >/dev/null 2>/dev/null || : |
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.
&>
? 2>&1
?
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.
yeah, that's shorter,can change if the CI fails again
@@ -45,7 +45,7 @@ cp -rf scripts/generate-certificate.sh $output_dir/install | |||
chmod +x $output_dir/install/genInventoryFile.py |
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.
Do we need to quote everywhere$output_dir
is used?
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.
output_dir is $(mktemp -d), which wont' have spaces . . unless TMPDIR is set and has spaces, for this PR, assuming it's not set to a dir with spaces
build PR |
1 similar comment
build PR |
No description provided.