Skip to content

Commit

Permalink
genereate
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Nov 8, 2024
1 parent 1154bd5 commit a1083d1
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 14 deletions.
166 changes: 153 additions & 13 deletions .github/workflows/contrib_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:

env:
CORE_REPO_SHA: ${{ github.sha }}
CONTRIB_REPO_SHA: 925d8442c91ab7a89296ab20eb7cca688d4ea1cd
CONTRIB_REPO_SHA: c65e27333e7c7b6ea2e5eb56191c16f024430881
PIP_EXISTS_ACTION: w

jobs:

py38-test-instrumentation-openai-v2:
name: instrumentation-openai-v2
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 }}
Expand All @@ -42,7 +42,35 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py38-test-instrumentation-openai-v2 -- -ra
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
Expand Down Expand Up @@ -72,8 +100,8 @@ jobs:
- name: Run tests
run: tox -e py38-test-resource-detector-container -- -ra

py38-test-resource-detector-azure:
name: resource-detector-azure
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 }}
Expand All @@ -98,10 +126,10 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py38-test-resource-detector-azure -- -ra
run: tox -e py38-test-resource-detector-azure-0 -- -ra

py38-test-sdk-extension-aws:
name: sdk-extension-aws
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 }}
Expand All @@ -126,7 +154,63 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py38-test-sdk-extension-aws -- -ra
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
Expand Down Expand Up @@ -1584,6 +1668,34 @@ jobs:
- 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
Expand Down Expand Up @@ -1864,8 +1976,36 @@ jobs:
- name: Run tests
run: tox -e py38-test-util-http -- -ra

py38-test-propagator-aws-xray:
name: propagator-aws-xray
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 }}
Expand All @@ -1890,7 +2030,7 @@ jobs:
run: pip install tox

- name: Run tests
run: tox -e py38-test-propagator-aws-xray -- -ra
run: tox -e py38-test-propagator-aws-xray-1 -- -ra

py38-test-propagator-ot-trace:
name: propagator-ot-trace
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ jobs:
docs:
name: docs
runs-on: ubuntu-latest
if: |
github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand Down Expand Up @@ -215,7 +217,7 @@ jobs:
runs-on: ubuntu-latest
if: |
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
&& github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand Down

0 comments on commit a1083d1

Please sign in to comment.