Skip to content
Snippets Groups Projects
Commit 1229c3b3 authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

fixes typos.

parent 2bc8cc83
Branches
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ _E_TITLE='\033[0;0m' ...@@ -5,6 +5,7 @@ _E_TITLE='\033[0;0m'
_init() { _init() {
source "${HOME}/.ci-wrappers/config" source "${HOME}/.ci-wrappers/config"
CI_DOCKER_ENGINE_HOME="${CI_WRAPPERS_HOME}/vagrant-docker-engine"
} }
var_expand() { var_expand() {
...@@ -88,7 +89,6 @@ install-ci-software() { ...@@ -88,7 +89,6 @@ install-ci-software() {
provision-docker-engine() { provision-docker-engine() {
_init _init
# _check_variables VAGRANT_HTTP_PROXY VAGRANT_HTTPS_PROXY VAGRANT_NO_PROXY # _check_variables VAGRANT_HTTP_PROXY VAGRANT_HTTPS_PROXY VAGRANT_NO_PROXY
CI_DOCKER_ENGINE_HOME="${CI_WRAPPERS_HOME}/vagrant-docker-engine"
echo "Docker Vagrant Home: ${CI_DOCKER_ENGINE_HOME}" echo "Docker Vagrant Home: ${CI_DOCKER_ENGINE_HOME}"
if [ ! -d "${CI_DOCKER_ENGINE_HOME}" ]; then if [ ! -d "${CI_DOCKER_ENGINE_HOME}" ]; then
git clone -q https://github.com/ebpro/VagrantDockerProvisioningUsage.git "${CI_DOCKER_ENGINE_HOME}" && git clone -q https://github.com/ebpro/VagrantDockerProvisioningUsage.git "${CI_DOCKER_ENGINE_HOME}" &&
...@@ -102,7 +102,7 @@ provision-docker-engine() { ...@@ -102,7 +102,7 @@ provision-docker-engine() {
docker-vagrant() { docker-vagrant() {
_init _init
CI_DOCKER_ENGINE_HOME="${CI_WRAPPERS_HOME}/vagrant-docker-engine" [[ ! -d "${CI_DOCKER_ENGINE_HOME}" ]] { echo "Vagrant Docker not provisioned run : provision-docker-engine"; exit 0; }
CI_DOCKER_ENGINE_ID=$(vagrant global-status|grep "$CI_DOCKER_ENGINE_HOME"|cut -d ' ' -f 1) CI_DOCKER_ENGINE_ID=$(vagrant global-status|grep "$CI_DOCKER_ENGINE_HOME"|cut -d ' ' -f 1)
# shellcheck disable=SC2068 # shellcheck disable=SC2068
vagrant $@ "$CI_DOCKER_ENGINE_ID" vagrant $@ "$CI_DOCKER_ENGINE_ID"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment