-
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.
Refactor component and add appcat package
Signed-off-by: Nicolas Bigler <nicolas.bigler@vshn.ch>
- Loading branch information
Showing
377 changed files
with
2,450 additions
and
1,398 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
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,65 @@ | ||
name: Pull Request (component) | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
COMPONENT_NAME: appcat | ||
|
||
jobs: | ||
linting: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
command: | ||
- lint_jsonnet | ||
- lint_yaml | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run ${{ matrix.command }} | ||
run: make -C component ${{ matrix.command }} | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
instance: | ||
- defaults | ||
- exoscale | ||
- cloudscale | ||
- openshift | ||
- vshn | ||
- apiserver | ||
- controllers | ||
- minio | ||
defaults: | ||
run: | ||
working-directory: ${{ env.COMPONENT_NAME }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.COMPONENT_NAME }} | ||
- name: Compile component | ||
run: make -C component test -e instance=${{ matrix.instance }} | ||
golden: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
instance: | ||
- defaults | ||
- exoscale | ||
- cloudscale | ||
- openshift | ||
- vshn | ||
- apiserver | ||
- controllers | ||
- minio | ||
defaults: | ||
run: | ||
working-directory: ${{ env.COMPONENT_NAME }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.COMPONENT_NAME }} | ||
- name: Golden diff | ||
run: make -C component golden-diff -e instance=${{ matrix.instance }} |
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,51 @@ | ||
name: Pull Request (package) | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
PACKAGE_NAME: appcat | ||
|
||
jobs: | ||
linting: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
command: | ||
- lint_yaml | ||
- lint_commodore | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run ${{ matrix.command }} | ||
run: make -C package ${{ matrix.command }} | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
instance: | ||
- defaults | ||
defaults: | ||
run: | ||
working-directory: ${{ env.PACKAGE_NAME }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.PACKAGE_NAME }} | ||
- name: Compile component | ||
run: make -C package test -e instance=${{ matrix.instance }} | ||
golden: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
instance: | ||
- defaults | ||
defaults: | ||
run: | ||
working-directory: ${{ env.PACKAGE_NAME }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.PACKAGE_NAME }} | ||
- name: Golden diff | ||
run: make -C package golden-diff -e instance=${{ matrix.instance }} |
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,73 +1,21 @@ | ||
name: Pull Request | ||
name: Pull Request (global lints) | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
env: | ||
COMPONENT_NAME: appcat | ||
|
||
jobs: | ||
linting: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
command: | ||
- lint_jsonnet | ||
- lint_yaml | ||
- lint_adoc | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run ${{ matrix.command }} | ||
run: make ${{ matrix.command }} | ||
- name: Run Asciidoc linter | ||
run: make lint_adoc | ||
|
||
editorconfig: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: snow-actions/eclint@v1.0.1 | ||
with: | ||
args: 'check' | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
instance: | ||
- defaults | ||
- exoscale | ||
- cloudscale | ||
- openshift | ||
- vshn | ||
- apiserver | ||
- controllers | ||
- minio | ||
defaults: | ||
run: | ||
working-directory: ${{ env.COMPONENT_NAME }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.COMPONENT_NAME }} | ||
- name: Compile component | ||
run: make test -e instance=${{ matrix.instance }} | ||
golden: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
instance: | ||
- defaults | ||
- exoscale | ||
- cloudscale | ||
- openshift | ||
- vshn | ||
- apiserver | ||
- controllers | ||
- minio | ||
defaults: | ||
run: | ||
working-directory: ${{ env.COMPONENT_NAME }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.COMPONENT_NAME }} | ||
- name: Golden diff | ||
run: make golden-diff -e instance=${{ matrix.instance }} | ||
args: "check" |
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.