-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5b07e0
commit 363d27a
Showing
251 changed files
with
2,566 additions
and
59,742 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: 📋 Quality Checks | ||
|
||
on: | ||
pull_request: | ||
types: [ synchronize, opened, reopened, ready_for_review ] | ||
|
||
jobs: | ||
lint: | ||
name: 📋 Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ⬇️ Git clone the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: 📦 Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.21' | ||
|
||
- name: 🧪 Revive | ||
run: | | ||
go install github.com/mgechev/revive@latest | ||
make lint | ||
test: | ||
name: 📋 Test | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ⬇️ Git clone the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: 📦 Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.21' | ||
|
||
- name: 🧪 Test | ||
run: go test ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: 📋 Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+[0-9A-Za-z]?' | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
buildx: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: ⬇️ Git clone the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🔐 Log in to the Container registry | ||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: 📦 Build | ||
run: | | ||
docker build -t ${{ env.REGISTRY }}/${{ github.repository }}:apiserver-${{ github.ref_name }} -f dockerfiles/metrics-adapter/Dockerfile . | ||
docker build -t ${{ env.REGISTRY }}/${{ github.repository }}:sidecar-${{ github.ref_name }} -f dockerfiles/sidecar/Dockerfile . | ||
- name: ☁️ Push | ||
run: | | ||
docker push ${{ env.REGISTRY }}/${{ github.repository }}:apiserver-${{ github.ref_name }} | ||
docker push ${{ env.REGISTRY }}/${{ github.repository }}:sidecar-${{ github.ref_name }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.