-
Notifications
You must be signed in to change notification settings - Fork 34
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
Showing
13 changed files
with
838 additions
and
704 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,7 @@ | ||
--- | ||
'skuba': minor | ||
--- | ||
|
||
**format:** Execute ESLint with `--report-unused-disable-directives` | ||
|
||
`skuba format` will now flag unused disable directives, and will [automatically remove](https://eslint.org/blog/2021/06/whats-coming-in-eslint-8.0.0#unused-disable-directives-are-now-fixable) them once ESLint v8 is released. |
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 @@ | ||
--- | ||
'skuba': patch | ||
--- | ||
|
||
**template:** Propagate BUILDKITE environment variable to Docker | ||
|
||
This forces serial execution of certain **skuba** commands to avoid overwhelming underprovisioned Buildkite agents. See [docs/buildkite.md](https://github.com/seek-oss/skuba/tree/master/docs/buildkite.md) for more information. |
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,46 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
echo '=> Packaging...' | ||
|
||
rm -rf dist-docs | ||
|
||
mkdir -p dist-docs | ||
|
||
cp README.md dist-docs/ | ||
|
||
cp -R docs dist-docs/docs/ | ||
|
||
exit 0 | ||
|
||
cd dist-docs | ||
|
||
git init | ||
|
||
git add --all | ||
|
||
git \ | ||
-c 'user.email=<>' \ | ||
-c 'user.name=skuba' \ | ||
commit \ | ||
--author 'skuba <>' \ | ||
--message 'Deploy to GitHub Pages' \ | ||
--quiet | ||
|
||
echo '=> Deploying...' | ||
|
||
{ | ||
GIT_URL="[email protected]:seek-oss/skuba.git" | ||
|
||
if [ "${IS_GITHUB_PAGES:-}" = 'true' ]; then | ||
GIT_URL="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/seek-oss/skuba.git" | ||
fi | ||
|
||
git push --force --quiet "${GIT_URL}" 'master:gh-pages' | ||
} | ||
|
||
cd .. | ||
rm -rf dist-docs | ||
|
||
echo "=> Deployed: https://seek-oss.github.io/skuba" |
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
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ version: '3.7' | |
services: | ||
app: | ||
environment: | ||
- BUILDKITE | ||
- BUILDKITE_COMMIT | ||
- ENVIRONMENT | ||
- VERSION | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ version: '3.7' | |
services: | ||
app: | ||
environment: | ||
- BUILDKITE | ||
- BUILDKITE_COMMIT | ||
- ENVIRONMENT | ||
- VERSION | ||
|
Oops, something went wrong.