Skip to content

Commit b9a4973

Browse files
committed
ci: initial solana e2e
1 parent 64b2a2a commit b9a4973

File tree

16 files changed

+632
-192
lines changed

16 files changed

+632
-192
lines changed

.github/workflows/tilt.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
kubectl config set-context ci --namespace=$DEPLOY_NS
3333
kubectl config use-context ci
3434
35-
- run: tilt ci -- --evm2 --generic_relayer --namespace=$DEPLOY_NS
35+
- run: tilt ci -- --evm2 --generic_relayer --solana_watcher --namespace=$DEPLOY_NS
3636
timeout-minutes: 30
3737

3838
# Clean up k8s resources

ci_tests/.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
**/node_modules
2+
solana_binding

ci_tests/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
solana_binding

ci_tests/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ COPY package.json package-lock.json ./
44
RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
55
npm ci
66
COPY . ./
7+
8+
COPY --from=ntt-solana-contract /usr/src/anchor-ntt/target/idl solana_binding/target/idl
9+
COPY --from=ntt-solana-contract /usr/src/anchor-ntt/target/types solana_binding/target/types
10+
COPY --from=ntt-solana-contract /usr/src/anchor-ntt/ts solana_binding/ts

ci_tests/package-lock.json

+56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ci_tests/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"license": "ISC",
1212
"dependencies": {
1313
"@certusone/wormhole-sdk": "^0.10.11",
14+
"@coral-xyz/anchor": "^0.29.0",
1415
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
1516
"ethers": "^5.7.2",
1617
"ts-node": "^10.9.2"

0 commit comments

Comments
 (0)