Using a much faster go proxy server

Signed-off-by: rick <rick@jenkins-zh.cn>
This commit is contained in:
rick 2021-02-03 09:40:04 +08:00
parent f80adfdd70
commit 01bb0a8c9b
No known key found for this signature in database
GPG Key ID: 4DF7126098031BD3
6 changed files with 118 additions and 1 deletions

18
.github/OWNERS vendored Normal file
View File

@ -0,0 +1,18 @@
approvers:
- pixiake
- Forest-L
- rayzhou2017
- LinuxSuRen
reviewers:
- pixiake
- Forest-L
- rayzhou2017
- zryfish
- shaowenchen
- benjaminhuo
- calvinyv
- FeynmanZhou
- huanggze
- wansir
- LinuxSuRen

14
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
pull-request-branch-name:
separator: "-"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
pull-request-branch-name:
separator: "-"

41
.github/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,41 @@
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
name-template: 'v$NEXT_PATCH_VERSION 🌈'
tag-template: 'v$NEXT_PATCH_VERSION'
version-template: $MAJOR.$MINOR.$PATCH
# Emoji reference: https://gitmoji.carloscuesta.me/
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- 'kind/feature'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- 'regression'
- 'kind/bug'
- title: 📝 Documentation updates
labels:
- 'documentation'
- 'kind/documentation'
- title: 👻 Maintenance
labels:
- chore
- dependencies
- 'kind/cleanup'
- title: 🚦 Tests
labels:
- test
- tests
exclude-labels:
- reverted
- no-changelog
- skip-changelog
- invalid
change-template: '* $TITLE (#$NUMBER) @$AUTHOR'
template: |
## Whats Changed
$CHANGES

29
.github/settings.yml vendored Normal file
View File

@ -0,0 +1,29 @@
repository:
name: kubeeye
description: "KubeEye aims to find various problems on Kubernetes, such as application misconfiguration, unhealthy cluster components and node problems."
homepage: https://kubesphere.io/
private: false
has_issues: true
has_wiki: false
has_downloads: false
default_branch: main
allow_squash_merge: true
allow_merge_commit: true
allow_rebase_merge: true
branches:
- name: main
protection:
required_pull_request_reviews:
required_approving_review_count: 1
dismiss_stale_reviews: true
require_code_owner_reviews: true
dismissal_restrictions:
users: []
teams: []
required_status_checks:
strict: true
contexts: []
enforce_admins: false
restrictions:
users: []
teams: []

15
.github/workflows/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Release Drafter
on:
push:
branches:
- master
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -9,7 +9,7 @@ test: fmt
GO111MODULE=on go test -v ./pkg/...
install-packr2:
GO111MODULE=on GOPROXY=https://proxy.golang.org CGO_ENABLED=0 go get -u github.com/gobuffalo/packr/v2/packr2
GO111MODULE=on GOPROXY=https://goproxy.io CGO_ENABLED=0 go get -u github.com/gobuffalo/packr/v2/packr2
$(GOBIN)/packr2 build -a -o ${BINARY} *.go
ke: install-packr2