Commit Graph

431 Commits

Author SHA1 Message Date
Will
a03931daab
archive more relevant coverage for conformance tests () 2020-08-21 16:41:35 +01:00
Steven Allen
5733c71c50 Lint everything
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.

There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
Raúl Kripalani
f1c452754f separate conformance suite on CI. 2020-08-16 22:50:00 +01:00
Jakub Sztandera
a0e7d6a781
Lint in relation to next
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-30 14:30:47 +02:00
Jakub Sztandera
d07c379c69
Update to newer gotestsum
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-21 01:32:20 +02:00
Frank
ce0f9922ee Update lotus-seal-worker to lotus-worker 2020-07-09 11:04:45 +08:00
Frank
5b9baba900 fix issue 2304: ux improvements 2020-07-09 10:20:25 +08:00
Łukasz Magiera
cd91e42a56 ci: lint-changes based on master 2020-06-22 19:39:08 +02:00
Łukasz Magiera
8e025db656
Merge pull request from filecoin-project/fix/chain-reorgs-race
fix a potential race with chain reorgs notifees.
2020-06-12 20:35:16 +02:00
Aayush Rajasekaran
2c401f9041 Improve UX of fetch-params 2020-06-12 01:17:10 -04:00
Jakub Sztandera
42c76aaebc
Remove mod-download
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 23:11:17 +02:00
Jakub Sztandera
9326cb5411
Update golangci-lint, increase its timeout
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 23:07:48 +02:00
Jakub Sztandera
415b69155b
Disable caches
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 23:02:37 +02:00
Jakub Sztandera
3423d29815
Prune go mod cache
Circle reports 1.9GB, should be closer to 300MB

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 22:54:29 +02:00
Łukasz Magiera
b753cd4503 Run window post test on circle 2020-06-01 15:06:10 +02:00
Jakub Sztandera
7232e5481c
Use origin/next for linting
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-28 00:49:52 +02:00
Jakub Sztandera
f26a336afb
Use git.base_revision
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-28 00:45:17 +02:00
ognots
658f78d75f install jq in /usr/local/bin
/home/ognots/.bin not in path, causing macos test to fail
2020-05-14 17:32:05 -04:00
Łukasz Magiera
29b592f62f ci: lint-changes based on master 2020-05-13 02:11:16 +02:00
Łukasz Magiera
ec83b9cf7c Fix tests post specs-actors update 2020-05-11 23:26:33 +02:00
Jakub Sztandera
bd3a43a367 Remove old cached params ()
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-27 11:06:56 -07:00
Jakub Sztandera
f17929f032 Change lint-changes to base of testnet/3
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:30:37 +02:00
Łukasz Magiera
f882c5b229 sectorstorage: Address review 2020-03-27 18:45:32 +01:00
Whyrusleeping
70552e3e0d Merge pull request from filecoin-project/feat/build-cleanup
build: Remove unused vars, fix debug build
2020-03-09 11:03:27 -07:00
Jakub Sztandera
b6880c5f50 Update golangci lint to resolve some files not being linted
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-09 13:25:26 +01:00
Łukasz Magiera
72bf00bf00 circle: test debug build 2020-03-09 08:01:59 +01:00
Oggy Nots
6bf87e28e9
create and publish github release ()
* create and publish github release

* creates a tarball of 'lotus', 'lotus-storage-miner' and
'lotus-seal-worker' for darwin and linux
* computes and saves IPFS CID and sha512sum for each architecture
* creates a github release and uploads all artifacts
* triggered by tags matching regex /^v\d+\.\d+\.\d+$/ ie. v0.1.0

* add licenses and readme
2020-02-12 16:28:37 -05:00
Jakub Sztandera
a82a0769fa
Disable buildall on macos (it takes forever)
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-09 23:13:07 +01:00
Jakub Sztandera
61849ef7ea
Enable codecov
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-09 23:12:33 +01:00
Jakub Sztandera
960b6012c2
Count coverage of integration tests
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-09 22:53:41 +01:00
laser
1b4ddefe27 manage Groth parameter cache keys by hand
I've moved paramfetch.go and parameters.json into the go-sectorbuilder module, so the CircleCI checksum-calculating functions won't work as-written. We'll need to manage the cache key manually.
2020-01-07 07:48:44 -08:00
Łukasz Magiera
ffb7bbad1f circle: Try fixing mac build 2019-12-19 22:00:41 +01:00
Łukasz Magiera
4f7cc07df5 circle: buildall on macos 2019-12-17 15:28:31 +01:00
Jakub Sztandera
99f00bd5a7
Fix build, fix circle cache
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 15:53:57 +01:00
Jakub Sztandera
1a2401a816
Add short tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 17:49:30 +01:00
Jakub Sztandera
92e7b4afbf
Fix tests, circle and make ux nicer
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-06 22:49:44 +01:00
Jakub Sztandera
b679c1b49d
Fix preseal
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-06 19:06:22 +01:00
Łukasz Magiera
64bbcae862 Set 30m timeout on gotest as well 2019-12-05 13:28:44 +01:00
Łukasz Magiera
2960c256e0 circle: Increase timoeut on test 2019-12-05 13:04:34 +01:00
Łukasz Magiera
816a2f4ca8 circle: Fix fetch-params call 2019-12-04 20:49:36 +01:00
Łukasz Magiera
ab7bd8e2f0 v20 parameters 2019-12-04 20:44:51 +01:00
ognots
fd7807d746 macos build and linux and darwin bin artifacts
- adds a new job to run build in macos and produce lotus and
lotus-storage-miner binaries
- persist linux ad darwin lotus and lotus-storage-miner binaries as
CircleCI artifacts
- create CircleCI cache for go mod and cargo
2019-12-04 00:06:50 -05:00
Łukasz Magiera
4edbd4dded Try to fix circle buildall 2019-12-02 21:11:39 +01:00
Łukasz Magiera
2cbe14b234 make: build-all target 2019-11-30 09:21:46 +01:00
Jakub Sztandera
c8f5bade0d
Don't fallback to older parameters if parameters.json changes
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 19:55:31 +01:00
Jakub Sztandera
4588599ebe
Include build/paramfetch.go in circle params checksum
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 19:53:39 +01:00
Jakub Sztandera
383c5c0c6f
Rename to --include-test-params
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 17:43:33 +01:00
Jakub Sztandera
bc3dac0426
Add --tests-also for fetch-params
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 02:15:33 +01:00
Łukasz Magiera
d3e14ff08a Merge remote-tracking branch 'origin/master' into feat/interactive-porep 2019-11-08 21:45:25 +01:00
Friedel Ziegelmayer
f89f6e50e3
use bigger circleci machines 2019-11-08 21:39:40 +01:00
Łukasz Magiera
ca56299076 circle: force cache refresh 2019-11-08 21:11:36 +01:00
shannonwells
00114c21e5 fix linker failure for OpenCL lib 2019-11-06 11:36:40 -08:00
Jakub Sztandera
08758159cc
Use ./lotus fetch-params for CI
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-04 22:10:49 +02:00
Łukasz Magiera
182b754aa2 fix tests 2019-09-23 15:19:05 +02:00
Jakub Sztandera
15b50bc555 Update circleci
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-10 17:27:50 +02:00
Jakub Sztandera
08aaf9fd00 Fix checksum
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-07 01:56:50 +02:00
Jakub Sztandera
7f065fb688 Fix key
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-07 01:29:16 +02:00
Jakub Sztandera
2fc34f02d4 Cache params
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-07 01:27:16 +02:00
Łukasz Magiera
8c3d0e1a4a Simpler paramfetch 2019-09-04 12:10:07 +02:00
Łukasz Magiera
2b6c068655 Fix circleci again 2019-08-30 17:23:16 +02:00
Łukasz Magiera
598ea1f23e Try to fix Circle 2019-08-30 00:06:56 +02:00
Jakub Sztandera
187bd2628d Fix lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-06 14:16:49 +02:00
whyrusleeping
b3e192b575 try removing the bzr install 2019-07-21 00:42:57 -07:00
Jakub Sztandera
f42df886be Remove lint-all
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 17:06:56 +02:00
Jakub Sztandera
8cd484a8b0 Change lint options
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 15:42:18 +02:00
Jakub Sztandera
eae1851aaf Run docstring lint in seprate job
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 17:36:24 +02:00
Jakub Sztandera
daa1e48b9a Fix missing colon
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 16:56:06 +02:00
Jakub Sztandera
bf3317c61a Switch to circleci image
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 16:55:01 +02:00
Jakub Sztandera
177131c7fe Install make in lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 16:48:12 +02:00
Jakub Sztandera
f47210a257 Use steps in mod-tidy-check
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 16:47:19 +02:00
Jakub Sztandera
7467086b42 Install bzr
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 16:45:47 +02:00
Jakub Sztandera
35f0699929 Hopefully now fix circle
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 16:41:29 +02:00
Jakub Sztandera
04f645f240 Probably fix circle
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 16:31:43 +02:00
Jakub Sztandera
75f9a4ec82 Change executor
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-05 13:31:38 +02:00
Jakub Sztandera
71dfa38032 Update linter
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-05 13:21:54 +02:00
Jakub Sztandera
e3f601263e Fix previous change
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-02 15:31:00 +02:00
Jakub Sztandera
f6450b1c1e Change executor to circleci
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-02 15:29:30 +02:00
Jakub Sztandera
7864ec6ff3 Cache modules when checking mod-tidy
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-02 11:42:22 +02:00
Jakub Sztandera
1716db3d76 Add gomod tidy check
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-02 11:19:48 +02:00
Jakub Sztandera
8fbe9df39b Switch to circle golang
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:06 +02:00
Jakub Sztandera
e4a1bf4565 Add circleci config
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 22:18:28 +02:00