File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -42,20 +42,26 @@ jobs:
4242 integration-tests :
4343 runs-on : ubuntu-latest
4444 timeout-minutes : 30
45- env :
46- DATIL_COMMIT_HASH : de4511a8cfa5995187c955fe7dbe0b436db36212
4745 steps :
4846 - name : Checkout repo
4947 uses : actions/checkout@v2
5048 with :
5149 fetch-depth : 0
52- - name : Checkout Lit Actions
50+ - name : Find latest datil commit hash for last successful "rust/lit-node-build-commit-hash" workflow in the Lit Assets repo
51+ uses : LIT-Protocol/last-successful-build-action
52+ with :
53+ token : " ${{ secrets.GH_PAT_FOR_SHIVA }}"
54+ branch : " fix/shiva-libc6-dependency" # for testing, change to datil when finished
55+ workflow : " rust/lit-node-build-commit-hash"
56+ repo : LIT-Protocol/lit-assets
57+ # this outputs to dollarSign{{ github.sha }}
58+ - name : Checkout Lit Assets
5359 uses : actions/checkout@v4
5460 id : checkout
5561 with :
5662 fetch-depth : 0
5763 repository : LIT-Protocol/lit-assets
58- ref : ${{env.DATIL_COMMIT_HASH }}
64+ ref : ${{ github.sha }}
5965 token : ${{secrets.GH_PAT_FOR_SHIVA}}
6066 path : ${{ github.workspace }}/lit-assets/
6167 submodules : false
7581 run : docker pull ghcr.io/lit-protocol/shiva:latest
7682 - name : Run Shiva Container
7783 id : shiva-runner
78- run : docker run -d -m 32g -p 8000:8000 -p 8545:8545 -p 7470:7470 -p 7471:7471 -p 7472:7472 -p 7473:7473 -p 7474:7474 -p 7475:7475 -v ${{github.workspace}}/lit-assets:/data -e GH_PAT=${{secrets.GH_PAT_FOR_SHIVA}} -e HASH=$DATIL_COMMIT_HASH -e IPFS_API_KEY=${{secrets.IPFS_API_KEY}} --name shiva ghcr.io/lit-protocol/shiva:latest
84+ run : docker run -d -m 32g -p 8000:8000 -p 8545:8545 -p 7470:7470 -p 7471:7471 -p 7472:7472 -p 7473:7473 -p 7474:7474 -p 7475:7475 -v ${{github.workspace}}/lit-assets:/data -e GH_PAT=${{secrets.GH_PAT_FOR_SHIVA}} -e HASH=${{ github.sha }} -e IPFS_API_KEY=${{secrets.IPFS_API_KEY}} --name shiva ghcr.io/lit-protocol/shiva:latest
7985 - name : Set up Node.js
8086 uses : actions/setup-node@v3
8187 with :
You can’t perform that action at this time.
0 commit comments