Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e71115d
wait for finalization
fbielejec Oct 26, 2022
75ed49b
say no to oncurrent jobs
fbielejec Oct 26, 2022
4319384
trigger, remove labels
fbielejec Oct 26, 2022
3eca2eb
OK
fbielejec Oct 26, 2022
3992fe2
Merge branch 'benjamin' into fix-e2e
fbielejec Oct 26, 2022
a01b1fd
wtf
fbielejec Oct 26, 2022
d8cd778
show networks
fbielejec Oct 26, 2022
8841ccc
rerun
fbielejec Oct 26, 2022
9e6f1ab
short lived wf
fbielejec Oct 26, 2022
6a39be2
run it
fbielejec Oct 26, 2022
86b52a4
need code
fbielejec Oct 26, 2022
2bcced3
just use host
fbielejec Oct 26, 2022
55aaaef
mhm
fbielejec Oct 26, 2022
c4f86a0
co tu sie
fbielejec Oct 26, 2022
b16e4fe
debug
fbielejec Oct 26, 2022
24cd7ed
get a shell
fbielejec Oct 26, 2022
2607a3d
add missing flag
fbielejec Oct 26, 2022
fe78a4f
aaaaaa
fbielejec Oct 26, 2022
b827a29
get shell
fbielejec Oct 26, 2022
44a72db
show me the logs
fbielejec Oct 26, 2022
3c4a3c7
docke rnet
fbielejec Oct 26, 2022
52d6a89
fixit
fbielejec Oct 26, 2022
ed450be
off you go
fbielejec Oct 26, 2022
0d767f6
yesh
fbielejec Oct 26, 2022
e363769
test workflow dispatch
fbielejec Oct 26, 2022
47c790a
deployment triggered by tests
fbielejec Oct 26, 2022
b83f7af
cleanup
fbielejec Oct 26, 2022
698428f
TODOs
fbielejec Oct 27, 2022
5aff6c1
try the trigger
fbielejec Oct 27, 2022
8d41a20
add dispatch trigger
fbielejec Oct 27, 2022
7fbae16
Blend contracts e2e tests and deployment workflows into one workflow
keenbytes Oct 27, 2022
b1a7d6f
Oops! Remove duplicated workflow
keenbytes Oct 27, 2022
6277e75
addressing comments
fbielejec Oct 27, 2022
6a282a6
Add triggering indexer deployment workflow
keenbytes Oct 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
show me the logs
  • Loading branch information
fbielejec committed Oct 26, 2022
commit 44a72db7ca906568c3fdcea9552fc66e0bc67360
2 changes: 1 addition & 1 deletion .github/scripts/run_smartnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ docker run --rm -v $(pwd)/docker/data:/data --entrypoint "/bin/sh" -e RUST_LOG=d
export BOOTNODE_PEER_ID=$(docker run --rm -v $(pwd)/docker/data:/data --entrypoint "/bin/sh" -e RUST_LOG=info "${NODE_IMAGE}" -c "aleph-node key inspect-node-key --file /data/$NODE_ID/p2p_secret")

docker network create node-network || true
docker-compose -f docker/smartnet-compose.yml up --remove-orphans
docker-compose -f docker/smartnet-compose.yml up --remove-orphans -d

exit $?
10 changes: 8 additions & 2 deletions .github/workflows/e2e-tests-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,19 @@ jobs:
- name: Run one-node smartnet
shell: bash
run: |
.github/scripts/run_smartnet.sh &
.github/scripts/run_smartnet.sh

- name: Display logs
shell: bash
run: |
docker logs smartnode --follow &

- name: Debug
shell: bash
run: |
sleep 2
docker ps #network inspect node-network
docker ps
network inspect node-network

- name: Setup upterm session
uses: lhotari/action-upterm@v1
Expand Down
1 change: 0 additions & 1 deletion contracts/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ ACCESS_CONTROL_PUBKEY=$(docker run --rm --entrypoint "/bin/sh" "${NODE_IMAGE}" -
echo "access control contract address: $ACCESS_CONTROL"
echo "access control contract public key \(hex\): $ACCESS_CONTROL_PUBKEY"


# --- UPLOAD CONTRACTS CODES

upload_contract TICKET_TOKEN_CODE_HASH ticket_token
Expand Down