Replace Travis CI with Github Actions

* Add test workflow with Go matrix
* Fix Quay image registry badge
This commit is contained in:
Dalton Hubble
2020-10-12 00:20:48 -07:00
parent 4fc5703558
commit 2b04912307
4 changed files with 33 additions and 16 deletions

31
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: go
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ['1.13', '1.14', '1.15']
steps:
- name: setup
uses: actions/setup-go@v2
with:
go-version: ${{matrix.go}}
- name: checkout
uses: actions/checkout@v2
- name: tools
run: GO111MODULE=off go get golang.org/x/lint/golint
- name: test
run: make

View File

@@ -1,14 +0,0 @@
language: go
sudo: required
services:
- docker
go:
- "1.12.x"
- "1.13.x"
- "1.14.x"
install:
- GO111MODULE=off go get golang.org/x/lint/golint
script:
- make
notifications:
email: change

View File

@@ -1,4 +1,4 @@
# matchbox [![Build Status](https://travis-ci.org/poseidon/matchbox.svg?branch=master)](https://travis-ci.org/poseidon/matchbox) [![GoDoc](https://godoc.org/github.com/poseidon/matchbox?status.svg)](https://godoc.org/github.com/poseidon/matchbox) [![Docker Repository on Quay](https://quay.io/repository/poseidon/matchbox/status "Docker Repository on Quay")](https://quay.io/repository/poseidon/matchbox)
# matchbox [![Build Status](https://github.com/poseidon/matchbox/workflows/test/badge.svg)](https://github.com/poseidon/matchbox/actions?query=workflow%3Atest+branch%3Amaster) [![GoDoc](https://godoc.org/github.com/poseidon/matchbox?status.svg)](https://godoc.org/github.com/poseidon/matchbox) [![Quay](https://img.shields.io/badge/container-quay-green)](https://quay.io/repository/poseidon/matchbox)
`matchbox` is a service that matches bare-metal machines to profiles that PXE boot and provision clusters. Machines are matched by labels like MAC or UUID during PXE and profiles specify a kernel/initrd, iPXE config, and Container Linux or Fedora CoreOS config.

View File

@@ -1,4 +1,4 @@
mkdocs==1.1.2
mkdocs-material==5.5.12
mkdocs-material==6.0.1
pygments==2.6.1
pymdown-extensions==7.1.0