-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [TT-652] Migrate qa-charts * update with missed changes * fix linting issues * bump helm/chart-testing-action * Fix issue with pointing to the wrong helm chart repo
- Loading branch information
Showing
89 changed files
with
3,200 additions
and
64 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,2 @@ | ||
target-branch: main | ||
validate-maintainers: 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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out Code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Parse tool-versions file | ||
uses: smartcontractkit/[email protected] | ||
id: tool-versions | ||
|
@@ -23,7 +23,7 @@ jobs: | |
needs: [tools] | ||
steps: | ||
- name: Check out Code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Install Go | ||
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/setup-go@00c6214deb10a3f374c6d3430c32c5202015d463 # v2.2.12 | ||
with: | ||
|
@@ -52,7 +52,7 @@ jobs: | |
needs: [tools] | ||
steps: | ||
- name: Check out Code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Install Go | ||
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/setup-go@00c6214deb10a3f374c6d3430c32c5202015d463 # v2.2.12 | ||
with: | ||
|
@@ -63,26 +63,60 @@ jobs: | |
- name: Write Go List | ||
run: go list -json -deps ./... > go.list | ||
- name: Nancy | ||
uses: sonatype-nexus-community/[email protected] | ||
uses: sonatype-nexus-community/nancy-github-action@726e338312e68ecdd4b4195765f174d3b3ce1533 # v1.0.3 | ||
|
||
actionlint: | ||
asdf-install: | ||
name: Validate GitHub Action Workflows | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out Code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Install asdf dependencies | ||
uses: asdf-vm/actions/[email protected] | ||
uses: asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2 | ||
|
||
prettier: | ||
name: Formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Run Prettier | ||
uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1 # v4.3 | ||
with: | ||
dry: true | ||
prettier_options: --write **/*.{yaml,yml,json} --config ./.prettierrc.yaml --ignore-path ./.prettierignore | ||
|
||
helmlint: | ||
name: Lint Helm Charts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
# Without this parameter, the merged commit that CI produces will make it so that ct will | ||
# not detect a diff even if one exists | ||
fetch-depth: 0 | ||
- name: Set up chart-testing | ||
uses: helm/chart-testing-action@b43128a8b25298e1e7b043b78ea6613844e079b1 # v2.6.0 | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config ${{ github.workspace }}/.github/configs/ct.yaml | ||
|
||
actionlint: | ||
name: Validate GitHub Action Workflows | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out Code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- name: Run actionlint | ||
run: actionlint | ||
uses: reviewdog/action-actionlint@82693e9e3b239f213108d6e412506f8b54003586 # v1.39.1 | ||
|
||
sonarqube: | ||
name: SonarQube Analysis | ||
needs: [golangci] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
fetch-depth: 0 # fetches all history for all tags and branches to provide more metadata for sonar reports | ||
- name: Download all workflow run artifacts | ||
|
@@ -95,4 +129,3 @@ jobs: | |
env: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} | ||
|
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,21 @@ | ||
repos: | ||
- repo: git://github.com/pre-commit/pre-commit-hooks | ||
rev: 6e2418c5521b7d606e72914dced3253f9ace1205 # v3.4.0 | ||
hooks: | ||
- id: detect-private-key | ||
- id: detect-aws-credentials | ||
args: [--allow-missing-credentials] | ||
- id: check-added-large-files | ||
- id: check-json | ||
- repo: https://github.com/gruntwork-io/pre-commit | ||
rev: e9250bd69bb312d55364213ff5ff037a09be55d9 # v0.1.12 | ||
hooks: | ||
- name: Check Helm charts | ||
id: helmlint | ||
- name: Check shell scripts | ||
id: shellcheck | ||
- repo: git://github.com/pre-commit/mirrors-prettier | ||
rev: bc48c541add1551be726f23c4294c773442341cb # v2.3.2 | ||
hooks: | ||
- name: Prettier | ||
id: prettier |
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,5 @@ | ||
charts/**/templates/**/*.yml | ||
charts/**/templates/**/*.yaml | ||
charts/**/README.md | ||
node_modules/ | ||
index.yaml |
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,3 @@ | ||
tabWidth: 2 | ||
semi: false | ||
singleQuote: true |
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,10 +1,10 @@ | ||
golang 1.21.3 | ||
nodejs 14.20.0 | ||
k3d 5.5.1 | ||
act 0.2.30 | ||
act 0.2.52 | ||
golangci-lint 1.54.2 | ||
actionlint 1.6.17 | ||
actionlint 1.6.26 | ||
shellcheck 0.9.0 | ||
helm 3.10.3 | ||
helm 3.13.1 | ||
kubectl 1.25.5 | ||
yarn 1.22.19 |
Validating CODEOWNERS rules …
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 +1 @@ | ||
* @sebawo @skudasov @kalverra @tateexon @AnieeG @gheorghestrimtu @lukaszcl @Tofel | ||
* @sebawo @smartcontractkit/test-tooling-team |
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,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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,14 @@ | ||
apiVersion: v1 | ||
name: chainlink | ||
description: A Helm chart for Kubernetes | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 0.2.6 | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: '2.5.0' |
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,43 @@ | ||
{{- range $cfg := .Values.nodes }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
app: {{ $.Release.Name }}-{{ $cfg.name }}-cm | ||
release: {{ $.Release.Name }} | ||
name: {{ $.Release.Name }}-{{ $cfg.name }}-cm | ||
data: | ||
apicredentials: | | ||
[email protected] | ||
fj293fbBnlQ!f9vNs | ||
node-password: T.tLHkcmwePT/p,]sYuntjwHKAsrhm#4eRs4LuKHwvHejWYAC2JP4M8HimwgmbaZ | ||
init.sql: | | ||
CREATE EXTENSION pg_stat_statements; | ||
default.toml: | | ||
RootDir = './clroot' | ||
[Log] | ||
JSONConsole = true | ||
Level = 'debug' | ||
[WebServer] | ||
AllowOrigins = '*' | ||
SecureCookies = false | ||
SessionTimeout = '999h0m0s' | ||
[WebServer.TLS] | ||
HTTPSPort = 0 | ||
overrides.toml: | | ||
{{- $toml := $.Values.toml }} | ||
{{- if $cfg.toml }} | ||
{{- $toml = $cfg.toml }} | ||
{{- end }} | ||
{{ indent 4 $toml }} | ||
secrets.toml: | | ||
{{- $secrets := $.Values.secretsToml }} | ||
{{- if $cfg.secretsToml }} | ||
{{- $secrets = $cfg.secretsToml }} | ||
{{- end }} | ||
{{ indent 4 $secrets }} | ||
--- | ||
{{- end }} |
Oops, something went wrong.