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
26 changes: 0 additions & 26 deletions .eslintrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions .github/scripts/build_release_itinerary.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const path = require('path')
// Packages are listed in this order; anything not named here still shows up,
// under its workspace name, after the ones that are.
const labels = {
'@e2b/code-interpreter': 'JS SDK (@e2b/code-interpreter)',
'@e2b/code-interpreter-python': 'Python SDK (e2b-code-interpreter)',
'@e2b/data-extractor': 'Charts (e2b-charts)',
'@e2b/code-interpreter-template': 'Sandbox template (code-interpreter)',
}
Expand Down
91 changes: 0 additions & 91 deletions .github/workflows/js_tests.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
installer-parallel: true

- name: Install Python dependencies
working-directory: python
working-directory: chart_data_extractor
run: |
poetry install --with dev
pip install ruff=="0.11.12"
Expand Down
70 changes: 0 additions & 70 deletions .github/workflows/performance_tests.yml

This file was deleted.

26 changes: 1 addition & 25 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,9 @@ jobs:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
with:
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
js-sdk:
uses: ./.github/workflows/js_tests.yml
needs: build-template
secrets:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
with:
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
python-sdk:
uses: ./.github/workflows/python_tests.yml
needs: build-template
secrets:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
with:
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
performance-tests:
uses: ./.github/workflows/performance_tests.yml
needs: build-template
secrets:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
with:
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
cleanup-build-template:
uses: ./.github/workflows/cleanup_build_template.yml
needs: [build-template, js-sdk, python-sdk, performance-tests]
needs: [build-template]
if: always() && !contains(needs.build-template.result, 'failure') && !contains(needs.build-template.result, 'cancelled')
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
secrets:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/python_tests.yml

This file was deleted.

42 changes: 4 additions & 38 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
release: ${{ steps.version.outputs.release }}
js: ${{ steps.js.outputs.release }}
python: ${{ steps.python.outputs.release }}
charts: ${{ steps.charts.outputs.release }}
template: ${{ steps.template.outputs.release }}
itinerary: ${{ steps.itinerary.outputs.itinerary }}
Expand Down Expand Up @@ -74,20 +72,6 @@ jobs:
IS_RELEASE=$(./.github/scripts/is_release.sh)
echo "release=$IS_RELEASE" >> "$GITHUB_OUTPUT"

- name: Check JavaScript SDK Release
id: js
if: steps.version.outputs.release == 'true'
run: |
IS_RELEASE=$(./.github/scripts/is_release_for_package.sh "@e2b/code-interpreter")
echo "release=$IS_RELEASE" >> "$GITHUB_OUTPUT"

- name: Check Python SDK Release
id: python
if: steps.version.outputs.release == 'true'
run: |
IS_RELEASE=$(./.github/scripts/is_release_for_package.sh "@e2b/code-interpreter-python")
echo "release=$IS_RELEASE" >> "$GITHUB_OUTPUT"

- name: Check Charts SDK Release
id: charts
if: steps.version.outputs.release == 'true'
Expand Down Expand Up @@ -274,29 +258,11 @@ jobs:
E2B_API_KEY: ${{ secrets.E2B_PROD_API_KEY }}
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}

python-tests:
name: Python Tests
needs: [preflight, build-template]
if: (!cancelled()) &&
!contains(needs.*.result, 'failure') &&
needs.preflight.outputs.template == 'true'
uses: ./.github/workflows/python_tests.yml
secrets: inherit

js-tests:
name: JS Tests
needs: [preflight, build-template]
if: (!cancelled()) &&
!contains(needs.*.result, 'failure') &&
needs.preflight.outputs.template == 'true'
uses: ./.github/workflows/js_tests.yml
secrets: inherit

release:
# Every upstream job is listed, not just the tests: a job that fails makes its
# dependents *skip*, and a skipped test job is not a failure — so gating on
# Every upstream job is listed, not just the last one: a job that fails makes
# its dependents *skip*, and a skipped job is not a failure — so gating on
# `needs.*.result` only works for the jobs this one depends on directly.
needs: [preflight, charts-release, build-docker-image, build-template, python-tests, js-tests]
needs: [preflight, charts-release, build-docker-image, build-template]
if: (!cancelled()) &&
!contains(needs.*.result, 'failure') &&
needs.preflight.outputs.release == 'true'
Expand Down Expand Up @@ -438,7 +404,7 @@ jobs:
report-failure:
# `preflight` included so a failure there is reported too, whether or not
# `failure()` looks past this job's direct dependencies.
needs: [preflight, charts-release, build-docker-image, build-template, python-tests, js-tests, release]
needs: [preflight, charts-release, build-docker-image, build-template, release]
if: failure()
name: Code Interpreter Release Failed - Slack Notification
runs-on: ubuntu-latest
Expand Down
Loading
Loading