Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Create box in VagrantCloud if not exists #323

Merged
merged 2 commits into from
Sep 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: ansible-lint

on:
pull_request:
types: [opened, synchronize]
paths:
- ansible/**
- .github/workflows/ansible-lint.yml
push:
branches:
- master
branches-ignore:
- 'master'
paths:
- ansible/**
- .github/workflows/ansible-lint.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
set -x
[[ -f /usr/local/bin/2to3 ]] && rm /usr/local/bin/2to3
brew update > /dev/null
brew install bash coreutils gnu-sed jq packer [email protected] vagrant
brew install bash coreutils gettext gnu-sed jq packer [email protected] vagrant
MATRIX_STAGE="${{ matrix.stage }}"
if [[ "${MATRIX_STAGE}" =~ "libvirt" ]]; then
brew install qemu xorriso
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
name: markdown

on:
pull_request:
types: [opened, synchronize]
paths:
- '**.md'
- .github/workflows/markdown.yml
- .markdownlint.yml
- .spelling
- .mlc_config.json
push:
branches:
- master
branches-ignore:
- 'master'
paths:
- '**.md'
- .github/workflows/markdown.yml
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/packer-templates.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: packer-templates

on:
pull_request:
types: [opened, synchronize]
paths:
- '*.json'
- .github/workflows/packer-templates.yml
push:
branches:
- master
branches-ignore:
- 'master'
paths:
- '*.json'
- .github/workflows/packer-templates.yml
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/periodic-markdown-links-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ name: periodic-markdown-links-check
on:
schedule:
- cron: '8 8 * * 1'
pull_request:
types: [opened, synchronize]
paths:
- .github/workflows/periodic-markdown-links-check.yml
push:
branches:
- master
branches-ignore:
- 'master'
paths:
- .github/workflows/periodic-markdown-links-check.yml

Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: shellcheck

on:
pull_request:
types: [opened, synchronize]
paths:
- '**.sh'
- .github/workflows/shellcheck.yml
push:
branches:
- master
branches-ignore:
- 'master'
paths:
- '**.sh'
- .github/workflows/shellcheck.yml
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: yamllint

on:
pull_request:
types: [opened, synchronize]
paths:
- '**.yml'
- '**.yaml'
push:
branches:
- master
branches-ignore:
- 'master'
paths:
- '**.yml'
- '**.yaml'
Expand Down
1 change: 1 addition & 0 deletions upload_box_to_vagrantcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ cmdline() {
fi
else
echo "*** Box: ${NAME} - doesn't exist..."
vagrant cloud box create --no-private --no-tty --short-description "${SHORT_DESCRIPTION}" "${VAGRANT_CLOUD_USER}/${NAME}"
fi

# Check if the version already exists otherwise create new one
Expand Down