Skip to content

Commit

Permalink
Merge pull request #2 from snapp-incubator/cloud
Browse files Browse the repository at this point in the history
Cloud
  • Loading branch information
m-yosefpor authored Nov 25, 2023
2 parents 0efd306 + bfb2d05 commit f6c8475
Show file tree
Hide file tree
Showing 18 changed files with 78 additions and 480 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*
!coredns
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ updates:
groups:
dev-dependencies:
patterns:
- "*"
- "*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
groups:
dev-dependencies:
patterns:
- "*"
- "*"
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: ci
on:
push:
branches: [ master ]
tags: [ v* ]
pull_request:
branches: [ master ]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.20.0'
- run: go test -v ./... -covermode=atomic -coverprofile=coverage.out
- uses: codecov/codecov-action@v1
with:
files: coverage.out
docker:
name: docker
runs-on: ubuntu-latest
needs:
- test
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v3
id: meta
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- uses: docker/build-push-action@v2
with:
file: "Dockerfile"
context: .
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
27 changes: 0 additions & 27 deletions .github/workflows/cifuzz.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/depsreview.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/docker.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/go.coverage.yml

This file was deleted.

83 changes: 0 additions & 83 deletions .github/workflows/go.test.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/make.doc.yml

This file was deleted.

Loading

0 comments on commit f6c8475

Please sign in to comment.