Skip to content

Commit

Permalink
docker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheExpandingPolytope committed Sep 19, 2023
1 parent 08da917 commit 2c1b458
Show file tree
Hide file tree
Showing 29 changed files with 55 additions and 55 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# Install Docker
- name: Install Docker
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
# # Install Docker
# - name: Install Docker
# run: |
# curl -fsSL https://get.docker.com -o get-docker.sh
# sudo sh get-docker.sh
# sudo usermod -aG docker $USER
# newgrp docker

# Restore node modules
- name: Restore node modules
Expand Down Expand Up @@ -120,32 +120,32 @@ jobs:
working-directory: front
run: yarn install

# Build machine
- name: Build dapp
if: steps.check-changes.outputs.app-changed
run: docker buildx bake -f docker-bake.hcl -f docker-bake.override.hcl --load
# # Build machine
# - name: Build dapp
# if: steps.check-changes.outputs.app-changed
# run: docker buildx bake -f docker-bake.hcl -f docker-bake.override.hcl --load

# Build machine
- name: Build machine
if: steps.check-changes.outputs.app-changed
run: docker buildx bake -f docker-bake.hcl -f docker-bake.override.hcl machine --load
# # Build machine
# - name: Build machine
# if: steps.check-changes.outputs.app-changed
# run: docker buildx bake -f docker-bake.hcl -f docker-bake.override.hcl machine --load

#Deploy contract
- name: Deploy contract
if: steps.check-changes.outputs.app-changed
run: DAPP_NAME=chessAppNew docker compose -f ./deploy-testnet.yml up
- name: Close the deployment container
if: steps.check-changes.outputs.app-changed
run: DAPP_NAME=chessAppNew docker compose -f ./deploy-testnet.yml down -v || true
# #Deploy contract
# - name: Deploy contract
# if: steps.check-changes.outputs.app-changed
# run: DAPP_NAME=chessAppNew docker compose -f ./deploy-testnet.yml up
# - name: Close the deployment container
# if: steps.check-changes.outputs.app-changed
# run: DAPP_NAME=chessAppNew docker compose -f ./deploy-testnet.yml down -v || true

# Deploy node
- name: Clear node
run: |
docker compose down -v
DAPP_NAME=chessAppNew docker compose -f ./docker-compose-testnet.yml -f ./docker-compose.override.yml down -v
DAPP_NAME=chessAppNew docker compose -f ./docker-compose-testnet.yml -f ./docker-compose.override.yml -f ./docker-compose-host-testnet.yml down -v || true
- name: Deploy node
run: |
DAPP_NAME=chessAppNew nohup docker compose -f ./docker-compose-testnet.yml -f ./docker-compose.override.yml up > deployment.log 2>&1 &
DAPP_NAME=chessAppNew nohup docker compose -f ./docker-compose-testnet.yml -f ./docker-compose.override.yml -f ./docker-compose-host-testnet.yml up > deployment.log 2>&1 &
echo "PID=$!" >> $GITHUB_ENV
sleep 120
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/Bank.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"transactionIndex": 0,
"gasUsed": "338252",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x331e46e8a0fbbebf308a948297daeec6fac5b6a90693e31d83c8e88c3c5de0e1",
"blockHash": "0xdc5f75cfcb5030ba50787250ed28e0dccffa2b9669a925240096ea8b25ed2fdf",
"transactionHash": "0x943d73b8bf62030d8af9b283f2d5ab9dd364379922223c9446f6b0f340ad137f",
"logs": [],
"blockNumber": 28,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/Bitmask.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"transactionIndex": 0,
"gasUsed": "164746",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x17f91c11f9e45b6355ffb550bdca77e8822f107c121c492ad4eba310a41ee98a",
"blockHash": "0x42c99f55ed75f2d1052a19aa97f811d2ecf827d3eb85cda31a4322fa8836f69d",
"transactionHash": "0x40c6220225cca89ad21acb3fd797b12156d2f5fe2a48efde434c37f675aec792",
"logs": [],
"blockNumber": 7,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/BitsManipulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"transactionIndex": 0,
"gasUsed": "377537",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xb8429b19eb501dbbdf2869eb2f30541020fa1d2ef5ea1afc1ef8244b4c70dc18",
"blockHash": "0xc303eb5c3fc73b8540597e21ce0f7623d10ffb8a395490b90344c9dcdacdbca2",
"transactionHash": "0x6465ca2cb0dcec650de6881abfc1c0c8efc793fca0f40db1a06ddbea92a12d84",
"logs": [],
"blockNumber": 6,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/BitsManipulationLibrary.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"transactionIndex": 0,
"gasUsed": "198644",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xfdad8ad98561393362110ed3fc9cec18964230a36096ddcbfaa2b25858f46bb9",
"blockHash": "0xa406315178f67cb46c8ce7e26db0e52f0f3af8254cc61082f985f6cf0eaee575",
"transactionHash": "0x1c79de8214ea1b5dff1bb3c4dd4ae1d8c350b6d40702324ce883b7cadde87a32",
"logs": [],
"blockNumber": 1,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/CartesiDAppFactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
"transactionIndex": 0,
"gasUsed": "3308820",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x32e2a2cb2ee9dc2c127e7f745b1b66a9cb242e76090047ec9d99fb3029436e0e",
"blockHash": "0x3f3f2d85aedf7b190c53d760cb60e1af25a3870b61afb9180b29d4aacd5dcff6",
"transactionHash": "0xae44d345d30e86e6826be19723228d3f7a4cf46946f401646a07c3b4f184e3ea",
"logs": [],
"blockNumber": 29,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/CartesiMathV2.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"transactionIndex": 0,
"gasUsed": "493935",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xff2d63f21989e998929484af0ca367467e1fc18a96e2b865e28fec4a86b46439",
"blockHash": "0x219eb156050990eafdf01bd8738a61c09325be971684b1a01d07e5b7cf8d7d77",
"transactionHash": "0xee179df935ff0c8440de16ff0ffd0e724de4fb4682aead8a8331fd3e6724060a",
"logs": [],
"blockNumber": 8,
Expand Down
6 changes: 3 additions & 3 deletions deployments/localhost/CartesiToken.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
"transactionIndex": 0,
"gasUsed": "1770294",
"logsBloom": "0x00800000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000020000000000000000020000000000000100000800000000008000000040000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000200000000000000000000000002000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xfd9a12447b702d788ad5f32a81b8b37002efca20e2500e946995b58691a0f84b",
"blockHash": "0x3c704ddff2965be70f5784c54105d8864a64bbb3c8e023674f6a139d21217efe",
"transactionHash": "0xb84e1d8372547141b4e8fb9ebfb7a39ed43aa276ddb003bbcce12dba5db85362",
"logs": [
{
Expand All @@ -467,7 +467,7 @@
],
"data": "0x",
"logIndex": 0,
"blockHash": "0xfd9a12447b702d788ad5f32a81b8b37002efca20e2500e946995b58691a0f84b"
"blockHash": "0x3c704ddff2965be70f5784c54105d8864a64bbb3c8e023674f6a139d21217efe"
},
{
"transactionIndex": 0,
Expand All @@ -481,7 +481,7 @@
],
"data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
"logIndex": 1,
"blockHash": "0xfd9a12447b702d788ad5f32a81b8b37002efca20e2500e946995b58691a0f84b"
"blockHash": "0x3c704ddff2965be70f5784c54105d8864a64bbb3c8e023674f6a139d21217efe"
}
],
"blockNumber": 11,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/DiamondCutFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"transactionIndex": 0,
"gasUsed": "1070442",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x0ef7c4be27b4da010c5845b60df1ed1fbe2fbf5dbc42b34ded82631388fbb807",
"blockHash": "0xa456ac44dc3d8e4453ae37dd7b7bc9dd03ebc6249104d1d6250d4fd56d4fabb1",
"transactionHash": "0x200ee5455aba17e7079795b6815b0a84b6a976957ea1d10a647b911ff03a4e94",
"logs": [],
"blockNumber": 16,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/DiamondInit.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"transactionIndex": 0,
"gasUsed": "645412",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xf839df7888446592f1cf33489ad66bbdf66a6521ab8b4578aad44f969e3e4ac7",
"blockHash": "0x8c0dd49c86c27886c220d4e819c200aafde7dd200c6419e4209163e879024bef",
"transactionHash": "0x7544ac043a36855354bb51a84dab77085a24f43b32318954fb319286e33ed57d",
"logs": [],
"blockNumber": 27,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/DiamondLoupeFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"transactionIndex": 0,
"gasUsed": "670579",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x65a7a6abf9869cda2fc967ccecf115b57500157259ac44ce2b4ad7abfc981cb0",
"blockHash": "0xc852b8ec6da9cda446423e9278eb680904e5d1015000946521d7b93e06c23d6b",
"transactionHash": "0x83ff50b33df2bd51142ada59ae0de5969bc8e828f558e993934372ac0c525f0b",
"logs": [],
"blockNumber": 17,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/ERC20PortalFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"transactionIndex": 0,
"gasUsed": "480902",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x5650fcf5aca90e349e9017441737e8b899a5bdc5332fb65efc9ac517cb537a00",
"blockHash": "0x6c7461f470ba58cfb9a4c65dc07e5f61f6e0912a159c9eee67e594e6ad13c00a",
"transactionHash": "0x3dafcc6b8acde08ea81f1f6cbb2ea632b1d327cc6e07fa285995d214fe7d6cd1",
"logs": [],
"blockNumber": 19,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/ERC721PortalFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"transactionIndex": 0,
"gasUsed": "556226",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xce70da3e8e68c53ee0cd8e9315d8c18e987f282e38676af7052c6bee143ff87c",
"blockHash": "0xfbb8622f29ad86c2077c127f62453e54e3d162e7c30525eabea7a7a948f5eea0",
"transactionHash": "0x74b6507c17bf312d2e0546c2014533ac5f480cb66ca4a5696c960013c3988ac1",
"logs": [],
"blockNumber": 20,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/EtherPortalFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"transactionIndex": 0,
"gasUsed": "507160",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x4bd7b38711bb8c519ac5d071ff97aaad85519064601ca4ee25e2abc47dce256a",
"blockHash": "0xc9edd97bccbc35dc85ba002e47eb76102c08968fbd05b02a859f09c6ac49ae94",
"transactionHash": "0x75abcc2e81673ce9536ccb4312da6745837173d9cdf4786ee36555adda72cb35",
"logs": [],
"blockNumber": 21,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/FeeManagerFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"transactionIndex": 0,
"gasUsed": "627903",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xe71dd9eebb6e72c2f31a7a3f41ca120d6797d13984df263d77d792b4e2efac67",
"blockHash": "0xfc34b7e3c3e6f172dce51efe29e68380f18e94ee5853b123afad7412761cfd00",
"transactionHash": "0xb50df33fc68c4e3026f58b05ec12af9a214c7b0782681e18d730ca4e51202db5",
"logs": [],
"blockNumber": 22,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/InputFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"transactionIndex": 0,
"gasUsed": "445554",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x91ec0490c71913f9bdaf39a1b3f7fa18e559a32080c1fa06a847af1e4a8c46c2",
"blockHash": "0xbba9979464f79e8573d9a364e0ad6a47617dc9bc1ee1907e918c1a73add8c331",
"transactionHash": "0x4d824e412c26f6160092179cf935d5a6d885ca0c0a180c71395d80d5c2900458",
"logs": [],
"blockNumber": 23,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/Merkle.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"transactionIndex": 0,
"gasUsed": "553584",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xe8b8c4bf83f70d0e539a61d41081d93196d4d60f37c899913476e201ffd90ced",
"blockHash": "0x7df896d554d09ad8001fb75df415310d536cce29e8cef6555e95d366745f5aac",
"transactionHash": "0x1934cf4da62448575fdf7486c4b710ca15c62732f6af72b4834a9d9e164fe9ae",
"logs": [],
"blockNumber": 2,
Expand Down
2 changes: 1 addition & 1 deletion deployments/localhost/MerkleV2.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"transactionIndex": 0,
"gasUsed": "1269380",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x5edcb1402064d7a7b704306b653ed7d5f6f3e5538f1423b259d0c7b38dab847e",
"blockHash": "0x9e74fda68f95367ec003fc7dd0f571368b58bee1ab5057aef941f855860043d0",
"transactionHash": "0x37f284595eda516283b4c643d28f94805ed6e67bf689f0772733100ce954cbb1",
"logs": [],
"blockNumber": 9,
Expand Down
Loading

0 comments on commit 2c1b458

Please sign in to comment.