Skip to content

Commit

Permalink
tmp: test run for helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
basti1302 committed Jun 26, 2024
1 parent f7d37ac commit 9dfda21
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,44 +24,44 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: ~1.22
cache: true

- name: go version
run: |
go version
- name: build
run: |
make
- name: verify that generated code is up-to-date
run: |
# make (which we ran in the previous step) will implicitly also run the targets manifests & generate, which
# could potentially modify code that is under version control, if changes have been comitted that would have
# required updating manifests or generated code and these updates have not been done.
git diff --exit-code
- name: lint
run: |
make lint
- name: install Helm unittest plugin
shell: bash
run: |
helm plugin install https://github.com/helm-unittest/helm-unittest.git
- name: install Helm dependencies
working-directory: helm-chart/dash0-operator
run: |
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts --force-update
helm dependency build
- name: test
run: |
make test
# - uses: actions/setup-go@v5
# with:
# go-version: ~1.22
# cache: true

# - name: go version
# run: |
# go version

# - name: build
# run: |
# make

# - name: verify that generated code is up-to-date
# run: |
# # make (which we ran in the previous step) will implicitly also run the targets manifests & generate, which
# # could potentially modify code that is under version control, if changes have been comitted that would have
# # required updating manifests or generated code and these updates have not been done.
# git diff --exit-code

# - name: lint
# run: |
# make lint

# - name: install Helm unittest plugin
# shell: bash
# run: |
# helm plugin install https://github.com/helm-unittest/helm-unittest.git

# - name: install Helm dependencies
# working-directory: helm-chart/dash0-operator
# run: |
# helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts --force-update
# helm dependency build

# - name: test
# run: |
# make test

# Builds and potentially pushes all container images. For pushes to PRs/branches, we simply verify that the image
# build still works, the resulting image will not be pushed to any target registry. For pushes to the main branch, the
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
publish-helm-chart:
name: Publish Helm Chart
runs-on: ubuntu-latest
if: ${{ contains(github.ref, 'refs/tags/') }}
# if: ${{ contains(github.ref, 'refs/tags/') }}
needs:
- build-and-push-images
concurrency:
Expand Down

0 comments on commit 9dfda21

Please sign in to comment.