File tree Expand file tree Collapse file tree 13 files changed +378
-292
lines changed
Expand file tree Collapse file tree 13 files changed +378
-292
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ jobs:
1616 - uses : actions/checkout@v4
1717
1818 - name : Check README
19- uses : becheran/mlc@v0.15.4
19+ uses : becheran/mlc@v0.21.0
2020 with :
21- args : ./README.md
21+ args : ./README.md -i "https://ulixee.org/*"
2222
2323 - name : Check Datastore Docs
24- uses : becheran/mlc@v0.15.4
24+ uses : becheran/mlc@v0.21.0
2525 with :
26- args : ./datastore/docs
26+ args : ./datastore/docs -i "https://ulixee.org/*"
2727
2828 - name : Check Cloud Docs
29- uses : becheran/mlc@v0.15.4
29+ uses : becheran/mlc@v0.21.0
3030 with :
31- args : ./cloud/docs
31+ args : ./cloud/docs -i "https://ulixee.org/*"
Original file line number Diff line number Diff line change 3939 --health-retries 5
4040 ports :
4141 - 5432:5432
42-
4342 steps :
4443 - name : /etc/hosts
4544 run : |
@@ -57,11 +56,33 @@ jobs:
5756
5857 - uses : actions/setup-go@v5
5958 with :
60- go-version : ' 1.23 '
59+ go-version : ' 1.24 '
6160
6261 - name : Install pcap
6362 run : sudo apt-get install -y libpcap-dev
6463
64+ - name : Run MinIO container
65+ run : |
66+ mkdir -p /tmp/minio-data
67+ docker run -d \
68+ -e MINIO_ACCESS_KEY=minioadmin \
69+ -e MINIO_SECRET_KEY=minioadmin \
70+ -v /tmp/minio-data:/data \
71+ -p 9000:9000 \
72+ --name minio \
73+ minio/minio server /data
74+
75+ - name : Wait for MinIO to start
76+ run : |
77+ for i in {1..30}; do
78+ if curl -s http://localhost:9000/minio/health/live; then
79+ echo "MinIO is up"
80+ break
81+ fi
82+ echo "Waiting for MinIO to start..."
83+ sleep 2
84+ done
85+
6586 - name : Clone Mainchain
6687 run : |
6788 git clone --depth 1 -b napi-bindings https://github.com/argonprotocol/mainchain.git
@@ -114,6 +135,7 @@ jobs:
114135 ADD_DOCKER_HOST : true
115136 ULX_USE_DOCKER_BINS : 1
116137 CI : true
138+ AWS_S3_ENDPOINT : http://host.docker.internal:9000
117139
118140 - name : ' Tar files'
119141 if : ${{ failure() }}
@@ -126,6 +148,10 @@ jobs:
126148 name : test-dbs-${{matrix.os}}-${{ matrix.node-version }}
127149 path : test-dbs.tar
128150 retention-days : 1
151+ - name : Cleanup docker
152+ run : |
153+ docker stop minio
154+ docker rm minio
129155 test :
130156 name : Test Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
131157 timeout-minutes : 30
@@ -150,7 +176,7 @@ jobs:
150176
151177 - uses : actions/setup-go@v5
152178 with :
153- go-version : ' 1.23 '
179+ go-version : ' 1.24 '
154180
155181 - uses : actions/setup-python@v5
156182 if : ${{ matrix.os != 'windows-latest' }}
Original file line number Diff line number Diff line change 66 "license" : " MIT" ,
77 "scripts" : {},
88 "dependencies" : {
9- "@argonprotocol/localchain" : " 0.0.20 " ,
9+ "@argonprotocol/localchain" : " 1.1.0 " ,
1010 "@ulixee/commons" : " 2.0.0-alpha.31" ,
1111 "@ulixee/datastore" : " 2.0.0-alpha.31" ,
1212 "@ulixee/net" : " 2.0.0-alpha.31" ,
Original file line number Diff line number Diff line change 1717 }
1818 },
1919 "dependencies" : {
20- "@argonprotocol/localchain" : " 0.0.20 " ,
21- "@argonprotocol/mainchain" : " 0.0.20 " ,
20+ "@argonprotocol/localchain" : " 1.1.0 " ,
21+ "@argonprotocol/mainchain" : " 1.1.0 " ,
2222 "@ulixee/cloud" : " 2.0.0-alpha.31" ,
2323 "@ulixee/commons" : " 2.0.0-alpha.31" ,
2424 "@ulixee/datastore" : " 2.0.0-alpha.31" ,
2828 "better-sqlite3" : " ^11.1.2" ,
2929 "commander" : " ^9.5.0" ,
3030 "moment" : " ^2.29.4" ,
31- "nanoid" : " ^3.3.6 "
31+ "nanoid" : " ^3.3.11 "
3232 },
3333 "devDependencies" : {
3434 "@types/better-sqlite3" : " ^7.6.11" ,
Original file line number Diff line number Diff line change 55 "repository" : " git@github.com:ulixee/platform.git" ,
66 "license" : " MIT" ,
77 "dependencies" : {
8- "@argonprotocol/localchain" : " 0.0.20 " ,
8+ "@argonprotocol/localchain" : " 1.1.0 " ,
99 "@ulixee/commons" : " 2.0.0-alpha.31" ,
1010 "@ulixee/datastore" : " 2.0.0-alpha.31" ,
1111 "@ulixee/datastore-docpage" : " 2.0.0-alpha.31" ,
1616 "@ulixee/sql-ast" : " 2.0.0-alpha.31" ,
1717 "@ulixee/sql-engine" : " 2.0.0-alpha.31" ,
1818 "better-sqlite3" : " ^11.1.2" ,
19- "nanoid" : " ^3.3.6 " ,
19+ "nanoid" : " ^3.3.11 " ,
2020 "tar" : " ^7.4.3"
2121 },
2222 "devDependencies" : {
23- "@argonprotocol/mainchain" : " 0.0.20 " ,
23+ "@argonprotocol/mainchain" : " 1.1.0 " ,
2424 "@jest/globals" : " ^27.0.6" ,
2525 "@ulixee/cloud" : " 2.0.0-alpha.31" ,
2626 "@ulixee/datastore-packager" : " 2.0.0-alpha.31" ,
Original file line number Diff line number Diff line change 4040 }
4141 },
4242 "dependencies" : {
43- "@argonprotocol/localchain" : " 0.0.20 " ,
44- "@argonprotocol/mainchain" : " 0.0.20 " ,
43+ "@argonprotocol/localchain" : " 1.1.0 " ,
44+ "@argonprotocol/mainchain" : " 1.1.0 " ,
4545 "@ulixee/commons" : " 2.0.0-alpha.31" ,
4646 "@ulixee/net" : " 2.0.0-alpha.31" ,
4747 "@ulixee/platform-specification" : " 2.0.0-alpha.31" ,
5252 "better-sqlite3" : " ^11.1.2" ,
5353 "commander" : " ^9.5.0" ,
5454 "moment" : " ^2.29.4" ,
55- "nanoid" : " ^3.3.6 "
55+ "nanoid" : " ^3.3.11 "
5656 },
5757 "devDependencies" : {
5858 "@ulixee/datastore-packager" : " 2.0.0-alpha.31" ,
Original file line number Diff line number Diff line change 1414 "@ulixee/hero-core" : " 2.0.0-alpha.31" ,
1515 "@ulixee/net" : " 2.0.0-alpha.31" ,
1616 "@ulixee/platform-specification" : " 2.0.0-alpha.31" ,
17- "nanoid" : " ^3.3.6 "
17+ "nanoid" : " ^3.3.11 "
1818 },
1919 "devDependencies" : {
2020 "@types/node" : " ^18.19.10" ,
Original file line number Diff line number Diff line change 1919 "@ulixee/unblocked-agent" : " 2.0.0-alpha.31" ,
2020 "@ulixee/unblocked-specification" : " 2.0.0-alpha.31" ,
2121 "fuse.js" : " ^6.5.3" ,
22- "nanoid" : " ^3.3.6 " ,
22+ "nanoid" : " ^3.3.11 " ,
2323 "ws" : " ^8.18.0"
2424 },
2525 "peerDependencies" : {
Original file line number Diff line number Diff line change 88 "@ulixee/hero-interfaces" : " 2.0.0-alpha.31" ,
99 "@ulixee/platform-specification" : " 2.0.0-alpha.31" ,
1010 "@ulixee/unblocked-specification" : " 2.0.0-alpha.31" ,
11- "nanoid" : " ^3.3.6 "
11+ "nanoid" : " ^3.3.11 "
1212 },
1313 "devDependencies" : {
14- "@argonprotocol/localchain" : " 0.0.20 "
14+ "@argonprotocol/localchain" : " 1.1.0 "
1515 }
1616}
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ export default class TestNotary {
110110 `--operator-address=${ this . operator . address } ` ,
111111 `-t ${ argonMainchainUrl } ` ,
112112 ] ;
113+ if ( process . env . AWS_S3_ENDPOINT ) {
114+ execArgs . push ( `--archive-endpoint=${ process . env . AWS_S3_ENDPOINT } ` ) ;
115+ }
113116 if ( process . env . ULX_USE_DOCKER_BINS ) {
114117 execArgs . unshift ( ...notaryPath . replace ( 'docker run' , 'run' ) . split ( ' ' ) ) ;
115118 execArgs . push ( '-b=0.0.0.0:9925' ) ;
You can’t perform that action at this time.
0 commit comments