Skip to content

feat: add develop build version logic#2135

Merged
lumtis merged 3 commits intodevelopfrom
improve-version-logic
May 10, 2024
Merged

feat: add develop build version logic#2135
lumtis merged 3 commits intodevelopfrom
improve-version-logic

Conversation

@gartnera
Copy link
Contributor

@gartnera gartnera commented May 7, 2024

Description

As part of developnet, we need to stamp the version differently to ensure that we have a new unique version for every build. Release builds will be named based on their tag but develop and local builds will be named based on their timestamp.

This will allow us to deploy developnet changes via governance proposals. Each software update deployed via a governance proposal must have a matching UpgradeHandler configured. Use the version constant in setup_handlers.go so that the zetacored version always matches the upgrade handler version.

This also enables #2113 by ensuring that the version numbers in the upgrades/governance proposals match what zetacore says it's version actually is.

Relates to DEVOP-642

Needed for #2095

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • verify both develop and release upgrades work

Copy link
Contributor

@lumtis lumtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like make install fails for the E2E tests. It runs on my machine

@gartnera gartnera mentioned this pull request May 8, 2024
6 tasks
@gartnera gartnera force-pushed the improve-version-logic branch from f6d2d5f to 094b9d6 Compare May 8, 2024 20:19
@gartnera
Copy link
Contributor Author

gartnera commented May 8, 2024

Looks like make install fails for the E2E tests. It runs on my machine

fixed

@gartnera gartnera requested a review from lumtis May 8, 2024 20:32
gartnera added a commit that referenced this pull request May 8, 2024
gartnera added a commit that referenced this pull request May 9, 2024
@gartnera gartnera added no-changelog Skip changelog CI check and removed no-changelog Skip changelog CI check labels May 9, 2024
@lumtis
Copy link
Contributor

lumtis commented May 10, 2024

FYI Just added a changelog entry, I think the change is relevant enough for one

@lumtis lumtis merged commit df947d6 into develop May 10, 2024
@lumtis lumtis deleted the improve-version-logic branch May 10, 2024 08:32
gartnera added a commit that referenced this pull request May 10, 2024
gartnera added a commit that referenced this pull request May 10, 2024
* feat: add zetaclientd-supervisor

* pass through args directly

* clean shutdown

* Add optional autodownload

* remove old scripts

* workround being blocked by #2135

* keep restart-zetaclientd.sh in orchestrator for e2e

* lint fixes

* feedback updates

* autodownload optional and changelog

* feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants