Skip to content

Commit

Permalink
Using vagrant-box.sh CI/CD script
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Dec 21, 2023
1 parent 67fb0e4 commit 3117ab2
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 62 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: main

on:
push: # All branches and tags
schedule:
# Runs automatically on the 27th of every month at 04:30 UTC
- cron: "30 04 27 * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
job:
uses: dmotte/misc/.github/workflows/cicd-with-script.yml@main
with:
# We use this virtual environment because it supports nested
# virtualization.
# See https://github.com/actions/virtual-environments/issues/433 for more
# information
runs-on: macos-12
env: >
BOX_AUTHOR=dmotte BOX_NAME=k3sbox
BOX_DESCRIPTION='Debian Vagrant box with K3s
(github.com/dmotte/vagrant-k3sbox)'
path: $GITHUB_ACTION_PATH/../../scripts/cicd/vagrant-box.sh
secrets:
secret01: ${{ secrets.VAGRANTCLOUD_TOKEN }}
61 changes: 0 additions & 61 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vagrant-k3sbox

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/dmotte/vagrant-k3sbox/release.yml?branch=main&logo=github&style=flat-square)](https://github.com/dmotte/vagrant-k3sbox/actions)
[![GitHub main workflow](https://img.shields.io/github/actions/workflow/status/dmotte/vagrant-k3sbox/main.yml?branch=main&logo=github&label=main&style=flat-square)](https://github.com/dmotte/vagrant-k3sbox/actions)
[![Vagrant Cloud](https://img.shields.io/badge/vagrant-dmotte/k3sbox-blue?logo=vagrant&style=flat-square)](https://app.vagrantup.com/dmotte/boxes/k3sbox)

:package: **Debian Vagrant box** with **K3s** configured as a **single-node**, installed using the official [Bash script](https://docs.k3s.io/quick-start).
Expand Down

0 comments on commit 3117ab2

Please sign in to comment.