Skip to content

Commit

Permalink
setup-grest.sh: Bump koios release version to v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlrt committed Jan 2, 2025
1 parent 9661833 commit ca08c55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_bin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set TESTING
id: set_testing
run: |
echo "testing=${{ github.event_name == 'push' && (steps.vars.outputs.branch != 'master' || needs.set_environment_vars.outputs.guild_deploy_branch == 'docker-alpha') || github.event.inputs.testing }}" >> $GITHUB_OUTPUT
echo "testing=${{ github.event_name == 'push' && (steps.vars.outputs.branch != 'master') || github.event.inputs.testing }}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
with:
ref: ${{ steps.set_guild_deploy_branch.outputs.guild_deploy_branch }}
Expand All @@ -55,7 +55,7 @@ jobs:
echo "cnversion=$(cat files/docker/node/release-versions/cardano-node-latest.txt)" >> $GITHUB_OUTPUT
build_production:
needs: set_environment_vars
if: needs.set_environment_vars.outputs.testing == 'false' && (needs.set_environment_vars.outputs.guild_deploy_branch == 'master' || needs.set_environment_vars.outputs.guild_deploy_branch == 'docker-alpha')
if: needs.set_environment_vars.outputs.testing == 'false' && (needs.set_environment_vars.outputs.guild_deploy_branch == 'master')
env:
REGISTRY: docker.io
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions scripts/grest-helper-scripts/grest-poll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function chk_upd() {
curr_hour=$(date +%H)
if [[ ! -f "${PARENT}"/.last_grest_poll ]]; then
echo "${curr_hour}" > "${PARENT}"/.last_grest_poll
curl -sfkL "${API_STRUCT_DEFINITION}" -o "${LOCAL_SPEC}" 2>/dev/null
curl -m 2 -sfkL "${API_STRUCT_DEFINITION}" -o "${LOCAL_SPEC}" 2>/dev/null
else
last_hour=$(cat "${PARENT}"/.last_grest_poll)
[[ "${curr_hour}" == "${last_hour}" ]] && SKIP_UPDATE=Y || echo "${curr_hour}" > "${PARENT}"/.last_grest_poll
Expand All @@ -55,7 +55,7 @@ function chk_upd() {
exit 1
fi

curl -sfkL "${API_STRUCT_DEFINITION}" -o "${LOCAL_SPEC}" 2>/dev/null
curl -m 2 -sfkL "${API_STRUCT_DEFINITION}" -o "${LOCAL_SPEC}" 2>/dev/null

checkUpdate "${PARENT}"/grest-poll.sh Y N N grest-helper-scripts
[[ "$?" == "2" ]] && echo "ERROR: checkUpdate Failed" && exit 1
Expand Down
2 changes: 1 addition & 1 deletion scripts/grest-helper-scripts/setup-grest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Do NOT modify code below #
######################################

SGVERSION=v1.3.0
SGVERSION=v1.3.1

######## Functions ########
usage() {
Expand Down

0 comments on commit ca08c55

Please sign in to comment.