mirror of
https://github.com/danderson/netboot.git
synced 2025-08-12 01:27:15 +02:00
Delete CircleCI config, it doesn't work any more anyway.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
016dba3369
commit
0e2ca55deb
@ -1,41 +0,0 @@
|
|||||||
# -*- mode: yaml -*-
|
|
||||||
|
|
||||||
version: 2
|
|
||||||
jobs:
|
|
||||||
test-1.11:
|
|
||||||
working_directory: /go/src/go.universe.tf/netboot
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.11
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: make ci-prepare
|
|
||||||
- run: make build
|
|
||||||
- run: make test
|
|
||||||
- run: make lint
|
|
||||||
deploy:
|
|
||||||
working_directory: /go/src/go.universe.tf/netboot
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.11
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- setup_remote_docker
|
|
||||||
- run: echo $CIRCLE_BRANCH
|
|
||||||
- run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
|
|
||||||
- run: make ci-prepare
|
|
||||||
- run: make ci-push-images TAG=${CIRCLE_BRANCH:-${CIRCLE_TAG}}
|
|
||||||
workflows:
|
|
||||||
version: 2
|
|
||||||
test-and-deploy:
|
|
||||||
jobs:
|
|
||||||
- test-1.11:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
- deploy:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: /pull\/.*/
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
requires:
|
|
||||||
- test-1.11
|
|
@ -1,45 +0,0 @@
|
|||||||
# -*- mode: yaml -*-
|
|
||||||
|
|
||||||
version: 2
|
|
||||||
jobs:
|
|
||||||
{{- range .GoVersions }}
|
|
||||||
test-{{.}}:
|
|
||||||
working_directory: /go/src/go.universe.tf/netboot
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:{{.}}
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: make ci-prepare
|
|
||||||
- run: make build
|
|
||||||
- run: make test
|
|
||||||
- run: make lint
|
|
||||||
{{- end }}
|
|
||||||
deploy:
|
|
||||||
working_directory: /go/src/go.universe.tf/netboot
|
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.11
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- setup_remote_docker
|
|
||||||
- run: echo $CIRCLE_BRANCH
|
|
||||||
- run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
|
|
||||||
- run: make ci-prepare
|
|
||||||
- run: make ci-push-images TAG=${CIRCLE_BRANCH:-${CIRCLE_TAG}}
|
|
||||||
workflows:
|
|
||||||
version: 2
|
|
||||||
test-and-deploy:
|
|
||||||
jobs:
|
|
||||||
{{- range .GoVersions }}
|
|
||||||
- test-{{.}}:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
{{- end }}
|
|
||||||
- deploy:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: /pull\/.*/
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
requires:
|
|
||||||
- test-1.11
|
|
@ -1,19 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"html/template"
|
|
||||||
"os"
|
|
||||||
|
|
||||||
"github.com/golang/glog"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
tmpl := template.Must(template.ParseFiles("config.yml.tmpl"))
|
|
||||||
v := map[string][]string{
|
|
||||||
"GoVersions": []string{"1.11"},
|
|
||||||
"Arch": []string{"amd64", "arm", "arm64", "ppc64le", "s390x"},
|
|
||||||
}
|
|
||||||
if err := tmpl.Execute(os.Stdout, v); err != nil {
|
|
||||||
glog.Fatalf("Error executing template: %s", err)
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user