-
Notifications
You must be signed in to change notification settings - Fork 2
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 #107 from ejhayes/next
Prod promotion
- Loading branch information
Showing
17 changed files
with
766 additions
and
680 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
interval: 'daily' | ||
- package-ecosystem: 'docker' | ||
directory: '/' | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
interval: 'daily' | ||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
schedule: | ||
interval: "daily" | ||
interval: 'daily' |
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,32 +1,32 @@ | ||
--- | ||
version: 1 | ||
labels: | ||
- label: "small" | ||
- label: 'small' | ||
size-below: 10 | ||
- label: "medium" | ||
- label: 'medium' | ||
size-above: 9 | ||
size-below: 200 | ||
- label: "large" | ||
- label: 'large' | ||
size-above: 200 | ||
- label: "documentation" | ||
- label: 'documentation' | ||
files: | ||
- ".+.md" | ||
- label: "config" | ||
- '.+.md' | ||
- label: 'config' | ||
files: | ||
- ".github" | ||
- ".autorc" | ||
- ".eslintrc" | ||
- ".eslintignore" | ||
- ".prettierrc" | ||
- ".prettierignore" | ||
- ".all-contributorsrc" | ||
- "environments" | ||
- ".gitignore" | ||
- "Dockerfile" | ||
- "docker-compose.yml" | ||
- "package.json" | ||
- ".dockerignore" | ||
- ".gitignore" | ||
- label: "code" | ||
- '.github' | ||
- '.autorc' | ||
- '.eslintrc' | ||
- '.eslintignore' | ||
- '.prettierrc' | ||
- '.prettierignore' | ||
- '.all-contributorsrc' | ||
- 'environments' | ||
- '.gitignore' | ||
- 'Dockerfile' | ||
- 'docker-compose.yml' | ||
- 'package.json' | ||
- '.dockerignore' | ||
- '.gitignore' | ||
- label: 'code' | ||
files: | ||
- "src" | ||
- 'src' |
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,26 +3,29 @@ name: Code Review | |
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
branches: | ||
- '!next' | ||
branches-ignore: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.head_ref }}-pr | ||
cancel-in-progress: true | ||
|
||
env: | ||
NODE_VERSION: '18' | ||
|
||
jobs: | ||
init: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- id: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ./node_modules | ||
key: modules-${{ hashFiles('package-lock.json') }} | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
node-version: ${{ env.NODE_VERSION }} | ||
- if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm ci | ||
|
||
|
@@ -31,7 +34,7 @@ jobs: | |
needs: [init] | ||
permissions: write-all | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
- uses: actions/cache@v3 | ||
|
@@ -40,7 +43,7 @@ jobs: | |
key: modules-${{ hashFiles('package-lock.json') }} | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
node-version: ${{ env.NODE_VERSION }} | ||
- uses: fossas/fossa-action@main | ||
with: | ||
api-key: ${{ secrets.FOSSA_API_KEY }} | ||
|
@@ -51,16 +54,16 @@ jobs: | |
prettier: true | ||
prettier_extensions: ts,json,js,yml | ||
auto_fix: true | ||
commit_message: "chore(lint): Fix code style issues with ${linter}" | ||
commit_message: 'chore(lint): Fix code style issues with ${linter}' | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
git_email: "[email protected]" | ||
git_email: '[email protected]' | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
needs: [init] | ||
permissions: write-all | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Prepare repository | ||
run: git fetch --unshallow --tags | ||
- uses: actions/cache@v3 | ||
|
@@ -69,7 +72,7 @@ jobs: | |
key: modules-${{ hashFiles('package-lock.json') }} | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
node-version: ${{ env.NODE_VERSION }} | ||
- run: npm run ci:build | ||
- env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -80,7 +83,7 @@ jobs: | |
needs: [init] | ||
timeout-minutes: 3 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Prepare repository | ||
run: git fetch --unshallow --tags | ||
- uses: actions/cache@v3 | ||
|
@@ -89,7 +92,7 @@ jobs: | |
key: modules-${{ hashFiles('package-lock.json') }} | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
node-version: ${{ env.NODE_VERSION }} | ||
- if: ${{ github.actor != 'dependabot[bot]' }} | ||
uses: paambaati/[email protected] | ||
env: | ||
|
@@ -103,7 +106,7 @@ jobs: | |
|
||
test-e2e: | ||
runs-on: ubuntu-latest | ||
needs: [test] | ||
needs: [init] | ||
timeout-minutes: 3 | ||
permissions: write-all | ||
env: | ||
|
@@ -118,11 +121,11 @@ jobs: | |
- 8080:8080 | ||
env: | ||
DEBUG: 1 | ||
STORAGE: "local" | ||
STORAGE_LOCAL_ROOTDIR: "/tmp/charts" | ||
STORAGE: 'local' | ||
STORAGE_LOCAL_ROOTDIR: '/tmp/charts' | ||
PORT: 8080 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Prepare repository | ||
run: git fetch --unshallow --tags | ||
- uses: actions/cache@v3 | ||
|
@@ -131,7 +134,7 @@ jobs: | |
key: modules-${{ hashFiles('package-lock.json') }} | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
node-version: ${{ env.NODE_VERSION }} | ||
# e2e dependencies | ||
- name: Setup Helm | ||
uses: azure/setup-helm@v3 | ||
|
@@ -147,7 +150,7 @@ jobs: | |
- env: | ||
HELM_PLUGIN_ENABLE_CANARY: true | ||
HELM_PLUGIN_PUSH: true | ||
HELM_PLUGIN_REPOSITORY: "@local" | ||
HELM_PLUGIN_REPOSITORY: '@local' | ||
HELM_PLUGIN_PUBLISH_REPOSITORY: local | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npm run ci:test:e2e |
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 |
---|---|---|
|
@@ -8,23 +8,26 @@ on: | |
|
||
permissions: write-all | ||
|
||
env: | ||
NODE_VERSION: '18' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 4 | ||
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
- uses: oleksiyrudenko/[email protected] | ||
with: | ||
token: "${{ secrets.GH_TOKEN }}" | ||
token: '${{ secrets.GH_TOKEN }}' | ||
- name: Prepare repository | ||
run: git fetch --unshallow --tags | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Cache node modules | ||
uses: actions/cache@v3 | ||
env: | ||
|
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,6 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"semi": false, | ||
"tabWidth": 2 | ||
} |
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,13 +1,13 @@ | ||
version: "3" | ||
version: '3' | ||
|
||
services: | ||
chartmuseum: | ||
image: ghcr.io/helm/chartmuseum:v0.16.0 | ||
ports: | ||
- "8080:8080" | ||
- '8080:8080' | ||
environment: | ||
DEBUG: 1 | ||
STORAGE: "local" | ||
STORAGE_LOCAL_ROOTDIR: "/tmp/charts" | ||
STORAGE: 'local' | ||
STORAGE_LOCAL_ROOTDIR: '/tmp/charts' | ||
#volumes: | ||
# - './charts:/charts' |
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
Oops, something went wrong.