Commit Graph

95 Commits

Author SHA1 Message Date
Joonas Koivunen
37d1ffced6 doc: sunset, make maint status clear 2022-09-22 10:26:29 +03:00
Joonas Koivunen
87a41146ce ci(win): use windows-2019 image
this might take care of the node-gyp problem, which might also be fixed
by updating it's version.
2022-04-01 12:11:40 +03:00
Joonas Koivunen
1b3842c769 ci: lock nodejs version 14 2022-01-31 12:10:00 +02:00
Mirko von Leipzig
df11329836 ci: enable caching for vcpkg 2021-08-17 10:38:11 +02:00
Mirko von Leipzig
e2f31bc8de ci: consolidate steps and naming
Groups steps together where sensible, and made the naming more uniform.
2021-08-16 21:54:00 +02:00
Mirko von Leipzig
9d87e212a7 ci: fix conformance test npm caching
The setup for the conformance test would always build the npm packages.

Instead we now check for a cache hit, and only build if we miss.
2021-08-16 21:54:00 +02:00
Mirko von Leipzig
8f48aa0303 ci: remove macos core dump
This was used to debug a crash which no longer occurs.

Removing lets us simplify the workflow file, and improves caching.
2021-08-16 21:54:00 +02:00
Mirko von Leipzig
f8ab359e81 ci: use rust cache action
This replaces the existing one, which wasn't caching much.
2021-08-16 21:54:00 +02:00
Mirko von Leipzig
8c38e55d4d ci: improve job matrix naming
New name is simply the host OS.

Previously was a long string including all parameters, which wouldn't
fit on the GH page.
2021-08-16 21:54:00 +02:00
Mirko von Leipzig
0b3d08f7df ci: add workflow_dispatch trigger
This allows for manually triggering the workflow.
Particularly useful for running CI on forks without creating a PR.
2021-08-16 21:54:00 +02:00
Joonas Koivunen
fe9a0c933b ci: enable weekly builds
hopefully this will catch if we go out of sync with some upstream
crates.
2021-08-04 12:49:48 +03:00
Joonas Koivunen
08cfac9017 fix(ipfs): remove workspace Cargo.lock
this was kept around for ipfs-http but it lead to problems using the
ipfs crate as a dependency.
2021-08-04 12:49:48 +03:00
Mirko von Leipzig
8581e3ed18 Revert "ci: allow rustfmt and clippy to fail"
This reverts commit 019613425d.
2021-08-02 14:49:56 +02:00
Joonas Koivunen
019613425d ci: allow rustfmt and clippy to fail 2021-08-02 14:43:27 +03:00
Joonas Koivunen
ecd163ada9 chore: bump vcpkg, openssl-sys, openssl 2021-08-02 14:42:10 +03:00
Joonas Koivunen
e093e7546d ci: upgrade to run-vcpkg 7.4
hopefully it would have better diagnostic.
2021-08-02 14:42:10 +03:00
Joonas Koivunen
86b85b7bb9 ci: disable building on mobile platforms for now
if you want to contest this change, please do go ahead and let us know
you'd benefit from having these enabled. originally they were added
because adding multiple images to build worked most of the time without
any downside with unlimited free CI.
2021-08-02 14:42:10 +03:00
Joonas Koivunen
e5b88914dd ci: hold back at cargo ndk 1 2021-01-11 13:08:29 +02:00
Joonas Koivunen
9913ab8282 ci: stop running dht interop tests for cross targets 2021-01-05 18:30:31 +02:00
bors[bot]
d2951b715a
Merge #437
437: ci: no longer require review approvals to merge r=koivunej a=koivunej

This PR will allow `bors r+` before there are any review approvals. It will be good for smaller PRs like #436 or things which happen right before releasing. Alternatives include:
- to request and await for approvals (current situation)
- to merge without bors -- this is something I'd like to avoid doing

Now bors uses the PRs configuration so I don't require any approvals on this, but it has to come after #436 so that the workflow is fixed so at least this is gated on that :) So @aphelionz, @ljedrz, or anyone interested in this, how do you see this? I think the policy should still be to review all non-boring maintenance PRs.

I did check CONTRIBUTING.md and found that there is nothing regarding this.

I'll merge this at the earliest of tomorrow morning on +02:00.

Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
2021-01-05 16:11:27 +00:00
Joonas Koivunen
2c3bc09aa5 ci: remove ci-failure step
bors behaviour changed some time ago w.r.t. having tasks with a single
name but one passed and one skipped. perhaps this will work without one
as well.
2021-01-04 13:11:40 +02:00
Joonas Koivunen
e469de3b42 ci: no longer require review approvals to merge 2021-01-04 12:32:30 +02:00
Niklas Long
bf3ad6113d ci: update go-ipfs to 0.7.0 in interop tests
This also removes the --bits arg as go-ipfs now uses ed25519 keys
instead of 2048 bit RSA by default.
2020-11-09 13:00:12 +01:00
Joonas Koivunen
ae5143ccb5 ci: upgrade setup-rust-action 2020-10-12 11:17:42 +03:00
Joonas Koivunen
a7e9f6ce44 ci: disable nagging when no cores found
the warning is quite unuseful since we haven't had a single core dump
after adding it, however there are important warnings from workflows we
should pay attention to.

also, adding a platform limitation cant be done because the ${{ always()
}} seems to have the highest priority.
2020-10-12 11:17:42 +03:00
Joonas Koivunen
73f9fac5ad ci: upgrade run-vcpkg 2020-10-12 11:17:42 +03:00
Joonas Koivunen
bf1c2f737b gh templates: tune bugreport, remove screenshots etc 2020-10-06 15:58:22 +03:00
Joonas Koivunen
a9c8f364aa gh templates: remove redundant label prefix 2020-10-06 15:57:51 +03:00
Joonas Koivunen
263c1e0496 chore: add checkbox for CHANGELOG.mds in PR template 2020-09-24 11:37:14 +03:00
ljedrz
6fb62f136b chore: remove the nightly feature and CI run
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-22 16:19:16 +02:00
ljedrz
70b1c735e7 chore: rename test_dht_with_go to test_go_interop
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-07 17:14:41 +02:00
ljedrz
9341d014f4 test: add go-ipfs DHT interop tests to the CI
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-09-07 17:14:41 +02:00
Mark Robert Henderson
ebe91c5546
Remove top-level command item from PR template 2020-08-23 15:58:39 -04:00
Mark Robert Henderson
370150bf0a
Update pull_request_template.md 2020-08-21 07:51:50 -04:00
Mark Robert Henderson
e3bd63aa49
Moving PR template to ./github/pull_request_template.md (#326)
* move pull_request_template.md

-- Committer note: no reason to bother bors with this, also trying out if anything breaks by doing a github ui merge.
2020-08-20 22:31:29 +03:00
Mark Robert Henderson
4cfd5d16af
Rename pull-request-template.md to pull_request_template.md
This PR renames the PR template so that it will actually show up
2020-08-20 15:05:05 -04:00
Joonas Koivunen
586520e043 ci: remove commented out parts (rerun) 2020-08-20 09:30:37 +03:00
Joonas Koivunen
6d88f12c4a ci: update run-vcpkg (hope for caching)
according to commits there have been some changes related to caching,
unable to determine if they actually fix anything.
2020-08-20 08:55:16 +03:00
Caio
ffde6a3d03 Clippy 2020-08-17 12:27:49 -03:00
Joonas Koivunen
4208decc41 ci: rekey cargo cache 2020-07-30 14:42:22 +03:00
Joonas Koivunen
832bbfaafe ci: skip npm caching for cross builds, cache key
the cross builders might end up otherwise poisoning the cache with an
empty npm. this may have already happened and explains why it didn't
work for mac and linux.

also include the patches again in the cache key.
2020-07-30 13:55:38 +03:00
Joonas Koivunen
9ec7583343 ci: use cookbook recipe for cargo caching 2020-07-30 13:39:57 +03:00
Joonas Koivunen
144985d06d ci: name the npm caching step 2020-07-30 13:37:53 +03:00
Joonas Koivunen
34b158e35c ci: bogus cache key rename 2020-07-30 13:37:53 +03:00
Joonas Koivunen
ec0b1b3f62 ci: use cookbook for npm caching
quite unsure how this will work on windows but lets see.
2020-07-30 13:37:53 +03:00
Joonas Koivunen
337f1b2ebf ci: update cache to version 2
sadly we cannot follow the cargo recipe as the target dir is at least
2GB and cannot be cached... unless the final artifacts were excluded?
2020-07-30 13:37:53 +03:00
Joonas Koivunen
79a9b2ce76 ci: make the readme/lint caches useful 2020-07-30 13:37:53 +03:00
Joonas Koivunen
7b38dec376 ci: rename key for node_modules
apparently the upload had failed or something previously.
2020-07-30 13:37:53 +03:00
Joonas Koivunen
cb6a643602 ci: use h(Cargo.lock) for cargo caching 2020-07-30 13:37:53 +03:00
Joonas Koivunen
9ded429ab2 ci: cache node_modules 2020-07-30 13:37:53 +03:00