diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b44cf4df..024750e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,7 @@ jobs: uses: ./.github/workflows/test.yml with: action-matrix: '["lint-and-install", "install --upgrade"]' + secrets: inherit release: name: Release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e645b137..59f7da25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,4 +42,6 @@ jobs: if: contains(matrix.action, 'install') - name: Run chart-testing (${{ matrix.action }}) - run: ct ${{ matrix.action }} --config config.yaml --debug + run: ct ${{ matrix.action }} --config config.yaml --debug --helm-extra-set-args="$CT_HELM_EXTRA_SET_ARGS" + env: + CT_HELM_EXTRA_SET_ARGS: --set=host=${{ secrets.NETBOX_URL }} --set=auth.apiToken=${{ secrets.NETBOX_TOKEN }} diff --git a/charts/netbox-operator/ci/default-values.yaml b/charts/netbox-operator/ci/default-values.yaml index 419e926c..6ccda31b 100644 --- a/charts/netbox-operator/ci/default-values.yaml +++ b/charts/netbox-operator/ci/default-values.yaml @@ -1,2 +1 @@ -host: demo.netbox.dev https: true