Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

✨ Add foundation tooling and files #13

Merged
merged 1 commit into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.git
.github
.vscode
bin/
**/*.yaml
hack/
docs/
logos/
scripts/
**/*.md
**/config/**/*.yaml
**/config/**/*.yaml-e
_artifacts
Makefile
**/Makefile

.dockerignore
# We want to ignore any frequently modified files to avoid cache-busting the COPY ./ ./
# Binaries for programs and plugins
**/*.exe
**/*.dll
**/*.so
**/*.dylib
**/bin/**
**/out/**

# Test binary, build with `go test -c`
**/*.test

# Output of the go coverage tool, specifically when used with LiteIDE
**/*.out

# Common editor / temporary files
**/*~
**/*.tmp
**/.DS_Store
**/*.swp
68 changes: 68 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Binaries for programs and plugins
*.exe
*.dll
*.so
*.dylib
cmd/clusterctl/clusterctl
bin
hack/tools/bin
out

# Test binary, build with `go test -c`
*.test

# E2E test templates
test/e2e/data/infrastructure-docker/*-template

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# IntelliJ
.idea/
*.iml

# VSCode
.vscode/

# kubeconfigs
minikube.kubeconfig

# Book
docs/book/book/

# Common editor / temporary files
*~
*.tmp
.DS_Store

# rbac and manager config for example provider
config/ci/rbac/role_binding.yaml
config/ci/rbac/role.yaml
config/ci/rbac/aggregated_role.yaml
config/ci/rbac/auth_proxy_role.yaml
config/ci/rbac/auth_proxy_role_binding.yaml
config/ci/rbac/auth_proxy_service.yaml
config/ci/manager/manager.yaml
manager_image_patch.yaml-e
manager_pull_policy.yaml-e

# Sample config files auto-generated by kubebuilder
config/samples

# Temporary clusterctl directory
cmd/clusterctl/config/manifest

# The golang vendor directory that contains local copies of external
# dependencies that satisfy Go imports in this project.
vendor

# User-supplied Tiltfile extensions, settings, and builds
tilt.d
tilt-settings.json
.tiltbuild

# User-supplied clusterctl hacks settings
clusterctl-settings.json

# test results
_artifacts
33 changes: 33 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
linters:
enable-all: true
disable:
- dupl
- funlen
- gochecknoglobals
- gochecknoinits
- lll
- godox
- wsl
- whitespace
- gocognit
- gomnd
- interfacer
- godot
- goerr113
- nestif
# Run with --fast=false for more extensive checks
fast: true
issues:
max-same-issues: 0
max-issues-per-linter: 0
# List of regexps of issue texts to exclude, empty list by default.
exclude:
- Using the variable on range scope `(tc)|(rt)|(tt)|(test)|(testcase)|(testCase)` in function literal
- "G108: Profiling endpoint is automatically exposed on /debug/pprof"
run:
timeout: 10m
skip-files:
- "zz_generated.*\\.go$"
- ".*conversion.*\\.go$"
skip-dirs:
- third_party
Loading