-
Notifications
You must be signed in to change notification settings - Fork 22
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 #38 from mercedes-benz/miw-26-july-2023
Miw 26 july 2023
- Loading branch information
Showing
111 changed files
with
2,763 additions
and
2,606 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,21 @@ | ||
version: 2 | ||
updates: | ||
# maintain dependencies for GitHub actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monday" | ||
open-pull-requests-limit: 5 | ||
labels: | ||
- "dependencies" | ||
- "github_actions" | ||
|
||
# maintain dependencies for Gradle | ||
- package-ecosystem: "gradle" # checks build.gradle(.kts) and settings.gradle(.kts) | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 5 | ||
labels: | ||
- "dependencies" | ||
- "java" |
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,57 +1,68 @@ | ||
name: Lint and Test Charts | ||
|
||
# Run chart linting and tests on each pull request | ||
on: | ||
pull_request: | ||
paths: | ||
- 'charts/**' | ||
|
||
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.9.3 | ||
|
||
- name: Add Helm repos | ||
run: | | ||
cd charts/managed-identity-wallet | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm dependency update | ||
# Setup python as a prerequisite for chart linting | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Set up chart-testing | ||
uses: helm/chart-testing-action@v2.3.1 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | ||
if [[ -n "$changed" ]]; then | ||
echo "::set-output name=changed::true" | ||
fi | ||
# run chart linting | ||
- name: Run chart-testing (lint) | ||
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --config charts/chart-testing-config.yaml | ||
|
||
# Preparing a kind cluster to install and test charts on | ||
- name: Create kind cluster | ||
uses: helm/kind-action@v1.4.0 | ||
if: steps.list-changed.outputs.changed == 'true' | ||
|
||
# install the chart to the kind cluster and run helm test | ||
# define charts to test with the --charts parameter | ||
- name: Run chart-testing (install) | ||
run: ct install --charts charts/managed-identity-wallet --config charts/chart-testing-config.yaml | ||
if: steps.list-changed.outputs.changed == 'true' | ||
# name: Lint and Test Charts | ||
|
||
# # Run chart linting and tests on each pull request | ||
# on: | ||
# pull_request: | ||
# paths: | ||
# - 'charts/**' | ||
|
||
# jobs: | ||
# chart-lint: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# fetch-depth: 0 | ||
|
||
# - name: Set up Helm | ||
# uses: azure/setup-helm@v3 | ||
# with: | ||
# version: v3.11.3 | ||
|
||
# - name: Update Helm dependencies | ||
# run: | | ||
# cd charts/managed-identity-wallet | ||
# helm dependency update | ||
|
||
# - name: Install Helm unittest plugin | ||
# run: | | ||
# helm plugin install https://github.com/helm-unittest/helm-unittest.git | ||
|
||
# # Setup python as a prerequisite for chart linting | ||
# - uses: actions/setup-python@v2 | ||
# with: | ||
# python-version: 3.7 | ||
|
||
# - name: Set up chart-testing | ||
# uses: helm/chart-testing-action@v2.3.1 | ||
|
||
# - name: Install Task | ||
# uses: arduino/setup-task@v1 | ||
|
||
# - name: Run chart-testing (list-changed) | ||
# id: list-changed | ||
# run: | | ||
# changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | ||
# if [[ -n "$changed" ]]; then | ||
# echo "::set-output name=changed::true" | ||
# fi | ||
|
||
# # run chart linting | ||
# - name: Run chart-testing (lint) | ||
# run: ct lint --config charts/chart-testing-config.yaml --charts ./charts/managed-identity-wallet | ||
|
||
# # run chart unittest | ||
# - name: Run Helm unittests | ||
# run: task helm:unittest | ||
|
||
# # Preparing a kind cluster to install and test charts on | ||
# - name: Create kind cluster | ||
# uses: helm/kind-action@v1.7.0 | ||
# if: steps.list-changed.outputs.changed == 'true' | ||
|
||
# # install the chart to the kind cluster and run helm test | ||
# # define charts to test with the --charts parameter | ||
# - name: Run chart-testing (install) | ||
# run: ct install --charts charts/managed-identity-wallet --config charts/chart-testing-config.yaml | ||
# if: steps.list-changed.outputs.changed == 'true' |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.