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
Perfection Loveday
401302128d
ci: update CodeQL Actions workflow from V1 to V2 ( #9266 )
2022-09-22 08:09:58 +02:00
Jorropo
196887cbe5
chore: bump go-libp2p v0.22.0 & go1.18&go1.19
...
Fixes : #9225
2022-09-09 17:09:38 +02:00
Adin Schmahmann
199fa47e51
fix: rename job to sync-github-and-dist-ipfs-tech ( #9215 )
2022-08-22 22:07:13 -04:00
Marcin Rataj
837f6ee92b
chore: switch to dist.ipfs.tech
...
Part of https://github.com/protocol/bifrost-infra/issues/2018
ensures the domain used for fetching migrations is not
impacted by ipfs.io being blocked at DNS level by some ISPs.
2022-08-12 23:42:17 +02:00
Marcin Rataj
7aced61a6e
refactor: kubo in .github/workflows
2022-07-06 23:08:31 +02:00
Marcin Rataj
b9240fe432
refactor(docker): publish images under both names
...
This ensures we keep publishing the same image under both names:
$ ./bin/get-docker-tags.sh $(date -u +%F) 88d88158c master ...chore/rename-to-banana
ipfs/kubo:master-2022-06-21-88d8815
ipfs/go-ipfs:master-2022-06-21-88d8815
ipfs/kubo:master-latest
ipfs/go-ipfs:master-latest
2022-07-06 18:40:39 +02:00
GitHub
862ce6bb8f
Update .github/workflows/stale.yml
2022-06-27 10:45:42 +00:00
ipfs-mgmt-read-write[bot]
910451a7da
Add .github/workflows/stale.yml
2022-06-13 12:49:30 +00:00
galargh
4798777377
ci: disable workflows in forks
2022-05-09 07:01:08 -04:00
Adin Schmahmann
8ec5718c56
chore: build with go 1.18.1
2022-05-04 14:53:54 -04:00
Adin Schmahmann
6f4fc1ae8e
ci: add more golang strictness checks
2022-05-03 14:09:38 -04:00
Piotr Galar
9470fa3271
Use testground-github-action from testground
2022-04-14 13:39:36 +02:00
Piotr Galar
33423625c7
fix(ci): testground workflow hanging indefinitely ( #8741 )
...
* ci: set timeout on testground job
* ci: use testground action which exits early on scheduling failures
Note: this will be continued in https://github.com/ipfs/go-ipfs/issues/8731
2022-02-18 18:25:46 +01:00
odanado
0216bae307
docker: build for arm cpu ( #8633 )
...
ref: #4931
2022-02-15 16:54:47 -05:00