Kay Yan
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
4 additions and
3 deletions
-
.gitlab-ci/lint.yml
-
Vagrantfile
-
pipeline.Dockerfile
-
test-infra/vagrant-docker/Dockerfile
|
@ -14,7 +14,7 @@ vagrant-validate: |
|
|
stage: unit-tests |
|
|
stage: unit-tests |
|
|
tags: [light] |
|
|
tags: [light] |
|
|
variables: |
|
|
variables: |
|
|
VAGRANT_VERSION: 2.3.4 |
|
|
|
|
|
|
|
|
VAGRANT_VERSION: 2.3.7 |
|
|
script: |
|
|
script: |
|
|
- ./tests/scripts/vagrant-validate.sh |
|
|
- ./tests/scripts/vagrant-validate.sh |
|
|
except: ['triggers', 'master'] |
|
|
except: ['triggers', 'master'] |
|
|
|
@ -263,6 +263,7 @@ Vagrant.configure("2") do |config| |
|
|
if i == $num_instances |
|
|
if i == $num_instances |
|
|
node.vm.provision "ansible" do |ansible| |
|
|
node.vm.provision "ansible" do |ansible| |
|
|
ansible.playbook = $playbook |
|
|
ansible.playbook = $playbook |
|
|
|
|
|
ansible.compatibility_mode = "2.0" |
|
|
ansible.verbose = $ansible_verbosity |
|
|
ansible.verbose = $ansible_verbosity |
|
|
$ansible_inventory_path = File.join( $inventory, "hosts.ini") |
|
|
$ansible_inventory_path = File.join( $inventory, "hosts.ini") |
|
|
if File.exist?($ansible_inventory_path) |
|
|
if File.exist?($ansible_inventory_path) |
|
|
|
@ -4,7 +4,7 @@ FROM ubuntu:jammy-20230308 |
|
|
# Pip needs this as well at the moment to install ansible |
|
|
# Pip needs this as well at the moment to install ansible |
|
|
# (and potentially other packages) |
|
|
# (and potentially other packages) |
|
|
# See: https://github.com/pypa/pip/issues/10219 |
|
|
# See: https://github.com/pypa/pip/issues/10219 |
|
|
ENV VAGRANT_VERSION=2.3.4 \ |
|
|
|
|
|
|
|
|
ENV VAGRANT_VERSION=2.3.7 \ |
|
|
VAGRANT_DEFAULT_PROVIDER=libvirt \ |
|
|
VAGRANT_DEFAULT_PROVIDER=libvirt \ |
|
|
VAGRANT_ANSIBLE_TAGS=facts \ |
|
|
VAGRANT_ANSIBLE_TAGS=facts \ |
|
|
LANG=C.UTF-8 \ |
|
|
LANG=C.UTF-8 \ |
|
|
|
@ -3,7 +3,7 @@ |
|
|
ARG KUBESPRAY_VERSION |
|
|
ARG KUBESPRAY_VERSION |
|
|
FROM quay.io/kubespray/kubespray:${KUBESPRAY_VERSION} |
|
|
FROM quay.io/kubespray/kubespray:${KUBESPRAY_VERSION} |
|
|
|
|
|
|
|
|
ENV VAGRANT_VERSION=2.3.4 |
|
|
|
|
|
|
|
|
ENV VAGRANT_VERSION=2.3.7 |
|
|
ENV VAGRANT_DEFAULT_PROVIDER=libvirt |
|
|
ENV VAGRANT_DEFAULT_PROVIDER=libvirt |
|
|
ENV VAGRANT_ANSIBLE_TAGS=facts |
|
|
ENV VAGRANT_ANSIBLE_TAGS=facts |
|
|
|
|
|
|
|
|