Skip to content

chore(deps+ci): reduce disk space usage + various dependencies alignments and upgrades #3149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
24 changes: 11 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Release - Traceloop SDK & Standalone Instrumentations

on:
workflow_dispatch:
workflow_dispatch:

jobs:
bump-version:
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest

outputs:
new_version: ${{ steps.cz.outputs.version }}
Expand Down Expand Up @@ -42,9 +42,8 @@ jobs:
- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"


release-instrumentations:
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs:
- bump-version
permissions:
Expand All @@ -67,23 +66,22 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18

- run: npm ci

- name: Build Instrumentations
run: npx nx run-many -t build-release --projects=tag:instrumentation

- run: mkdir instrumentations-dist
- run: cp packages/opentelemetry-instrumentation-*/dist/* instrumentations-dist

- name: Publish release distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: instrumentations-dist/



release-sdk:
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs:
- release-instrumentations
permissions:
Expand All @@ -106,9 +104,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18

- run: npm ci

- name: Build Traceloop SDK
run: npx nx run traceloop-sdk:build-release

Expand All @@ -118,7 +116,7 @@ jobs:
packages-dir: packages/traceloop-sdk/dist/

test-sdk-installation:
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs:
- bump-version
- release-sdk
Expand Down
Loading