1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
Commit graph

182 commits

Author SHA1 Message Date
Divy Srivastava
9496dfc685
fix(ext/node): implement asymmetric keygen (#18651)
Towards #18455 

This commit implements the keypair generation for asymmetric keys for
the `generateKeyPair` API.

See how key material is managed in this implementation:
https://www.notion.so/denolandinc/node-crypto-design-99fc33f568d24e47a5e4b36002c5325d?pvs=4

Private and public key encoding depend on `KeyObject#export` which is
not implemented. I've also skipped ED448 and X448 since we need a crate
for that in WebCrypto too.
2023-04-19 22:27:34 +05:30
denobot
4e5d370b56
chore: forward v1.32.5 release commit to main (#18758)
Co-authored-by: levex <levex@users.noreply.github.com>
Co-authored-by: Levente Kurusa <lkurusa@kernelstuff.org>
2023-04-18 22:20:49 +02:00
David Sherret
2eb0f9fb5c
ci: don't run wpt tests on debug (#18688) 2023-04-13 14:40:06 +00:00
David Sherret
e39bc959c1
ci: use non-XL runners more (#18675)
![image](https://user-images.githubusercontent.com/1609021/231593822-b9d7c9db-4416-4735-bd89-f28a260607f1.png)

Non-xl runners are faster than the linux xl job, so let's use them for
now

Closes #17103
2023-04-13 11:44:39 +02:00
David Sherret
b82168a1f6
ci: do not run build job on draft prs (#18634)
We had a PR land that didn't actually pass the steps because it passed
on a draft pr. This prevents running the "build" job on draft prs.
2023-04-08 09:27:21 -04:00
David Sherret
d00f8b4e84
ci: fix main (#18420) 2023-03-24 13:47:50 -04:00
David Sherret
de4667febe
chore: fix located_script_name test (#18418)
Closes #18417
2023-03-24 16:00:47 +00:00
David Sherret
f603ebba77
chore(ci): save a cargo cache specifically for linting (#18219) 2023-03-16 13:42:31 -04:00
David Sherret
82ee73d795
chore(ci): cache test debug ubuntu-22.04-xl build (#18216) 2023-03-15 21:47:15 -04:00
David Sherret
1c285ac214
chore(ci): fix ci to restore the cache (#18215) 2023-03-15 22:03:07 +00:00
David Sherret
6f9c0a9b7a
chore(ci): escape quotes in "Lint PR title" step (#18200) 2023-03-14 23:55:04 -04:00
Divy Srivastava
485e12062c
ci: update to Ubuntu-22.04-XL runners (#18181)
Updates CI to use ubuntu-22.04-xl runners. A change to sysroot setup
was necessary that links `libdl.so.2` and `libdl.a` that are no longer
present on ubuntu-22.04.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-14 22:12:33 +05:30
David Sherret
b9d2ac32d5
chore(ci): verify the PR title as part of linting (#18163)
This verifies the PR title as part of the lint step.
2023-03-13 18:59:13 +00:00
David Sherret
0da193882e
chore(ci): ensure Rust toolchain installation is based on rust-toolchain.toml (#18104)
It seems like `dtolnay/rust-toolchain` does not want to support
rust-toolchain.toml unfortunately and we had thought it did.
2023-03-09 17:01:41 -05:00
David Sherret
f5840bdcd3
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-27 10:43:16 -05:00
Spencer Comfort
87c2493855
chore(ci): update python to 3.11 (#17530) 2023-01-26 16:52:32 +05:30
David Sherret
e09d298a4a
chore(ci): use windows-2022 runner on skipped release job on PRs (#17398) 2023-01-13 19:06:30 +00:00
David Sherret
377f593273
chore: forward 1.29.3 release back to main (#17401) 2023-01-13 13:36:51 -05:00
David Sherret
5707a958ac
chore(ci): try to make sysroot step more reliable (#17383)
Main is failing a lot because of:

```
Err:8 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 debootstrap all 1.0.118ubuntu1.8
  Connection failed [IP: 40.81.13.82 80]
Fetched 44.1 MB in 60s (734 kB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.118ubuntu1.8_all.deb  Connection failed [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```
2023-01-12 21:35:25 -05:00
David Sherret
5a84ecf0cd
chore(ci): only run doc tests on linux (#17379)
Doc tests were observed to take over 100s on the Mac CI in one instance.
2023-01-12 19:56:19 -05:00
David Sherret
0ae83847f4
chore(ci): skip running the benchmarks on a PR except when a label is added (#17377) 2023-01-12 15:45:41 -05:00
David Sherret
ff871e6264
chore(ci): fix canary publish on main (#17374)
Ref #17358
2023-01-12 17:53:47 +00:00
David Sherret
3713a10b64
chore(ci): use mtime cache for fastci (#17373) 2023-01-12 12:07:37 -05:00
David Sherret
120bc5450f
chore(ci): do not clone submodule ./test_util/wpt unnecessarily (#17372) 2023-01-12 11:22:38 -05:00
David Sherret
dabcdf2324
chore(ci): only install node for the benchmarks (#17371) 2023-01-12 10:49:46 -05:00
Bartek Iwańczuk
1776dca6c7
ci: update Windows runner, update Google Cloud integration, update Node (#17358)
This commit rolls up following PRs into a single one:
- https://github.com/denoland/deno/pull/16672
- https://github.com/denoland/deno/pull/16674
- https://github.com/denoland/deno/pull/16972

Generation script was updated to take into account these changes.

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Geert-Jan Zwiers <geertjanzwiers@protonmail.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2023-01-12 16:19:35 +01:00
David Sherret
9d54765f3e
chore(ci): skip non-ubuntu test release jobs on PRs (#17353) 2023-01-11 19:49:18 -05:00
Asher Gomez
cc4bc2c01c
fix(ci): use Node 18 (#17355) 2023-01-11 18:30:38 -05:00
David Sherret
b0eaa0ba70
chore(ci): save cache on main at end of workflow (#17354)
Seems like our caching was totally broken. We need to save the cache
after building and not before.

```
Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
Warning: Cache save failed.
```
2023-01-11 22:21:02 +01:00
David Sherret
6ee5563f68
chore(ci): do not run CI on draft PRs unless explicitly run via commit message (#17350)
This will help us reduce CI time during development. The CI can be
explicitly run on draft PRs by adding `[ci]` to the commit message.
2023-01-11 18:44:11 +00:00
David Sherret
e26fc195ef
chore(ci): checkout less submodules based on job (#17343)
Co-authored-by: Luca Casonato <lucacasonato@users.noreply.github.com>
2023-01-11 08:23:08 -05:00
David Sherret
e246f06cfb
chore(ci): ci refactor - Part 1 - Generate ci yaml by js (#17335) 2023-01-10 19:16:11 -05:00