From f354ace8e7d328580a60dbc09703ddc54a6af0a0 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 5 Apr 2021 18:53:39 +0100 Subject: [PATCH] ci(vagrant): use pre-salted boxes & conditional local settings [skip ci] * Automated using https://github.com/myii/ssf-formula/pull/311 --- .github/workflows/kitchen.vagrant.yml | 12 ++++++++---- kitchen.vagrant.yml | 25 +++++++++++++++++-------- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/.github/workflows/kitchen.vagrant.yml b/.github/workflows/kitchen.vagrant.yml index 92e007b..490f2de 100644 --- a/.github/workflows/kitchen.vagrant.yml +++ b/.github/workflows/kitchen.vagrant.yml @@ -14,10 +14,14 @@ jobs: fail-fast: false matrix: instance: - # - default-freebsd-122-latest-py3 - - freebsd-122-latest-py3 - # - default-freebsd-114-latest-py3 - - freebsd-114-latest-py3 + # - default-freebsd-122-master-py3 + # - modules-freebsd-122-master-py3 + - freebsd-122-master-py3 + # - default-freebsd-114-master-py3 + # - modules-freebsd-114-master-py3 + - freebsd-114-master-py3 + # - default-freebsd-122-3002-6-py3 + # - default-freebsd-114-3002-6-py3 steps: - name: 'Check out code' uses: 'actions/checkout@v2' diff --git a/kitchen.vagrant.yml b/kitchen.vagrant.yml index cb9c6d9..6ca8287 100644 --- a/kitchen.vagrant.yml +++ b/kitchen.vagrant.yml @@ -7,17 +7,26 @@ driver: customize: usbxhci: 'off' gui: false - linked_clone: true ssh: shell: /bin/sh + <% unless ENV['CI'] %> + linked_clone: true + synced_folders: + - - '.kitchen/kitchen-vagrant/%{instance_name}/vagrant' + - '/vagrant' + - 'create: true, disabled: false' + <% end %> platforms: - - name: freebsd-122-latest-py3 + - name: freebsd-122-master-py3 driver: - box: bento/freebsd-12.2 - - name: freebsd-114-latest-py3 + box: myii/freebsd-12.2-master-py3 + - name: freebsd-114-master-py3 driver: - box: bento/freebsd-11.4 - -provisioner: - salt_install: bootstrap + box: myii/freebsd-11.4-master-py3 + - name: freebsd-122-3002-6-py3 + driver: + box: myii/freebsd-12.2-3002.6-py3 + - name: freebsd-114-3002-6-py3 + driver: + box: myii/freebsd-11.4-3002.6-py3