Skip to content

Commit

Permalink
Merge branch 'main' into bump-pydantic
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz authored Jan 8, 2025
2 parents 0e38996 + 97e9e34 commit d82d599
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -32,7 +32,7 @@ jobs:
# fail_ci_if_error: true

docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: test
outputs:
tag: ${{ steps.source.outputs.TAG }}
Expand Down Expand Up @@ -80,20 +80,30 @@ jobs:
tags: sudoblock/icon-governance-worker:latest, sudoblock/icon-governance-worker:${{ steps.source.outputs.TAG }}

push_refs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: docker
strategy:
max-parallel: 1
matrix:
include:

- cluster: prod-ams
- cluster: prod-sng
network_name: mainnet
network_version: v2
- cluster: prod-ams
- cluster: prod-sng
network_name: lisbon
network_version: v2
- cluster: prod-ams
- cluster: prod-sng
network_name: berlin
network_version: v2

- cluster: cluster2
network_name: mainnet
network_version: v2
- cluster: cluster2
network_name: lisbon
network_version: v2
- cluster: cluster2
network_name: berlin
network_version: v2

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
steps:
Expand All @@ -20,7 +20,7 @@ jobs:
icon_governance/config.py
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: release
if: ${{ needs.release.outputs.release_created }}
steps:
Expand All @@ -47,7 +47,7 @@ jobs:
# fail_ci_if_error: true

docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: test
if: ${{ needs.release.outputs.release_created }}
outputs:
Expand Down Expand Up @@ -96,24 +96,24 @@ jobs:
tags: sudoblock/icon-governance-worker:latest, sudoblock/icon-governance-worker:${{ steps.source.outputs.TAG }}

push_refs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: docker
if: ${{ needs.release.outputs.release_created }}
strategy:
max-parallel: 1
matrix:
include:

- cluster: prod-sng
- cluster: cluster1
network_name: mainnet
network_version: v2
- cluster: prod-sng
- cluster: cluster1
network_name: lisbon
network_version: v2
- cluster: prod-sng
- cluster: cluster1
network_name: berlin
network_version: v2


steps:
- name: Checkout charts repo
uses: actions/checkout@v2
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [0.10.5](https://github.com/sudoblockio/icon-governance/compare/v0.10.4...v0.10.5) (2024-10-14)


### Bug Fixes

* ci runner image version ([79e9626](https://github.com/sudoblockio/icon-governance/commit/79e9626f4b191266e2a3ec86ae801525558aeef9))

## [0.10.4](https://github.com/sudoblockio/icon-governance/compare/v0.10.3...v0.10.4) (2024-10-11)


### Bug Fixes

* capitalise router tags ([994a260](https://github.com/sudoblockio/icon-governance/commit/994a260770bf69af18a6c27c7ad1c56e1be25038))

## [0.10.3](https://github.com/sudoblockio/icon-governance/compare/v0.10.2...v0.10.3) (2024-10-06)


### Bug Fixes

* cps test ([eff79b8](https://github.com/sudoblockio/icon-governance/commit/eff79b89718a4c2f0262cf5fdebd578866ca8177))

## [0.10.2](https://github.com/sudoblockio/icon-governance/compare/v0.10.1...v0.10.2) (2024-10-06)


Expand Down
2 changes: 1 addition & 1 deletion icon_governance/api/v1/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
stats,
)

api_router = APIRouter(tags=["governance"])
api_router = APIRouter(tags=["Governance"])
api_router.include_router(preps.router)
api_router.include_router(delegations.router)
api_router.include_router(proposals.router)
Expand Down
2 changes: 1 addition & 1 deletion icon_governance/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class Settings(BaseSettings):
NAME: str = "governance"
VERSION: str = "v0.10.2" # x-release-please-version
VERSION: str = "v0.10.5" # x-release-please-version

NETWORK_NAME: str = "mainnet"

Expand Down

0 comments on commit d82d599

Please sign in to comment.