Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- 'release/*'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
contrib_0:
uses: open-telemetry/opentelemetry-python-contrib/.github/workflows/core_contrib_test_0.yml@main
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/lint_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- 'release/*'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CORE_REPO_SHA: main
CONTRIB_REPO_SHA: main
Expand All @@ -19,6 +23,7 @@ jobs:
lint-opentelemetry-api:
name: opentelemetry-api
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -37,6 +42,7 @@ jobs:
lint-opentelemetry-proto-protobuf5:
name: opentelemetry-proto-protobuf5
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -55,6 +61,7 @@ jobs:
lint-opentelemetry-sdk:
name: opentelemetry-sdk
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -73,6 +80,7 @@ jobs:
lint-opentelemetry-semantic-conventions:
name: opentelemetry-semantic-conventions
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -91,6 +99,7 @@ jobs:
lint-opentelemetry-getting-started:
name: opentelemetry-getting-started
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -109,6 +118,7 @@ jobs:
lint-opentelemetry-opentracing-shim:
name: opentelemetry-opentracing-shim
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -127,6 +137,7 @@ jobs:
lint-opentelemetry-opencensus-shim:
name: opentelemetry-opencensus-shim
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -145,6 +156,7 @@ jobs:
lint-opentelemetry-exporter-opencensus:
name: opentelemetry-exporter-opencensus
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -163,6 +175,7 @@ jobs:
lint-opentelemetry-exporter-otlp-proto-common:
name: opentelemetry-exporter-otlp-proto-common
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -181,6 +194,7 @@ jobs:
lint-opentelemetry-exporter-otlp-combined:
name: opentelemetry-exporter-otlp-combined
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -199,6 +213,7 @@ jobs:
lint-opentelemetry-exporter-otlp-proto-grpc:
name: opentelemetry-exporter-otlp-proto-grpc
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -217,6 +232,7 @@ jobs:
lint-opentelemetry-exporter-otlp-proto-http:
name: opentelemetry-exporter-otlp-proto-http
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -235,6 +251,7 @@ jobs:
lint-opentelemetry-exporter-prometheus:
name: opentelemetry-exporter-prometheus
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -253,6 +270,7 @@ jobs:
lint-opentelemetry-exporter-zipkin-combined:
name: opentelemetry-exporter-zipkin-combined
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -271,6 +289,7 @@ jobs:
lint-opentelemetry-exporter-zipkin-proto-http:
name: opentelemetry-exporter-zipkin-proto-http
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -289,6 +308,7 @@ jobs:
lint-opentelemetry-exporter-zipkin-json:
name: opentelemetry-exporter-zipkin-json
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -307,6 +327,7 @@ jobs:
lint-opentelemetry-propagator-b3:
name: opentelemetry-propagator-b3
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -325,6 +346,7 @@ jobs:
lint-opentelemetry-propagator-jaeger:
name: opentelemetry-propagator-jaeger
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -343,6 +365,7 @@ jobs:
lint-opentelemetry-test-utils:
name: opentelemetry-test-utils
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- 'release/*'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CORE_REPO_SHA: main
CONTRIB_REPO_SHA: main
Expand All @@ -19,6 +23,7 @@ jobs:
spellcheck:
name: spellcheck
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -37,6 +42,7 @@ jobs:
tracecontext:
name: tracecontext
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -55,6 +61,7 @@ jobs:
mypy:
name: mypy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -73,6 +80,7 @@ jobs:
mypyinstalled:
name: mypyinstalled
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -91,6 +99,7 @@ jobs:
typecheck:
name: typecheck
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -109,6 +118,7 @@ jobs:
docs:
name: docs
runs-on: ubuntu-latest
timeout-minutes: 30
if: |
github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
steps:
Expand All @@ -129,6 +139,7 @@ jobs:
docker-tests-otlpexporter:
name: docker-tests-otlpexporter
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -147,6 +158,7 @@ jobs:
docker-tests-opencensus:
name: docker-tests-opencensus
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -165,6 +177,7 @@ jobs:
public-symbols-check:
name: public-symbols-check
runs-on: ubuntu-latest
timeout-minutes: 30
if: |
!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
Expand Down Expand Up @@ -197,6 +210,7 @@ jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand All @@ -215,6 +229,7 @@ jobs:
generate-workflows:
name: generate-workflows
runs-on: ubuntu-latest
timeout-minutes: 30
if: |
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
&& github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
Expand All @@ -239,6 +254,7 @@ jobs:
precommit:
name: precommit
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/templates/lint.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- 'release/*'
pull_request:

concurrency:
group: ${% raw %}{{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
cancel-in-progress: true

env:
CORE_REPO_SHA: main
CONTRIB_REPO_SHA: main
Expand All @@ -20,6 +24,7 @@ jobs:
{{ job_data.name }}:
name: {{ job_data.ui_name }}
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/templates/misc.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- 'release/*'
pull_request:

concurrency:
group: ${% raw %}{{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
cancel-in-progress: true

env:
CORE_REPO_SHA: main
CONTRIB_REPO_SHA: main
Expand All @@ -20,6 +24,7 @@ jobs:
{{ job_data }}:
name: {{ job_data }}
runs-on: ubuntu-latest
timeout-minutes: 30
{%- if job_data == "generate-workflows" %}
if: |
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/templates/test.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- 'release/*'
pull_request:

concurrency:
group: ${% raw %}{{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
cancel-in-progress: true

env:
CORE_REPO_SHA: main
CONTRIB_REPO_SHA: main
Expand All @@ -20,6 +24,7 @@ jobs:
{{ job_data.name }}:
name: {{ job_data.ui_name }}
runs-on: {{ job_data.os }}
timeout-minutes: 30
steps:
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
uses: actions/checkout@v4
Expand Down
Loading