Skip to content
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

fix(release): correct ubuntu:xenial install #5898

Merged
merged 3 commits into from
Sep 7, 2023
Merged

fix(release): correct ubuntu:xenial install #5898

merged 3 commits into from
Sep 7, 2023

Conversation

tknickman
Copy link
Member

@tknickman tknickman commented Sep 7, 2023

Description

Fix capnproto action.

Validated in test action

Closes TURBO-1310

@vercel
Copy link

vercel bot commented Sep 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

11 Ignored Deployments
Name Status Preview Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-cra-web ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-gatsby-web ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-native-web ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-nonmonorepo ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-svelte-web ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-tailwind-web ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
examples-vite-web ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm
turbo-site ⬜️ Ignored (Inspect) Sep 7, 2023 1:36pm

Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@@ -217,7 +217,7 @@ jobs:
- host: ubuntu-latest
container: ubuntu:xenial
container-options: "--platform=linux/amd64 --rm"
container-setup: "apt-get update && apt-get install -y curl musl-tools"
container-setup: "apt-get update && apt-get install -y curl musl-tools sudo"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required because the capnproto action needs sudo, which isn't installed in the linux/amd64 xenial container. We could remove the sudo from the capnproto action, but because it's used for all linux distros this was the easier option.

@@ -7,7 +7,7 @@ runs:
- name: "Setup capnproto for Linux"
if: runner.os == 'Linux'
shell: bash
run: sudo apt-get update && sudo apt-get install capnproto
run: sudo apt-get -y update && sudo apt-get install -y capnproto
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto accept install prompt.

Copy link
Contributor

@arlyon arlyon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really have a security concern with using sudo in CI, since it's not our infra

@tknickman tknickman enabled auto-merge (squash) September 7, 2023 13:39
@tknickman
Copy link
Member Author

Nothing in CI is testing this, going to merge it to unblock release.

@tknickman tknickman merged commit 89d18fc into main Sep 7, 2023
27 of 36 checks passed
@tknickman tknickman deleted the fix-release branch September 7, 2023 13:40
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

✅ This change can build next-swc

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Linux Benchmark for 6db8a8d

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 5914.07µs ± 21.53µs 5952.12µs ± 39.16µs +0.64%
bench_hmr_to_eval/Turbopack CSR/1000 modules 5453.12µs ± 13.82µs 5418.21µs ± 47.01µs -0.64%
bench_startup/Turbopack CSR/1000 modules 1020.83ms ± 2.66ms 1028.18ms ± 4.02ms +0.72%

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

MacOS Benchmark for 6db8a8d

Test Base PR % Significant %
bench_startup/Turbopack CSR/1000 modules 10.20s ± 2.11s 3911.02ms ± 136.28ms -61.65% -29.93%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 27.63ms ± 0.16ms 27.86ms ± 0.13ms +0.84%
bench_hmr_to_eval/Turbopack CSR/1000 modules 26.52ms ± 0.14ms 24.86ms ± 0.94ms -6.26%
bench_startup/Turbopack CSR/1000 modules 10.20s ± 2.11s 3911.02ms ± 136.28ms -61.65% -29.93%

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)
  • Turbopack Rust benchmarks (non-blocking)

See workflow summary for details

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Windows Benchmark for 6db8a8d

Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 16.42ms ± 0.09ms 16.06ms ± 0.08ms -2.24% -0.19%
Click to view full benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 16.42ms ± 0.09ms 16.06ms ± 0.08ms -2.24% -0.19%
bench_hmr_to_eval/Turbopack CSR/1000 modules 15.93ms ± 0.04ms 15.82ms ± 0.02ms -0.69%
bench_startup/Turbopack CSR/1000 modules 4840.01ms ± 35.66ms 4597.00ms ± 105.57ms -5.02%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants