Skip to content

Commit

Permalink
Merge pull request #1466 from input-output-hk/update-explorer-docker-…
Browse files Browse the repository at this point in the history
…compose

Update hydra-explorer version and start-chain-from
  • Loading branch information
locallycompact committed Jun 3, 2024
2 parents aa4c887 + 503ffca commit d3c44f6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/explorer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
restart: always

hydra-explorer:
image: ghcr.io/input-output-hk/hydra-explorer:unstable
image: ghcr.io/input-output-hk/hydra-explorer:0.17.0
volumes:
- /srv/var/cardano/state-preview:/data
ports:
Expand All @@ -27,6 +27,6 @@ services:
, "--testnet-magic", "2"
, "--api-port", "8080"
# NOTE: Block in which current master scripts were published
, "--start-chain-from", "45386581.4a362bfca7cf840575c17b6cbb531588bc8e907beb5a6a28890877fb16be1cd3"
, "--start-chain-from", "49533501.e364500a42220ea47314215679b7e42e9bbb81fa69d1366fe738d8aef900f7ee"
]
restart: always
9 changes: 9 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ prepare_release() {
update_api_version "$version"
update_demo_version "$version"
update_tutorial_version "$version"
update_explorer_version "$version"

find . -name '*-e' -exec rm '{}' \; # cleanup BSD sed mess

Expand Down Expand Up @@ -191,6 +192,14 @@ update_demo_version() {
)
}

update_explorer_version() {
local version="$1"
(
cd .github/workflows/explorer
sed -i"" -e "s,\(ghcr.io/input-output-hk/hydra-[^:]*\):[^[:space:]]*,\1:$version," docker-compose.yaml
)
}

changelog() {
local version="$1"
sed -e '/^## *\['"$version"'\]/ , /^## *\[.*\]/ !d' CHANGELOG.md | sed '$d' | sed -e 's/^\#* //'
Expand Down

0 comments on commit d3c44f6

Please sign in to comment.