Commit Graph

115 Commits

Author SHA1 Message Date
Laurent Senta
1859e89d86
feat: update gateway-conformance to v0.1 (#9925) 2023-06-08 17:18:04 +00:00
Jorropo
23f01232c9 ci: bump go version to 1.19.x across the whole board
We were quite inconsistent about this previously, some files used 1.19.1 some 1.19.x, this makes it more consistent.
2023-06-08 10:05:30 +02:00
Jorropo
86d8e75b7f client/rpc: migrate go-ipfs-http-client 2023-05-30 21:28:07 +02:00
Piotr Galar
a4f54574d0
ci: skip build on PRs modifying MDs only (#9879) 2023-05-15 15:39:00 +02:00
Piotr Galar
8ca9b712cf
fix: the location of the PR template (#9878) 2023-05-15 12:53:03 +00:00
Piotr Galar
f683bf6cf2
feat: create pull request template (#9620) 2023-05-15 14:29:21 +02:00
Piotr Galar
c9a8d9ff92
ci: simplify self-hosted runner selection (#9813)
* ci: simplify self-hosted runner selection

* ci: put interop jobs on self-hosted runners
2023-05-09 12:53:56 +02:00
Piotr Galar
f812f82574
ci: update apt before installing deps (#9831) 2023-04-24 09:44:27 +02:00
Gus Eggert
a97bf4271d
chore: set kubo-maintainers as default code owners (#9808) 2023-04-10 03:59:40 -07:00
Marcin Rataj
6f08cdedc0
fix(ci): speed up docker build (#9800)
trying two things:
- speed up arm build by allowing cross-comp from go instead of slow QEMU
- take a stab at caching buildx layers, without infinite growth

This fix was laready applied in
14cfa48bed
and reduced build time from 20m to 3m.
2023-04-06 20:53:52 +02:00
Gus Eggert
1b3e4438fc
chore: upgrade OpenTelemetry dependencies (#9736) 2023-04-05 11:44:14 +00:00
Gus Eggert
f5bcaaecc1
test: use self hosted runner for go tests (#9792) 2023-04-05 12:59:49 +02:00
Piotr Galar
c81d2da871
ci: add gateway-conformance tests for kubo-gateway (#9780) 2023-03-31 12:07:23 +02:00
galargh
95dd93b243 ci: ignore js-js interop test cases 2023-03-31 09:29:09 +02:00
Gus Eggert
ebdca5cf02
test: cancel workflows on same branch when new commit is added (#9771)
This is pretty common when working through PRs and ends up causing
tons of in-flight GitHub Actions workflows running because they aren't
currently canceled when a new commit is added. This will cancel
previous runs if a new commit is added on a branch (which is the
behavior we had on CircleCI).
2023-03-30 07:58:12 -04:00
Gus Eggert
a24cfb89a5
test: port remote pinning tests to Go (#9720)
This also means that rb-pinning-service-api is no longer required for
running remote pinning tests. This alone saves at least 3 minutes in
test runtime in CI because we don't need to checkout the repo, build
the Docker image, run it, etc.

Instead this implements a simple pinning service in Go that the test
runs in-process, with a callback that can be used to control the async
behavior of the pinning service (e.g. simulate work happening
asynchronously like transitioning from "queued" -> "pinning" ->
"pinned").

This also adds an environment variable to Kubo to control the MFS
remote pin polling interval, so that we don't have to wait 30 seconds
in the test for MFS changes to be repinned. This is purely for tests
so I don't think we should document this.

This entire test suite runs in around 2.5 sec on my laptop, compared to
the existing 3+ minutes in CI.
2023-03-30 07:46:35 -04:00
galargh
fb80af5180 fix: ensure unique job names across all GHA workflows 2023-03-21 15:50:43 +01:00
galargh
d45d8ecdad ci: simplify codeql worfklow 2023-03-21 15:01:17 +01:00
galargh
64d3c153cb Revert "ci: rename gha workflow files to match workflow names"
This reverts commit d164129258f456fb70dc709b59d743a8aed57cc2.
2023-03-21 14:59:51 +01:00
galargh
a8f2c12f71 ci: rename gha workflow files to match workflow names 2023-03-21 14:59:32 +01:00
galargh
2d65120fd5 ci: standarise gha names 2023-03-21 14:57:36 +01:00
galargh
337ddb1227 ci: remove ci/gh prefix from GHA workflows 2023-03-21 14:57:14 +01:00
galargh
be3bde6df9 ci: remove experimental tags from GHA workflows 2023-03-21 14:57:14 +01:00
galargh
92743b1bf5 feat: publish html report and test summary from gotest 2023-03-13 18:08:35 +01:00
Piotr Galar
c1dcff9325
Merge pull request #9384 from sashashura/patch-2
GitHub Workflows security hardening
2023-03-08 08:28:20 +01:00
Piotr Galar
b21e819923
Apply suggestions from code review 2023-03-08 08:00:44 +01:00
Alex
0f65594d9e
Apply suggestions from code review
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-03-07 23:01:49 +00:00
Piotr Galar
41af538a47
Merge pull request #9689 from ipfs/no-testground
ci: remove disabled testground workflow
2023-03-06 20:03:19 +01:00
Piotr Galar
5c4ac6f7d8
Merge branch 'master' into patch-2 2023-03-06 16:00:28 +01:00
Jorropo
7986196414 feat: Reduce RM code footprint
Co-Authored-By: Antonio Navarro Perez <antnavper@gmail.com>
2023-03-06 12:46:58 +01:00
Piotr Galar
0cea5be411
Merge branch 'master' into galargh-patch-1 2023-03-02 11:31:04 +01:00
galargh
fe8f72e707 ci: replace junit html generation with gh action 2023-03-02 10:52:23 +01:00
Piotr Galar
e1f38d7567
ci: set sensible timeouts on all gha jobs (#9683) 2023-03-02 10:51:57 +01:00
galargh
74cfddc39e ci: remove disabled testground workflow 2023-03-02 10:34:38 +01:00
Piotr Galar
baa9d609ec
ci: get rid of interop matrix 2023-02-27 13:18:11 +01:00
Piotr Galar
7cd7c67fb3
ci: fix test extraction in interop workflow 2023-02-27 11:10:28 +01:00
Piotr Galar
5d60453326
ci: ensure new interop suites are executed 2023-02-27 10:49:21 +01:00
Marten Seemann
a3366c522a
chore: update go-libp2p to v0.26 (#9656)
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-02-24 10:34:10 +01:00
Marcin Rataj
6819d9a64d
fix(ci): revert fix for bifrost-infra/issues/2300 (#9614)
This reverts commit a9fdf26eeb.
2023-01-31 01:42:40 +01:00
Marcin Rataj
ad9b486511 fix(ci): work around bifrost-infra/issues/2300
https://github.com/protocol/bifrost-infra/issues/2300#issuecomment-1398946009
2023-01-21 00:31:20 +01:00
galargh
289b490b1b fix: source of the runner workflow 2023-01-14 11:41:20 +01:00
galargh
3e24898488 fix: multiline output in docker image workflow 2023-01-14 11:34:28 +01:00
galargh
dc14ccd7fd chore: use DOCKER_USERNAME from vars rather than secrets 2023-01-14 11:30:59 +01:00
galargh
c9ec418e71 fix: docker image publishing 2023-01-14 11:29:55 +01:00
Marcin Rataj
cab044171d
chore: switch actions to master 2023-01-14 01:08:42 +01:00
Piotr Galar
d4cd414b5e
test: port CircleCI to GH Actions and improve sharness reporting (#9355)
Closes https://github.com/ipfs/kubo/issues/8991
Part of https://github.com/ipfs/kubo/issues/8804
2023-01-14 00:49:52 +01:00
Alex
9653185048 build: harden codeql-analysis.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-30 23:56:23 +02:00
Alex
c9f944cd62 build: harden sync-release-assets.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-30 23:56:23 +02:00
Alex
d0afd218e1 build: harden golang-analysis.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-30 23:56:23 +02:00
Alex
2d00514e22 build: harden docker-image.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-30 23:56:23 +02:00