-
Notifications
You must be signed in to change notification settings - Fork 193
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
Distribution Set implicit lock: Support testing mode #1651
Milestone
Comments
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…(Mgmt) Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
that referenced
this issue
Mar 8, 2024
Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…(REST) Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
that referenced
this issue
Mar 8, 2024
Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…Set implicit lock (enabled by default) Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…Set implicit lock (enabled by default) Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…Set implicit lock enabled by default Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
that referenced
this issue
Mar 8, 2024
…ck (#1678) enabled by default Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…n DS tags Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…n DS tags tags the implicit lock is skipped on are configured via RepositoryProperties.skipImplicitLockForTags list. By default skip tags are the ones with names: "skip-implicit-lock", "skip_implicit_lock", "SKIP_IMPLICIT_LOCK", "SKIP-IMPLICIT-LOCK" Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…plicit lock (enabled by default) Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
that referenced
this issue
Mar 8, 2024
…abled by default) (#1679) Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…n DS tags tags the implicit lock is skipped on are configured via RepositoryProperties.skipImplicitLockForTags list. By default skip tags are the ones with names: "skip-implicit-lock", "skip_implicit_lock", "SKIP_IMPLICIT_LOCK", "SKIP-IMPLICIT-LOCK" Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…n DS tags tags the implicit lock is skipped on are configured via RepositoryProperties.skipImplicitLockForTags list. By default skip tags are the ones with names: "skip-implicit-lock", "skip_implicit_lock", "SKIP_IMPLICIT_LOCK", "SKIP-IMPLICIT-LOCK" Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
…n DS tags tags the implicit lock is skipped on are configured via RepositoryProperties.skipImplicitLockForTags list. By default skip tags are the ones with names: "skip-implicit-lock", "skip_implicit_lock", "SKIP_IMPLICIT_LOCK", "SKIP-IMPLICIT-LOCK" + this commit centralize the implicit lock enable/disable logic Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
that referenced
this issue
Mar 8, 2024
tags the implicit lock is skipped on are configured via RepositoryProperties.skipImplicitLockForTags list. By default skip tags are the ones with names: "skip-implicit-lock", "skip_implicit_lock", "SKIP_IMPLICIT_LOCK", "SKIP-IMPLICIT-LOCK" + this commit centralize the implicit lock enable/disable logic Signed-off-by: Marinov Avgustin <[email protected]>
Implemented as follows (multiple options are available to support testing mode)
|
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
to bosch-io/hawkbit
that referenced
this issue
Mar 8, 2024
Signed-off-by: Marinov Avgustin <[email protected]>
avgustinmm
added a commit
that referenced
this issue
Mar 8, 2024
Signed-off-by: Marinov Avgustin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With implicit lock (locking DS on auto/manual assignment and rollout) the DS became immutable in an assignment. This leads to a problem with the use case of testing a DS. Though one could always create 1.0.RC1 -> test -> 1.0.RC2 -> test -> 1.0, it could be a little bit unpleasant for the user. So, it makes sense to add support for testing mode. Current approaches that have been considered (in the scope of Software Module & Distribution Set lock / immutable discussion:
Based on a tag of Distribution Set the implicit locking could be skipped. We could define a tag, e.g. "test", and if a DS is tagged with it - it won't be implicitly locked. We could even go further - we could leave the user an option to define names or names of tags that will be interpreted as "test" DS.
Allow an unlock in order to modify, at the user's responsibility.
Add "do not lock" option for all manual / auto assignments and rollouts (assumption is - lock by default - in order to keep system safe by default)
The text was updated successfully, but these errors were encountered: