Commit Graph

16 Commits

Author SHA1 Message Date
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
Piotr Galar
a4f54574d0
ci: skip build on PRs modifying MDs only (#9879) 2023-05-15 15:39:00 +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
1b3e4438fc
chore: upgrade OpenTelemetry dependencies (#9736) 2023-04-05 11:44:14 +00: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
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
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
289b490b1b fix: source of the runner workflow 2023-01-14 11:41:20 +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