Commit 8a5e608f authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

.gitlab-ci.yml

parent a58e7fd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,4 +43,4 @@ ansible-lint:
  image: registry.cyberbrain.pw/ansible/ansible
  script:
    - sh setup.sh
    - find ./kubespray -maxdepth 1 -mindepth 1 -name \*.yml -a -not -name requirements.yml -a -not -name .gitlab-ci.yml -type f -print0 | xargs -0 ansible-lint -v -x '204' -x '301' -x '305' -x '401'
    - cd ./kubespray; find . -maxdepth 1 -mindepth 1 -name \*.yml -a -not -name .gitlab-ci.yml -type f -print0 | xargs -0 ansible-lint -v -x '204' -x '301' -x '305' -x '401'
+1 −1
Original line number Diff line number Diff line
#!/usr/bin/env sh

git submodule add --name kubespray --depth 1 "${KUBESPRAY_REPO:-https://github.com/southbridgeio/kubespray.git}"
git submodule add --name kubespray --depth 1 -- "${KUBESPRAY_REPO:-https://github.com/southbridgeio/kubespray.git}"

python3 -m venv --upgrade --system-site-packages .venv-kubespray
.venv-kubespray/bin/pip3 install --upgrade pip setuptools wheel