Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix seed dup target labels (#776) #777

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

konveyor-ci-bot[bot]
Copy link

Fixes an issue with duplicate target labels.
Also, add support for a hub build version needed to detect upgrades.
The git tag-hash is written to /etc/hub-build. The abbreviated
commit hash is appended when HEAD is a commit added to the latest label.
Examples:

v0.6.0-beta.1-1-e161635  # tag+hash
v0.6.0-beta.1-1          # tag only
e161635                  # hash only

After seeded, the build is stored in settings: .hub.db.seed.build.
This is compared with current build to detect when the build has
changed. Seeding is skipped when both the build (version) and the seed
data have not changed.


The go.mod update was to bump go-utils for better logging of objects.
Included here for better logging of the Settings.


Signed-off-by: Jeff Ortel jortel@redhat.com
Signed-off-by: Cherry Picker noreply@github.com

Fixes an issue with duplicate target labels.
Also, add support for a hub build version needed to detect upgrades.
The git _tag-hash_ is written to `/etc/hub-build`. The _abbreviated_
commit hash is appended when HEAD is a commit added to the latest label.
Examples:
```
v0.6.0-beta.1-1-e161635  # tag+hash
v0.6.0-beta.1-1          # tag only
e161635                  # hash only
```

After seeded, the build is stored in settings: `.hub.db.seed.build`.
This is compared with current build to detect when the build has
changed. Seeding is _skipped_ when both the build (version) and the seed
data have not changed.

---

The go.mod update was to bump go-utils for better logging of objects.
Included here for better logging of the _Settings_.

---------

Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>
@jortel jortel merged commit e667d76 into release-0.6 Jan 24, 2025
13 checks passed
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.

1 participant