Jorropo
89a476948b
tests: add new helia intergration tests
2023-10-20 11:45:15 +02:00
Henrique Dias
40d459b693
ci: do not run tests against go-ipfs-api
2023-10-13 13:57:05 +02:00
Laurent Senta
695bf66674
ci: gateway-conformance v0.4
2023-10-02 16:08:04 +02:00
dependabot[bot]
a4efea5c76
chore(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-28 21:14:46 +02:00
Jorropo
1d295eae92
tests: use latest npm-kubo
...
https://github.com/ipfs/npm-kubo/pull/62 has been released in v0.22.0.
2023-09-26 11:51:43 +02:00
Jorropo
8eecfcb4a6
tests: use the latest tag to run helia interop
...
All PRs have been merged:
- https://github.com/ipfs/helia/pull/200
- https://github.com/ipfs/helia-unixfs/pull/68
- https://github.com/ipfs/helia-ipns/pull/72
2023-09-26 11:35:08 +02:00
Jorropo
3f33e61d3a
chore: update to go1.21 for gateway over libp2p
2023-09-20 10:47:03 +02:00
Adin Schmahmann
a9737e4d6a
chore: update to build with Go 1.21
2023-09-18 17:05:32 +02:00
Marcin Rataj
3fa7ef8879
fix: run http+libp2p test against correct port
...
seems we were testing regular gateway instead of proxied one
2023-09-06 03:20:12 +02:00
Marcin Rataj
1efd9d47aa
refactor(ci): libp2p conformance is separate job
...
this ensures the libp2p experiment runs independently
and its failure does not impact the result of job
that tests stable features on http port
2023-09-06 01:57:51 +02:00
Piotr Galar
3e5e91dbbe
ci: remove obsolete protocol/cache-go-action ( #10114 )
2023-09-05 09:30:09 +02:00
dependabot[bot]
ac4d10faae
chore(deps): bump actions/setup-go from 2 to 4 ( #9976 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-09-05 08:45:59 +02:00
dependabot[bot]
666fc9f924
chore(deps): bump protocol/multiple-go-modules from 1.2 to 1.4 ( #9978 )
...
Bumps [protocol/multiple-go-modules](https://github.com/protocol/multiple-go-modules ) from 1.2 to 1.4.
- [Release notes](https://github.com/protocol/multiple-go-modules/releases )
- [Commits](https://github.com/protocol/multiple-go-modules/compare/v1.2...v1.4 )
---
updated-dependencies:
- dependency-name: protocol/multiple-go-modules
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-09-05 08:45:49 +02:00
dependabot[bot]
d8bcc4a7f2
chore(deps): bump actions/setup-node from 2 to 3 ( #9993 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-09-05 08:45:39 +02:00
dependabot[bot]
2690e083b4
chore(deps): bump actions/checkout from 3 to 4 ( #10112 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 08:33:32 +02:00
Adin Schmahmann
f2c43d5bbf
feat(config): Add gateway-over-libp2p experiment
2023-09-01 16:52:09 -04:00
Adin Schmahmann
b8c741d8bf
test(gateway-conformance): also run gateway conformance tests against a gateway-over-libp2p endpoint
2023-09-01 16:51:32 -04:00
Piotr Galar
16859b3c70
ci: allow custom tags in docker-image workflow ( #10099 )
...
* ci: allow custom ref and tags in docker-image workflow
* fix: ref default in case the workflow runs on push
* chore: remove customisable ref from docker-image
2023-08-25 08:24:19 +02:00
Henrique Dias
2aa721b121
chore: bump to go 1.20
...
- Bumps golangci-lint to work for the new Go version
- Removes rand.Seed, which has been deprecated. It is seeded by default
with a random value since Go 1.20.
- Replaces deprecated Fuse errors with syscall.Errno
2023-08-22 15:43:01 +02:00
Laurent Senta
400dc1b2e4
ci: upload conformance logs
2023-08-21 12:49:38 +02:00
Amir Mohammad Fakhimi
ced348366c
feat: add zsh completions ( #10040 )
...
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-08-17 16:43:27 +02:00
Jorropo
cfc142d85b
ci: add workflow_dispatch to gateway conformance
2023-08-08 13:20:04 +02:00
Jorropo
5bec4d6756
ci: switch from testing against js-ipfs to helia ( #10042 )
...
* ci: switch interop tests from js-ipfs to helia
Fixes #10013
* Update .github/workflows/build.yml
Co-authored-by: Henrique Dias <hacdias@gmail.com>
---------
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-08-02 17:01:41 +02:00
Laurent Senta
e5050d014b
chore: gateway conformance v0.3
2023-07-31 13:22:37 +02:00
Piotr Galar
c5868a86be
refactor(ci): simplify Dockerfile and add docker image testing ( #10021 )
2023-07-27 19:53:24 +02:00
Piotr Galar
c293d62698
ci: add changelog update checker workflow [skip changelog] ( #10002 )
...
* ci: add changelog update checker workflow
* ci: trigger changelog workflow when modifying Go files only
* ci: disable js-rv-js tests in interop (#10007 )
2023-07-06 08:13:27 +02:00
GitHub
92f651fda9
chore: Update .github/workflows/stale.yml [skip ci]
2023-06-28 08:49:44 +00:00
Laurent Senta
40476501e9
feat: update conformance to v0.2
2023-06-27 13:47:47 +02:00
Piotr Galar
61f0aa0737
ci: fix checking state of CI in ipfs-webui ( #9969 )
2023-06-27 10:57:54 +00:00
dependabot[bot]
67cd516ca5
chore(deps): bump docker/login-action from 1.10.0 to 2.2.0 ( #9979 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.10.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](f054a8b539...465a07811f )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 11:18:04 +02:00
dependabot[bot]
873c6e15d5
chore(deps): bump actions/github-script from 4 to 6 ( #9977 )
...
* chore(deps): bump actions/github-script from 4 to 6
Bumps [actions/github-script](https://github.com/actions/github-script ) from 4 to 6.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update sync-release-assets.yml
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2023-06-22 11:17:23 +02:00
dependabot[bot]
05bcae456a
chore(deps): bump actions/checkout from 2 to 3 ( #9975 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 10:06:30 +02:00
dependabot[bot]
9298e31bba
chore(deps): bump docker/setup-qemu-action from 1 to 2 ( #9953 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:35:34 +02:00
dependabot[bot]
d4eb09f79d
chore(deps): bump codecov/codecov-action from 3.1.0 to 3.1.4 ( #9951 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.0 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](81cd2dc814...eaaf4bedf3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:18:45 +02:00
dependabot[bot]
364686ae1d
chore(deps): bump docker/setup-buildx-action from 1 to 2 ( #9952 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:18:29 +02:00
dependabot[bot]
27398ce93f
chore(deps): bump docker/build-push-action from 2 to 4 ( #9954 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:17:13 +02:00
GitHub
ced4be8c13
chore: Update .github/workflows/stale.yml [skip ci]
2023-06-14 11:14:35 +00:00
Russell Dempsey
c93e2675ba
feat: webui@4.0.1 ( #9940 )
2023-06-14 10:12:41 +02:00
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
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
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
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
Piotr Galar
4d94e19019
chore: use common ipfs/*-actions in sync-release-assets ( #8609 )
2021-12-15 15:56:50 +01:00