Commit Graph

89 Commits

Author SHA1 Message Date
Ivan FB deb8675089
disable colors in PR docker images (#3066) 2024-09-27 15:00:55 +02:00
gabrielmer 7c4a9717a6
chore: updating upload and download artifact actions to v4 (#3047) 2024-09-24 14:30:49 +03:00
fryorcraken ce9a8c468a
chore: use submodule nph in CI to check lint (#3027) 2024-09-11 11:51:42 +10:00
gabrielmer 086cc8edd2
chore: adding lint job to the CI (#2925) 2024-07-23 13:57:24 +03:00
Aaryamann Challani dd3c13582e
feat(rlnv2): clean fork of rlnv2 (#2828)
* chore(rlnv2): contract interface changes (#2770)
* fix: tests
* fix: remove stuint[32]
* chore(submodule): update zerokit submodule to v0.5.1 (#2782)
* fix: remove cond comp for lightpush test
* fix: ci and nonceManager
2024-06-20 11:35:21 +02:00
NagyZoltanPeter 5989de88a4
fix: multi nat initialization causing dead lock in waku tests + serialize test runs to avoid timing and port occupied issues (#2799)
* Prevent multiple nat module initialization that cause dead lock in nat refresh thread tear down during tests.
* NPROC to 1 to avoid parallel test runs can lead to timing and port allocation issues

Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-06-12 07:49:55 +02:00
gabrielmer 005349ccfe
chore: setting fail-fast to false in matrixed github actions (#2787) 2024-06-07 16:06:11 +02:00
Ivan FB 05f332ed9b
chore: ci.yml - avoid calling brew link libpq --force on macos (#2627)
* ci.yml: avoid calling brew link libpq --force on macos
PRs started to fail due to that but we are not actually running
postgres tests on MacOS

* fix: remove brew linking for test job
* fix: conditional compilation for macos
* fix: remove autoformatted details

---------

Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
2024-04-26 09:02:58 +02:00
Aaryamann Challani 2c01fa0fe4
fix(ci): unique comment_tag to reference rln version (#2613) 2024-04-22 16:44:59 +02:00
Prem Chaitanya Prathi 10d36c392b
chore: workflow to autoassign PR (#2604) 2024-04-19 14:28:46 +05:30
gabrielmer 51ec12beb2
chore: don't create docker images for users without org's secrets (#2585)
]
2024-04-17 09:44:18 +03:00
Aaryamann Challani 059cb97518
chore(rln-relay-v2): wakunode testing + improvements (#2501)
* chore(rln-relay-v2): additional testing

* fix: bump librln to v0.4.2 for v2

* fix: catch possible error from the copyFrom

* ci: rename step title for rln-version
2024-03-12 16:20:30 +05:30
Ivan FB 161a10ecb0
feat: Postgres partition implementation (#2506)
* postgres: first step to implement partition management
* postgres_driver: use of times.now().toTime().toUnix() instead of Moment.now()
* postgres migrations: set new version to 2
* test_driver_postgres: use of assert instead of require and avoid using times.now()
* postgres_driver: better implementation of the reset method with partitions
* Remove createMessageTable, init, and deleteMessageTable procs
* postgres: ensure we use the version 15.4 in tests
* postgres_driver.nim: enhance debug logs partition addition
* ci.yml: ensure logs are printed without colors
* postgres_driver: starting the loop factory in an asynchronous task
* postgres_driver: log partition name and size when removing a partition
2024-03-06 20:50:22 +01:00
Ivan FB 7f91ac76cc
Extend temporary pr images validity to 30 days (#2158) 2023-10-25 17:53:00 +02:00
gabrielmer ce5fb3401d
chore: remove js-node tests as release candidate dependencies (#2123) 2023-10-13 11:45:18 +03:00
Vaclav Pavlin e85f05b0b6
fix(ci): update the dependency list in pre-release WF (#2088) 2023-09-28 13:09:41 +02:00
Ivan Folgueira Bande 3264a4f587
fix: libwaku.nim: unsubscribe -> unsubscribeAll to make it build properly (#2082)
* libwaku.nim: unsubscribe -> unsubscribeAll to make it build properly

We introduced a change in the next PR
https://github.com/waku-org/nwaku/pull/1983/
that made the `libwaku` to stop building properly
(make libwaku) because a signature change in the
`unsubscribe` proc of waku/waku_relay/protocol.nim.

This commit is a temporary workaround to make it work,
and not block any ongoing PR tests,
although not exactly as it is expected because we are
unsubscribing from all topics.

* ci.yml: adds library/** to force tests when changes under that folder
2023-09-26 16:32:51 +02:00
Ivan Folgueira Bande 7a376f59c8
chore: Adding -d:postgres flag when creating a Docker image for release and PRs (#2076) 2023-09-26 10:11:38 +02:00
Florin Barbu 5f9896448d
fix js-waku tests in the ci (#2061) 2023-09-21 12:56:04 +03:00
Vaclav Pavlin 28b040007f
chore(ci): add js-waku as a dependency for pre-release createion (#2022) 2023-09-20 14:09:38 +02:00
Ivan Folgueira Bande e8602021b6
chore(postgres): not loading the libpq library by default & better user feedback (#2028)
* removing implicit dependency with libpq if postgres is not being used.
* We only run the postgres tests when explicitly willing to, i.e. make
POSTGRES=1 test. The reason is that the postgres tests expect a
database instance to be running locally.
2023-09-13 12:45:55 +02:00
Vaclav Pavlin e8776fd664
chore(ci): add js-waku test to pre-release workflow (#2017) 2023-09-11 16:16:53 +02:00
Aaryamann Challani 645b034367
feat(rln-relay): removed rln from experimental 🚀 (#2001)
* feat(rln-relay): removed rln from experimental 🚀

* fix(waku_node): if rln-relay is nil, return true

* chore(tests): mark rest health as skipped
2023-09-11 12:02:31 +05:30
Vaclav Pavlin 5d976df9a6
chore(ci): execute js-waku integration tests on image build (#2006) 2023-09-08 14:01:59 +02:00
Vaclav Pavlin 988501922f
chore(ci): use commit instead of master for docker image (#1990) 2023-09-05 11:58:01 +02:00
Vaclav Pavlin 4ed414576a
fix(ci): incorrect use of braces (#1987) 2023-09-04 14:08:11 +02:00
Vaclav Pavlin 1b835b4e2a
chore(ci): enable experimental for the PR image builds (#1976) 2023-09-04 10:47:12 +02:00
Vaclav Pavlin 26c06b2714
fix(ci): rename tools artifact to prevent conflict (#1971) 2023-08-30 17:29:41 +02:00
Vaclav Pavlin 505d196796
chore(ci): add a job checking config options and db schema (#1927) 2023-08-23 09:33:11 +02:00
Vaclav Pavlin b785b6ba15
fix(ci): only add comment on PR and do not duplicate it (#1908) 2023-08-11 16:36:41 +02:00
Vaclav Pavlin 2575f3c4f2
fix(ci): add mising OS arch option to image build (#1905) 2023-08-11 12:22:54 +02:00
Hanno Cornelius b9d5d28af5
chore: remove references to v2 (#1898)
* chore: remove references to v2

* fix: lingering rln-relay import path
2023-08-09 18:11:50 +01:00
Vaclav Pavlin 84f94d5d09
feat(ci): add docker image builds per PR (#1881) 2023-08-09 13:13:37 +02:00
Hanno Cornelius ab344a9dec
chore: remove Waku v1 and wakubridge code (#1874)
* chore: remove v1 code

* chore: deprecate support for v1 compatibility from JSON-RPC API

* chore: remove v1 tests from JSON-RPC suite

* chore: remove wakubridge code

* chore: remove v1 compatibility functions

* chore: remove support for v1 payloads from chat2 app

* chore: remove v1 from CI processes

* fix: lingering references to private API functions

* fix: remove v1 compat from chat2

* fix: some more lingering references in tests
2023-08-07 15:11:46 +01:00
Vaclav Pavlin c560af119f
fix(ci): do not depend on number of procesors with job name (#1863) 2023-07-31 15:04:46 +02:00
Ivan Folgueira Bande 52894a82d0
refactor(archive): Moving waku archive logic from app.nim to the archive module (#1817)
* Refactoring the Waku Archive. Simplifying the app.nim

This change is needed to accommodate the further PRs where we will integrate Postgres in `wakunode2`.
2023-06-27 13:24:31 +02:00
Vaclav Pavlin 960740713c
chore(ci): extend and rename nightly workflow to support RC builds (#1784) 2023-06-08 17:13:40 +02:00
Vaclav Pavlin 44bcf0f2c4
chore(ci): properly set os and architecture for nightly and release (#1780) 2023-06-06 17:41:41 +02:00
Hanno Cornelius a9505892a5
chore: remove add-to-project workflow (#1778) 2023-06-06 15:51:22 +02:00
Ivan Folgueira Bande fcd7f33d9b
Allow compile postgres tests only on Linux platforms (#1771)
This is needed because currently the GitHub Actions only supports
starting a docker container in a Linux runners.
2023-06-02 14:53:13 +02:00
Vaclav Pavlin ffac77611c
chore(ci): add experimental builds to nightly (#1761) 2023-05-26 12:07:40 +02:00
Vaclav Pavlin 473af70a2a
feat(ci): add nightly builds (#1758)
* feat(ci): add nightly builds

* add note to overview for operators
2023-05-26 08:14:45 +02:00
Vaclav Pavlin 39902dc2f2
chore(makefile): unify where chronicles_log_level is set (#1748) 2023-05-23 10:44:57 +02:00
Vaclav Pavlin 3b9acb3557
fix(ci): use new caching for all stages, fix sha tool to work on both linux & mac (#1741) 2023-05-17 15:42:00 +02:00
Ivan Folgueira Bande e1e4ff3a38
Tiny fix in. setting 'os' instead of 'platform' (#1728) 2023-05-16 09:59:48 +02:00
Vaclav Pavlin 4394c69db8
refactor(ci): cache all of submodules/deps to speed up build time (#1731) 2023-05-16 09:11:41 +02:00
Vaclav Pavlin 2151042568
refactor: use QUICK_AND_DIRTY_COMPILER flag for CI (#1708) 2023-05-02 10:25:23 +02:00
Vaclav Pavlin de4c710501
feat:add commit message linter and PR template (#1677) 2023-04-28 14:25:39 +02:00
Lorenzo Delgado c8081c8859
refactor(wakunode2): split setup logic into app module 2023-04-25 15:34:57 +02:00
Vaclav Pavlin d5979e94da
feat: Add tools maket target and build tools in CI (#1668) 2023-04-12 10:22:45 +02:00