-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1176 from gliderlabs/master
Release 0.8.0
- Loading branch information
Showing
36 changed files
with
989 additions
and
809 deletions.
There are no files selected for viewing
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,6 @@ | ||
ignored: | ||
- DL3048 | ||
- DL3005 | ||
- DL3008 | ||
- DL3003 | ||
- SC2035 |
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,37 @@ | ||
--- | ||
default: true | ||
|
||
# Line length | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md013 | ||
MD013: false | ||
|
||
# Inline HTML | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033 | ||
MD033: false | ||
|
||
# List indentation | ||
# 2 spaces breaks list formatting in mkdocs | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md007 | ||
MD007: | ||
indent: 4 | ||
|
||
# Fenced code blocks should have a language specified | ||
# We use a second, un-languaged code block to denote the output | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md040 | ||
MD040: false | ||
|
||
# Blank line inside blockquote | ||
# This is typically done when a section has a "New as of" or "Warning" in addition to a note | ||
# May wish to take advantage of github-style admonitions | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md028 | ||
MD028: false | ||
|
||
# No duplicate headers | ||
# HISTORY.md has a ton of these | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md024 | ||
MD024: false | ||
|
||
# First line h1 | ||
# The issue template doesn't have one | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md041 | ||
MD041: false |
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,8 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
line-length: disable | ||
|
||
ignore: | ||
- plugins/scheduler-k3s/templates/* |
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,80 @@ | ||
--- | ||
name: "lint" | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
push: | ||
branches: | ||
- "master" | ||
|
||
concurrency: | ||
group: lint-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
hadolint: | ||
name: hadolint | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Run hadolint | ||
uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf | ||
with: | ||
config: .github/linters/.hadolint.yml | ||
|
||
markdown-lint: | ||
name: markdown-lint | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
cache: "npm" | ||
cache-dependency-path: ".github/workflows/lint.yml" | ||
- name: Install markdownlint-cli | ||
run: npm install -g [email protected] | ||
- name: Run markdown-lint | ||
run: markdownlint -c .github/linters/.markdown-lint.yml *.md **/*.md | ||
|
||
shellcheck: | ||
name: shellcheck | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Run shellcheck | ||
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 | ||
with: | ||
ignore_paths: >- | ||
./tests/unit/fixtures/.profile.d/app.sh | ||
shfmt: | ||
name: shfmt | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Run shfmt | ||
uses: luizm/action-sh-checker@c6edb3de93e904488b413636d96c6a56e3ad671a | ||
env: | ||
SHFMT_OPTS: -l -bn -ci -i 2 -d | ||
with: | ||
sh_checker_shellcheck_disable: true | ||
|
||
yamllint: | ||
name: yamllint | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Run yamllint | ||
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c | ||
with: | ||
config_file: ".github/linters/.yamllint.yml" |
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
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
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,7 @@ | ||
disable=SC2128 | ||
disable=SC1091 | ||
disable=SC2002 | ||
disable=SC2294 | ||
disable=SC2034 | ||
disable=SC2031 | ||
disable=SC2030 |
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
source "$(dirname $BASH_SOURCE)/../../../test" | ||
app-test "$(basename $(dirname $BASH_SOURCE))" | ||
buildpack-test "$(basename $(dirname $BASH_SOURCE))" | ||
# shellcheck shell=bash | ||
|
||
source "$(dirname "$BASH_SOURCE")/../../../test" | ||
app-test "$(basename "$(dirname "$BASH_SOURCE")")" | ||
buildpack-test "$(basename "$(dirname "$BASH_SOURCE")")" |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
source "$(dirname $BASH_SOURCE)/../../../test" | ||
app-test "$(basename $(dirname $BASH_SOURCE))" | ||
# shellcheck shell=bash | ||
|
||
source "$(dirname "$BASH_SOURCE")/../../../test" | ||
app-test "$(basename "$(dirname "$BASH_SOURCE")")" |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
source "$(dirname $BASH_SOURCE)/../../../test" | ||
app-test "$(basename $(dirname $BASH_SOURCE))" | ||
# shellcheck shell=bash | ||
|
||
source "$(dirname "$BASH_SOURCE")/../../../test" | ||
app-test "$(basename "$(dirname "$BASH_SOURCE")")" |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
source "$(dirname $BASH_SOURCE)/../../../test" | ||
app-test "$(basename $(dirname $BASH_SOURCE))" | ||
# shellcheck shell=bash | ||
|
||
source "$(dirname "$BASH_SOURCE")/../../../test" | ||
app-test "$(basename "$(dirname "$BASH_SOURCE")")" |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
source "$(dirname $BASH_SOURCE)/../../../test" | ||
app-test "$(basename $(dirname $BASH_SOURCE))" | ||
# shellcheck shell=bash | ||
|
||
source "$(dirname "$BASH_SOURCE")/../../../test" | ||
app-test "$(basename "$(dirname "$BASH_SOURCE")")" |
Oops, something went wrong.