From 78653ef9a5708d504bb1f5c3888c4c8d384c2c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Em=C3=ADdio=20Neto?= <9735060+emdneto@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:22:28 -0300 Subject: [PATCH] infra: remove generate contrib workflows from core (#4302) * test call worflow Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * test repo Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * remove old contrib Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix names Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * change name Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * Update .github/workflows/contrib.yml * Update contrib.yml * Update contrib.yml * Test pass contrib_repo_sha * Update .github/workflows/contrib.yml --------- Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> Co-authored-by: Riccardo Magliocchetti --- .github/workflows/contrib.yml | 14 + .github/workflows/contrib_0.yml | 2425 ----------------------- .github/workflows/generate_workflows.py | 2 - 3 files changed, 14 insertions(+), 2427 deletions(-) create mode 100644 .github/workflows/contrib.yml delete mode 100644 .github/workflows/contrib_0.yml diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml new file mode 100644 index 0000000000..5552d6fe04 --- /dev/null +++ b/.github/workflows/contrib.yml @@ -0,0 +1,14 @@ +name: Core Contrib Test + +on: + push: + branches-ignore: + - 'release/*' + pull_request: + +jobs: + contrib_0: + uses: open-telemetry/opentelemetry-python-contrib/.github/workflows/core_contrib_test_0.yml@main + with: + CORE_REPO_SHA: ${{ github.sha }} + CONTRIB_REPO_SHA: main diff --git a/.github/workflows/contrib_0.yml b/.github/workflows/contrib_0.yml deleted file mode 100644 index ffd46c46d1..0000000000 --- a/.github/workflows/contrib_0.yml +++ /dev/null @@ -1,2425 +0,0 @@ -# Do not edit this file. -# This file is generated automatically by executing tox -e generate-workflows - -name: Contrib 0 - -on: - push: - branches-ignore: - - 'release/*' - pull_request: - -env: - CORE_REPO_SHA: ${{ github.sha }} - CONTRIB_REPO_SHA: main - PIP_EXISTS_ACTION: w - -jobs: - - py38-test-instrumentation-openai-v2-0: - name: instrumentation-openai-v2-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-openai-v2-0 -- -ra - - py38-test-instrumentation-openai-v2-1: - name: instrumentation-openai-v2-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-openai-v2-1 -- -ra - - py38-test-resource-detector-container: - name: resource-detector-container - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-resource-detector-container -- -ra - - py38-test-resource-detector-azure-0: - name: resource-detector-azure-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-resource-detector-azure-0 -- -ra - - py38-test-resource-detector-azure-1: - name: resource-detector-azure-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-resource-detector-azure-1 -- -ra - - py38-test-sdk-extension-aws-0: - name: sdk-extension-aws-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-sdk-extension-aws-0 -- -ra - - py38-test-sdk-extension-aws-1: - name: sdk-extension-aws-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-sdk-extension-aws-1 -- -ra - - py38-test-distro: - name: distro - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-distro -- -ra - - py38-test-opentelemetry-instrumentation: - name: opentelemetry-instrumentation - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-opentelemetry-instrumentation -- -ra - - py38-test-instrumentation-aiohttp-client: - name: instrumentation-aiohttp-client - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aiohttp-client -- -ra - - py38-test-instrumentation-aiohttp-server: - name: instrumentation-aiohttp-server - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aiohttp-server -- -ra - - py38-test-instrumentation-aiopg: - name: instrumentation-aiopg - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aiopg -- -ra - - py38-test-instrumentation-aws-lambda: - name: instrumentation-aws-lambda - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aws-lambda -- -ra - - py38-test-instrumentation-botocore: - name: instrumentation-botocore - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-botocore -- -ra - - py38-test-instrumentation-boto3sqs: - name: instrumentation-boto3sqs - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-boto3sqs -- -ra - - py38-test-instrumentation-django-0: - name: instrumentation-django-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-django-0 -- -ra - - py38-test-instrumentation-django-1: - name: instrumentation-django-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-django-1 -- -ra - - py38-test-instrumentation-django-2: - name: instrumentation-django-2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-django-2 -- -ra - - py38-test-instrumentation-dbapi: - name: instrumentation-dbapi - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-dbapi -- -ra - - py38-test-instrumentation-boto: - name: instrumentation-boto - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-boto -- -ra - - py38-test-instrumentation-elasticsearch-0: - name: instrumentation-elasticsearch-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-elasticsearch-0 -- -ra - - py38-test-instrumentation-elasticsearch-1: - name: instrumentation-elasticsearch-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-elasticsearch-1 -- -ra - - py38-test-instrumentation-elasticsearch-2: - name: instrumentation-elasticsearch-2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-elasticsearch-2 -- -ra - - py38-test-instrumentation-falcon-0: - name: instrumentation-falcon-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-falcon-0 -- -ra - - py38-test-instrumentation-falcon-1: - name: instrumentation-falcon-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-falcon-1 -- -ra - - py38-test-instrumentation-falcon-2: - name: instrumentation-falcon-2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-falcon-2 -- -ra - - py38-test-instrumentation-fastapi: - name: instrumentation-fastapi - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-fastapi -- -ra - - py38-test-instrumentation-flask-0: - name: instrumentation-flask-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-flask-0 -- -ra - - py38-test-instrumentation-flask-1: - name: instrumentation-flask-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-flask-1 -- -ra - - py38-test-instrumentation-flask-2: - name: instrumentation-flask-2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-flask-2 -- -ra - - py38-test-instrumentation-urllib: - name: instrumentation-urllib - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-urllib -- -ra - - py38-test-instrumentation-urllib3-0: - name: instrumentation-urllib3-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-urllib3-0 -- -ra - - py38-test-instrumentation-urllib3-1: - name: instrumentation-urllib3-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-urllib3-1 -- -ra - - py38-test-instrumentation-requests: - name: instrumentation-requests - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-requests -- -ra - - py38-test-instrumentation-starlette: - name: instrumentation-starlette - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-starlette -- -ra - - py38-test-instrumentation-jinja2: - name: instrumentation-jinja2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-jinja2 -- -ra - - py38-test-instrumentation-logging: - name: instrumentation-logging - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-logging -- -ra - - py38-test-exporter-richconsole: - name: exporter-richconsole - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-exporter-richconsole -- -ra - - py38-test-exporter-prometheus-remote-write: - name: exporter-prometheus-remote-write - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-exporter-prometheus-remote-write -- -ra - - py38-test-instrumentation-mysql-0: - name: instrumentation-mysql-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-mysql-0 -- -ra - - py38-test-instrumentation-mysql-1: - name: instrumentation-mysql-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-mysql-1 -- -ra - - py38-test-instrumentation-mysqlclient: - name: instrumentation-mysqlclient - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-mysqlclient -- -ra - - py38-test-instrumentation-psycopg2: - name: instrumentation-psycopg2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-psycopg2 -- -ra - - py38-test-instrumentation-psycopg: - name: instrumentation-psycopg - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-psycopg -- -ra - - py38-test-instrumentation-pymemcache-0: - name: instrumentation-pymemcache-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pymemcache-0 -- -ra - - py38-test-instrumentation-pymemcache-1: - name: instrumentation-pymemcache-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pymemcache-1 -- -ra - - py38-test-instrumentation-pymemcache-2: - name: instrumentation-pymemcache-2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pymemcache-2 -- -ra - - py38-test-instrumentation-pymemcache-3: - name: instrumentation-pymemcache-3 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pymemcache-3 -- -ra - - py38-test-instrumentation-pymemcache-4: - name: instrumentation-pymemcache-4 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pymemcache-4 -- -ra - - py38-test-instrumentation-pymongo: - name: instrumentation-pymongo - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pymongo -- -ra - - py38-test-instrumentation-pymysql: - name: instrumentation-pymysql - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pymysql -- -ra - - py38-test-instrumentation-pyramid: - name: instrumentation-pyramid - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-pyramid -- -ra - - py38-test-instrumentation-asgi: - name: instrumentation-asgi - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-asgi -- -ra - - py38-test-instrumentation-asyncpg: - name: instrumentation-asyncpg - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-asyncpg -- -ra - - py38-test-instrumentation-sqlite3: - name: instrumentation-sqlite3 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-sqlite3 -- -ra - - py38-test-instrumentation-wsgi: - name: instrumentation-wsgi - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-wsgi -- -ra - - py38-test-instrumentation-grpc-0: - name: instrumentation-grpc-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-grpc-0 -- -ra - - py38-test-instrumentation-grpc-1: - name: instrumentation-grpc-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-grpc-1 -- -ra - - py38-test-instrumentation-sqlalchemy-1: - name: instrumentation-sqlalchemy-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-sqlalchemy-1 -- -ra - - py38-test-instrumentation-sqlalchemy-2: - name: instrumentation-sqlalchemy-2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-sqlalchemy-2 -- -ra - - py38-test-instrumentation-redis: - name: instrumentation-redis - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-redis -- -ra - - py38-test-instrumentation-remoulade: - name: instrumentation-remoulade - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-remoulade -- -ra - - py38-test-instrumentation-celery: - name: instrumentation-celery - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-celery -- -ra - - py38-test-instrumentation-system-metrics: - name: instrumentation-system-metrics - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-system-metrics -- -ra - - py38-test-instrumentation-threading: - name: instrumentation-threading - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-threading -- -ra - - py38-test-instrumentation-tornado: - name: instrumentation-tornado - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-tornado -- -ra - - py38-test-instrumentation-tortoiseorm: - name: instrumentation-tortoiseorm - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-tortoiseorm -- -ra - - py38-test-instrumentation-httpx-0: - name: instrumentation-httpx-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-httpx-0 -- -ra - - py38-test-instrumentation-httpx-1: - name: instrumentation-httpx-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-httpx-1 -- -ra - - py38-test-util-http: - name: util-http - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-util-http -- -ra - - py38-test-propagator-aws-xray-0: - name: propagator-aws-xray-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-propagator-aws-xray-0 -- -ra - - py38-test-propagator-aws-xray-1: - name: propagator-aws-xray-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-propagator-aws-xray-1 -- -ra - - py38-test-propagator-ot-trace: - name: propagator-ot-trace - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-propagator-ot-trace -- -ra - - py38-test-instrumentation-sio-pika-0: - name: instrumentation-sio-pika-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-sio-pika-0 -- -ra - - py38-test-instrumentation-sio-pika-1: - name: instrumentation-sio-pika-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-sio-pika-1 -- -ra - - py38-test-instrumentation-aio-pika-0: - name: instrumentation-aio-pika-0 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aio-pika-0 -- -ra - - py38-test-instrumentation-aio-pika-1: - name: instrumentation-aio-pika-1 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aio-pika-1 -- -ra - - py38-test-instrumentation-aio-pika-2: - name: instrumentation-aio-pika-2 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aio-pika-2 -- -ra - - py38-test-instrumentation-aio-pika-3: - name: instrumentation-aio-pika-3 - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aio-pika-3 -- -ra - - py38-test-instrumentation-aiokafka: - name: instrumentation-aiokafka - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-aiokafka -- -ra - - py38-test-instrumentation-kafka-python: - name: instrumentation-kafka-python - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-kafka-python -- -ra - - py38-test-instrumentation-kafka-pythonng: - name: instrumentation-kafka-pythonng - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-kafka-pythonng -- -ra - - py38-test-instrumentation-confluent-kafka: - name: instrumentation-confluent-kafka - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-confluent-kafka -- -ra - - py38-test-instrumentation-asyncio: - name: instrumentation-asyncio - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-asyncio -- -ra - - py38-test-instrumentation-cassandra: - name: instrumentation-cassandra - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-instrumentation-cassandra -- -ra - - py38-test-processor-baggage: - name: processor-baggage - runs-on: ubuntu-latest - steps: - - name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python-contrib - ref: ${{ env.CONTRIB_REPO_SHA }} - - - name: Checkout core repo @ SHA - ${{ github.sha }} - uses: actions/checkout@v4 - with: - repository: open-telemetry/opentelemetry-python - path: opentelemetry-python-core - - - name: Set up Python 3.8 - uses: actions/setup-python@v5 - with: - python-version: "3.8" - architecture: "x64" - - - name: Install tox - run: pip install tox - - - name: Run tests - run: tox -e py38-test-processor-baggage -- -ra diff --git a/.github/workflows/generate_workflows.py b/.github/workflows/generate_workflows.py index 2b456d2942..ea46533409 100644 --- a/.github/workflows/generate_workflows.py +++ b/.github/workflows/generate_workflows.py @@ -1,7 +1,6 @@ from pathlib import Path from generate_workflows_lib import ( - generate_contrib_workflow, generate_lint_workflow, generate_misc_workflow, generate_test_workflow, @@ -17,5 +16,4 @@ "windows-latest", ) generate_lint_workflow(tox_ini_path, workflows_directory_path) -generate_contrib_workflow(workflows_directory_path) generate_misc_workflow(tox_ini_path, workflows_directory_path)