Skip to content

Conversation

@labrenbe
Copy link
Member

@labrenbe labrenbe commented Dec 5, 2024

Description

Fixes #310.

  • Add the --release <release> argument to demo and stack commands which allows installing from a specific release branch.
  • If --release is not specified the latest release is used.
  • --release dev install from main branch.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes
# Author
- [ ] Changes are OpenShift compatible
- [ ] CRD changes approved
- [ ] Helm chart can be installed and deployed operator works
- [ ] Integration tests passed (for non trivial changes)
# Reviewer
- [ ] Code contains useful comments
- [ ] (Integration-)Test cases added
- [ ] Documentation added or updated
- [ ] Changelog updated
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance
- [ ] Feature Tracker has been updated
- [ ] Proper release label has been added

Techassi and others added 2 commits December 5, 2024 10:53
Also removes the unused --offline flag. Feel free to ignore that.
@labrenbe labrenbe self-assigned this Dec 5, 2024
@labrenbe labrenbe linked an issue Dec 5, 2024 that may be closed by this pull request
@Techassi Techassi self-requested a review December 5, 2024 14:40
Copy link
Member

@Techassi Techassi left a comment

Choose a reason for hiding this comment

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

Mostly lgtm, a few smaller comments.

Also, please add changelog entries regarding the --offline removal, the addition of --release and make sure to fix pre-commit and rust-doc errors.

labrenbe and others added 9 commits December 6, 2024 11:37
Co-authored-by: Techassi <git@techassi.dev>
This add a Deref impl for the List type, which removed the need to call
.inner() to retrieve the IndexMap. Instead IndexMap's methods can now
be used by deref'ing.

Also, the SpecIter trait now consumes self, which removes two superflous
calls to .clone().
@labrenbe labrenbe added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit e3ed80e Dec 18, 2024
24 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2024
* wip: Add release selection to demo command

Also removes the unused --offline flag. Feel free to ignore that.

* add --release arg to stacks

* Update rust/stackablectl/src/cmds/demo.rs

Co-authored-by: Techassi <git@techassi.dev>

* refactor 'latest_release' and address PR feedback

* refactor 'latest_release' and address PR feedback

* add changelog entry

* add changelog entry

* chore: Restructure changelog

* refactor: Simplify List type

This add a Deref impl for the List type, which removed the need to call
.inner() to retrieve the IndexMap. Instead IndexMap's methods can now
be used by deref'ing.

Also, the SpecIter trait now consumes self, which removes two superflous
calls to .clone().

* chore: Remove unused regex dependency

---------

Co-authored-by: Techassi <git@techassi.dev>
@labrenbe labrenbe deleted the feat/select-version-of-demos-stacks branch December 18, 2024 11:29
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.

feat: Add ability to select version of demos/stacks

4 participants