Skip to content

Commit f6c8475

Browse files
authored
Merge pull request #2 from snapp-incubator/cloud
Cloud
2 parents 0efd306 + bfb2d05 commit f6c8475

18 files changed

+78
-480
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
*
21
!coredns

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ updates:
88
groups:
99
dev-dependencies:
1010
patterns:
11-
- "*"
11+
- "*"
1212
- package-ecosystem: "github-actions"
1313
directory: "/"
1414
schedule:
15-
interval: "weekly"
15+
interval: "monthly"
1616
groups:
1717
dev-dependencies:
1818
patterns:
19-
- "*"
19+
- "*"

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: ci
3+
on:
4+
push:
5+
branches: [ master ]
6+
tags: [ v* ]
7+
pull_request:
8+
branches: [ master ]
9+
jobs:
10+
test:
11+
name: test
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-go@v2
16+
with:
17+
go-version: '^1.20.0'
18+
- run: go test -v ./... -covermode=atomic -coverprofile=coverage.out
19+
- uses: codecov/codecov-action@v1
20+
with:
21+
files: coverage.out
22+
docker:
23+
name: docker
24+
runs-on: ubuntu-latest
25+
needs:
26+
- test
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: docker/setup-qemu-action@v1
30+
- uses: docker/setup-buildx-action@v1
31+
- uses: docker/login-action@v1
32+
with:
33+
registry: ghcr.io
34+
username: ${{ github.repository_owner }}
35+
password: ${{ secrets.GITHUB_TOKEN }}
36+
- uses: docker/metadata-action@v3
37+
id: meta
38+
with:
39+
images: ghcr.io/${{ github.repository }}
40+
tags: |
41+
type=ref,event=branch
42+
type=ref,event=pr
43+
type=semver,pattern={{version}}
44+
type=semver,pattern={{major}}.{{minor}}
45+
- uses: docker/build-push-action@v2
46+
with:
47+
file: "Dockerfile"
48+
context: .
49+
platforms: linux/amd64
50+
push: true
51+
tags: ${{ steps.meta.outputs.tags }}
52+
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/cifuzz.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/depsreview.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/docker.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/go.coverage.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/go.test.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

.github/workflows/make.doc.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)