Update opentelemetry-go monorepo #77
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
name: Dagger test | |
on: | |
push: | |
env: | |
# The Dagger CLI uses the DAGGER_CLOUD_TOKEN environment variable to authenticate with Dagger Cloud | |
DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dagger CLI | |
run: cd /usr/local && { curl -L https://dl.dagger.io/dagger/install.sh | sh; cd -; } | |
- name: Display module functions | |
run: dagger functions -m helm/ | |
- name: Run module tests | |
run: dagger -m examples/ call all | |
- name: Run module integration tests | |
env: | |
TEST_HELM_REGISTRY_URL: ${{ secrets.TEST_HELM_REGISTRY_URL }} | |
TEST_HELM_REGISTRY_REPOSITORY: ${{ secrets.TEST_HELM_REGISTRY_REPOSITORY }} | |
TEST_HELM_REGISTRY_HELM_USER: ${{ secrets.TEST_HELM_REGISTRY_HELM_USER }} | |
TEST_HELM_REGISTRY_HELM_PASSWORD: ${{ secrets.TEST_HELM_REGISTRY_HELM_PASSWORD }} | |
run: | | |
dagger -m examples/ \ | |
call package-push \ | |
--registry ${TEST_HELM_REGISTRY_URL} \ | |
--repository ${TEST_HELM_REGISTRY_REPOSITORY} \ | |
--username ${TEST_HELM_REGISTRY_HELM_USER} \ | |
--password env:TEST_HELM_REGISTRY_HELM_PASSWORD |