Skip to content

Bump actions/checkout from 2 to 3.1.0 #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 123 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
56783c3
tt
Slahser Jun 26, 2020
121fe7c
tt
Slahser Jun 26, 2020
edf4b1f
tt
Slahser Jun 27, 2020
d7397d8
tt
Slahser Jun 27, 2020
b5cf801
feat[optional scope]: tt
Slahser Jul 7, 2020
590813b
<feat [fix/feat/BREAKING CHANGE]>[optional scope]: <tt>
Slahser Jul 7, 2020
dbd2af9
feat[global]: add justfile
Slahser Jul 8, 2020
1e8d6f1
<tt type [fix/feat/BREAKING CHANGE]>[optional scope]: <description>
Slahser Jul 8, 2020
baa3981
tt
Slahser Jul 12, 2020
2c5424e
Create SECURITY.md
Slahser Jul 14, 2020
7bd8112
Create go.yml
Slahser Jul 14, 2020
27a075e
Create greetings.yml
Slahser Jul 14, 2020
4672852
Update README.md
Slahser Jul 14, 2020
da84e59
Create cache.yml
Slahser Jul 14, 2020
20e1b29
Create release-notes-preview.yml
Slahser Jul 14, 2020
865d1f1
Create profile-stack.yml
Slahser Jul 14, 2020
475cace
Create FUNDING.yml
Slahser Jul 14, 2020
c63fb32
<type [feat>[optional scope]: <description>
Slahser Jul 18, 2020
396f556
<type [feat]>:reflect and channel
Slahser Jul 18, 2020
61a2bc2
<type [feat]>[optional scope]: mutex and channel
Slahser Jul 18, 2020
9b5e5c9
<type [fix]>[optional scope]: rebase
Slahser Jul 18, 2020
b3e92fe
tt
Slahser Jul 26, 2020
58f6f26
<type BREAKING CHANGE>cmd: add some cmd package
Slahser Aug 9, 2020
7deec73
tt
Slahser Aug 12, 2020
b29da19
tt
Slahser Aug 13, 2020
8a50bb9
tt
Slahser Aug 14, 2020
7c87da8
tt
Slahser Aug 14, 2020
393b176
tt
Slahser Aug 14, 2020
d7580f3
tt
Slahser Aug 14, 2020
d3c4002
tt
Slahser Aug 14, 2020
37b5943
tt
Slahser Aug 18, 2020
6147f53
tt
Slahser Aug 19, 2020
5b1cdc8
tt
Slahser Aug 19, 2020
17262d8
Replace broken link in api folder examples.
chilic Jul 28, 2020
12ca462
Fix links in pkg README
raphlcx May 12, 2020
91970c8
fix a word mistake in writing
exqlnet May 26, 2020
c6086df
Added "It's ok" /pkg paragraph
mohammed-ali-1 May 25, 2020
328bbc8
Capitalize the H in GitHub
May 29, 2020
e7fcbc3
add go.dev badge
YouEclipse Jul 26, 2020
1a38ae7
another pkg example
kcq Aug 3, 2020
d02db62
tt
Slahser Aug 19, 2020
bc3804d
tt
Slahser Aug 20, 2020
a3ca39b
tt
Slahser Aug 20, 2020
c9776f9
tt
Slahser Aug 21, 2020
dd142b1
tt<type [fix/feat/BREAKING CHANGE]>[optional scope]: <description>
Slahser Aug 22, 2020
8d999df
tt
Slahser Aug 22, 2020
8aa5558
tt
Slahser Aug 22, 2020
2108105
tt
Slahser Aug 23, 2020
23106b2
tt
Slahser Aug 23, 2020
fa5da8e
tt
Slahser Aug 24, 2020
e15de16
tt
Slahser Aug 24, 2020
4132ea8
typo
Slahser Aug 25, 2020
ba9fc6e
typo
Slahser Aug 25, 2020
e9183e4
tt
Slahser Aug 25, 2020
9b327c1
tt
Slahser Aug 25, 2020
e01bc14
Create ossar-analysis.yml
Slahser Aug 25, 2020
0f46f77
Create codeql-analysis.yml
Slahser Aug 25, 2020
945d139
tt
Slahser Aug 26, 2020
1b99570
tt
Slahser Aug 30, 2020
45ebe55
tt
Slahser Aug 30, 2020
4108cd7
tt
Slahser Aug 30, 2020
45076b1
tt
Slahser Sep 3, 2020
0c0463f
tt
Slahser Sep 5, 2020
bfd8c58
tt
Slahser Sep 5, 2020
d27bbde
tt
Slahser Sep 5, 2020
371be75
tt
Slahser Sep 5, 2020
c46e612
tt
Slahser Sep 5, 2020
87f6670
tt
Slahser Sep 5, 2020
31763cd
tt
Slahser Sep 5, 2020
92dc624
tt
Slahser Sep 5, 2020
d9f5b47
Create dependabot.yml
Slahser Sep 6, 2020
bfb7cae
tt
Slahser Sep 6, 2020
08f9774
tt
Slahser Sep 6, 2020
ee6cd84
tt
Slahser Sep 6, 2020
76f8947
tt
Slahser Sep 6, 2020
df9cf2c
tt
Slahser Sep 6, 2020
26edcd7
Update profile stack
actions-user Sep 6, 2020
6852d12
tt
Slahser Sep 6, 2020
40f0191
Update profile stack
actions-user Sep 6, 2020
a49068b
Create dependabot.yml
Slahser Sep 6, 2020
1f9c8c3
tt
Slahser Sep 6, 2020
a778009
Bump snyk/release-notes-preview from v1.6.1 to v1.6.2
dependabot[bot] Sep 6, 2020
a0b3039
Merge pull request #5 from Slahser/dependabot/github_actions/snyk/rel…
Slahser Sep 6, 2020
b5e6da4
Bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
dependabot[bot] Sep 6, 2020
cae50e5
tt
Slahser Sep 6, 2020
06fac32
tt
Slahser Sep 6, 2020
33ed95a
Merge pull request #7 from Slahser/dependabot/go_modules/github.com/h…
Slahser Sep 6, 2020
73b0920
Bump k8s.io/client-go from 0.18.8 to 0.19.0
dependabot[bot] Sep 6, 2020
e3299eb
Bump github.com/felixge/fgprof from 0.9.0 to 0.9.1
dependabot[bot] Sep 6, 2020
8dbc89d
Bump github.com/goproxy/goproxy from 0.1.5 to 0.2.1
dependabot[bot] Sep 6, 2020
ef5a743
tt
Slahser Sep 6, 2020
f6643f8
tt
Slahser Sep 6, 2020
cb1eb7b
tt
Slahser Sep 6, 2020
efc66ff
tt
Slahser Sep 6, 2020
b858287
tt
Slahser Sep 6, 2020
3475329
tt
Slahser Sep 6, 2020
b5f1f66
tt
Slahser Sep 6, 2020
65ef57b
Bump k8s.io/apimachinery from 0.17.3 to 0.19.0
dependabot[bot] Sep 7, 2020
d994025
Merge pull request #12 from Slahser/dependabot/go_modules/k8s.io/apim…
Slahser Sep 8, 2020
b6b5cdb
Merge pull request #11 from Slahser/dependabot/go_modules/github.com/…
Slahser Sep 8, 2020
83d2382
Merge pull request #10 from Slahser/dependabot/go_modules/github.com/…
Slahser Sep 8, 2020
548199e
Merge branch 'master' into dependabot/go_modules/k8s.io/client-go-0.19.0
Slahser Sep 8, 2020
4862d31
Merge pull request #9 from Slahser/dependabot/go_modules/k8s.io/clien…
Slahser Sep 8, 2020
140c2e1
Bump github.com/containous/traefik/v2 from 2.2.8 to 2.2.11
dependabot[bot] Sep 8, 2020
eef2478
Merge branch 'master' into dependabot/go_modules/github.com/containou…
Slahser Sep 8, 2020
b40426e
Merge pull request #13 from Slahser/dependabot/go_modules/github.com/…
Slahser Sep 8, 2020
abf7c71
aa
Slahser Sep 14, 2020
c4da231
tt
Slahser Sep 14, 2020
9639547
Bump go.uber.org/zap from 1.10.0 to 1.16.0
dependabot[bot] Sep 14, 2020
b56ff22
Bump k8s.io/apimachinery from 0.19.0 to 0.19.1
dependabot[bot] Sep 14, 2020
216702d
Bump k8s.io/client-go from 0.19.0 to 0.19.1
dependabot[bot] Sep 14, 2020
15fa74f
Bump github.com/guptarohit/asciigraph from 0.5.0 to 0.5.1
dependabot[bot] Sep 14, 2020
fbfab87
Bump github.com/coreos/etcd
dependabot[bot] Sep 14, 2020
8e2eca3
Merge pull request #18 from Slahser/dependabot/go_modules/github.com/…
Slahser Sep 15, 2020
fa1cc09
Merge pull request #17 from Slahser/dependabot/go_modules/k8s.io/clie…
Slahser Sep 15, 2020
fca28d1
Merge pull request #15 from Slahser/dependabot/go_modules/go.uber.org…
Slahser Sep 15, 2020
eea2996
Merge pull request #14 from Slahser/dependabot/go_modules/github.com/…
Slahser Sep 15, 2020
6d0ff28
Merge branch 'master' into dependabot/go_modules/k8s.io/apimachinery-…
Slahser Sep 15, 2020
359463d
Merge pull request #16 from Slahser/dependabot/go_modules/k8s.io/apim…
Slahser Sep 15, 2020
99f4337
tt
Slahser Sep 27, 2020
ec18728
tt
Slahser Sep 27, 2020
b740924
tt
Slahser Sep 28, 2020
7c949ca
Bump actions/checkout from 2 to 3.1.0
dependabot[bot] Oct 6, 2022
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
68 changes: 68 additions & 0 deletions .circleci/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details

version: 2
jobs:
markdownlint-misspell-shellcheck:
docker:
# this image is build from Dockerfile
# https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile
- image: pouchcontainer/pouchlinter:v0.2.1
working_directory: /go/src/github.com/alibaba/pouch
steps:
- checkout
- run:
name: use markdownlint v0.5.0 to lint markdown file (https://github.com/markdownlint/markdownlint)
command: |
find ./ -name "*.md" | grep -v vendor | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | xargs mdl -r ~MD010,~MD013,~MD024,~MD029,~MD033,~MD036
- run:
name: use markdown-link-check(https://github.com/tcort/markdown-link-check) to check links in markdown files
command: |
set +e
for name in $(find . -name \*.md | grep -v vendor | grep -v CHANGELOG); do
if [ -f $name ]; then
markdown-link-check -q $name;
if [ $? -ne 0 ]; then
code=1
fi
fi
done
bash -c "exit $code";
- run:
name: use opensource tool client9/misspell to correct commonly misspelled English words
command: |
find ./* -name "*" | grep -v vendor | xargs misspell -error
- run:
name: use ShellCheck (https://github.com/koalaman/shellcheck) to check the validateness of shell scripts in pouch repo
command: |
find ./ -name "*.sh" | grep -v vendor | xargs shellcheck
code-check:
docker:
- image: pouchcontainer/pouchlinter:v0.2.1
working_directory: /go/src/github.com/alibaba/pouch
steps:
- checkout
- run:
name: validate swagger.yml
command: |
swagger validate "/go/src/github.com/alibaba/pouch/apis/swagger.yml"
- run:
name: validate go code with gometalinter
command: |
gometalinter --disable-all --skip vendor -E gofmt -E goimports -E golint -E goconst -E ineffassign -E misspell -E vet -d ./...

- run:
name: detect deadcode without test folder
command: |
gometalinter --disable-all --skip vendor --skip test -E deadcode -d ./...
notify:
webhooks:
- url: http://47.96.190.121:6788/circleci_notifications

workflows:
version: 2
ci:
jobs:
- markdownlint-misspell-shellcheck
- code-check
15 changes: 15 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*
!pkg
!cmd
!test

!go.mod
!go.sum

pkg/dashboard/ui/node_modules
pkg/dashboard/ui/dist

**/Dockerfile
**/Dockerfile.alpine

pkg/processor/runtime/python/**/venv
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ENV1=localhost:6379
ENV2=1337
ADDR=localhost:7777
9 changes: 9 additions & 0 deletions .gebug/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM golang:1.14
RUN go get github.com/githubnemo/CompileDaemon
RUN go get github.com/go-delve/delve/cmd/dlv

WORKDIR /src
COPY . .

RUN go build -gcflags="all=-N -l" -o /build/package
ENTRYPOINT dlv --listen=:8888 --headless=true --api-version=2 --accept-multiclient exec /build/package
10 changes: 10 additions & 0 deletions .gebug/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: tt
output_binary: /build/package
build_command: go build -o {{.output_binary}}
run_command: '{{.output_binary}}'
runtime_image: golang:1.14
debugger_enabled: true
debugger_port: 8888
expose_ports: []
networks: []
environment: []
11 changes: 11 additions & 0 deletions .gebug/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3'
services:
gebug-tt:
build:
context: ..
dockerfile: .gebug/Dockerfile
cap_add:
- SYS_PTRACE
volumes:
- ../:/src:ro
- 8888:8888
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
14 changes: 14 additions & 0 deletions .github/codeql/codql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "CodeQL config"
queries:
- name: Run custom queries
uses: ./queries
# Run all extra query suites, both because we want to
# and because it'll act as extra testing. This is why
# we include both even though one is a superset of the
# other, because we're testing the parsing logic and
# that the suites exist in the codeql bundle.
- uses: security-extended
- uses: security-and-quality
paths-ignore:
- tests
- lib
31 changes: 31 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Go Build

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/[email protected]
- name: Checkout submodules
uses: textbook/git-checkout-submodule-action@master
with:
remote: true
- name: build
run: go build ./...
59 changes: 59 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: "CodeQL"

on:
push:
branches: [master, ]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 15 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/[email protected]
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

- name: Checkout submodules
uses: textbook/git-checkout-submodule-action@master
with:
remote: true

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
13 changes: 13 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Greetings

on: [ pull_request, issues ]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Message that will be displayed on users'' first issue'
pr-message: 'Message that will be displayed on users'' first pr'
52 changes: 52 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
###########################
###########################
## Linter GitHub Actions ##
###########################
###########################
name: Lint Code Base

#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#

#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [master]
# Remove the line above to run when pushing to master
pull_request:
branches: [master]

###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest

##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/[email protected]

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v3
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lock Closed

on:
schedule:
- cron: '0 0 * * *'

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: '${{ github.token }}'
issue-lock-inactive-days: 14
issue-lock-comment: |-
This issue has been automatically locked since there has not been any
recent activity after it was closed. Please open a new issue for
related bugs.
pr-lock-inactive-days: 14
pr-lock-comment: |-
This pull request has been automatically locked since there has not
been any recent activity after it was closed. Please open a new
issue for related bugs.
18 changes: 18 additions & 0 deletions .github/workflows/profile-stack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Profile Stack

on:
push:
branches:
- master

jobs:
profile_stack:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: Matt-Gleich/profile_stack@master
with:
path: build/ci/techstack.yml
badges: true
technology_emoji: 👨🏻‍💻
project_emoji: ✨
Loading