Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenh committed Aug 28, 2024
1 parent 137e7ef commit 733f2b6
Showing 1 changed file with 49 additions and 45 deletions.
94 changes: 49 additions & 45 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,53 +34,57 @@ jobs:
- 'charts/discovery/**'
charts/scim:
- 'charts/scim/**'
lint:
runs-on: ubuntu-latest
needs: diff
if: needs.diff.outputs.charts
steps:
- name: debug
run: |
echo raw: ${{ needs.diff.outputs.charts }}
echo json: ${{ toJSON(needs.diff.outputs.charts) }}
echo join: ${{ join(needs.diff.outputs.charts) }}
-
name: Read Configuration
uses: hashicorp/vault-action@v3
id: vault
with:
url: https://vault.eng.aserto.com/
token: ${{ secrets.VAULT_TOKEN }}
secrets: |
kv/data/github "USERNAME" | DOCKER_USERNAME;
kv/data/github "READ_WRITE_TOKEN" | READ_WRITE_TOKEN;
-
uses: actions/checkout@v4
with:
# Fetch the full history so that we can diff against the target branch
fetch-depth: 0
-
name: Set up Helm
uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
-
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
check-latest: true
-
name: Set up chart-testing
uses: helm/[email protected]
with:
version: v3.10.0
-
name: Lint ${{ matrix.chart.name }}
name: Debug
run: |
ct lint --config ct.yaml \
--charts '${{ join(needs.diff.outputs.charts) }}' \
--target-branch ${{ github.event.repository.default_branch }} \
--helm-repo-extra-args "aserto-helm=-u gh -p ${READ_WRITE_TOKEN}"
echo join: ${{ join(steps.changes.outputs.changes, ',') }}
# lint:
# runs-on: ubuntu-latest
# needs: diff
# if: needs.diff.outputs.charts
# steps:
# - name: debug
# run: |
# echo raw: ${{ needs.diff.outputs.charts }}
# echo json: ${{ toJSON(needs.diff.outputs.charts) }}
# echo join: ${{ join(needs.diff.outputs.charts, ",") }}
# -
# name: Read Configuration
# uses: hashicorp/vault-action@v3
# id: vault
# with:
# url: https://vault.eng.aserto.com/
# token: ${{ secrets.VAULT_TOKEN }}
# secrets: |
# kv/data/github "USERNAME" | DOCKER_USERNAME;
# kv/data/github "READ_WRITE_TOKEN" | READ_WRITE_TOKEN;
# -
# uses: actions/checkout@v4
# with:
# # Fetch the full history so that we can diff against the target branch
# fetch-depth: 0
# -
# name: Set up Helm
# uses: azure/setup-helm@v4
# with:
# version: ${{ env.HELM_VERSION }}
# -
# uses: actions/setup-python@v5
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# check-latest: true
# -
# name: Set up chart-testing
# uses: helm/[email protected]
# with:
# version: v3.10.0
# -
# name: Lint ${{ matrix.chart.name }}
# run: |
# ct lint --config ct.yaml \
# --charts '${{ join(needs.diff.outputs.charts) }}' \
# --target-branch ${{ github.event.repository.default_branch }} \
# --helm-repo-extra-args "aserto-helm=-u gh -p ${READ_WRITE_TOKEN}"

# test-changes:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 733f2b6

Please sign in to comment.