Bump opentelemetry-instrumentation from 0.30b1 to 0.41b0 in /python/opentracing #1216
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: Run integration test | |
on: | |
pull_request: | |
env: | |
DOCKER_BUILDKIT: 1 | |
COMPOSE_DOCKER_CLI_BUILD: 1 | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: .github/filters.yaml | |
- name: Validate config is up-to-date | |
if: steps.changes.outputs.code-examples == 'true' | |
run: ./tools/precommit.sh | |
test: | |
needs: validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: .github/filters.yaml | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
if: steps.changes.outputs.code-examples == 'true' | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update configuration | |
env: | |
TOKEN: ${{ secrets.TOKEN }} | |
ORG_NAME: ${{ secrets.ORG_NAME }} | |
PROJECT_NAME: examples | |
API_KEY: ${{ secrets.API_KEY }} | |
if: steps.changes.outputs.code-examples == 'true' | |
run: ./tools/update-token.sh | |
- name: Pull images | |
if: steps.changes.outputs.code-examples == 'true' | |
run: docker-compose pull | |
- name: Build images | |
if: steps.changes.outputs.code-examples == 'true' | |
run: docker-compose build --parallel | |
- name: Run integration test | |
env: | |
TOKEN: ${{ secrets.TOKEN }} | |
if: steps.changes.outputs.code-examples == 'true' | |
run: docker-compose up --exit-code-from integration-test integration-test |