- Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The release manager allows to configure "allowPartialRebuild" - which is especially helpful for large projects where only one component is changed, and only that one should be rebuild
To Reproduce
- New releasemanager
- 2
odscomponents - add both to RM and build (in WIP) - set
allowPartialRebuildin metadata.yml -> true - change one component
- rebuild the RM in WIP
Expected behavior
only the changed component gets rebuild, the other stays as is - and gets resurrected
Affected version (please complete the following information):
- OpenDevStack [4.x/master]
Log Output (ensure to remove any confidential information like tokens, project names, etc.
DEBUG: Checking if repo can be resurrected from previous build ... [Pipeline] fileExists [..] [Pipeline] echo Checking if image SHAs for 'gol' of 1 deployment(s) are up-to-date ... [Pipeline] echo DEBUG: Verifying images of DeploymentConfig 'gol' [Pipeline] sh (Get latest version of DeploymentConfig/gol) + oc -n null get DeploymentConfig/gol -o 'jsonpath={.status.latestVersion}' Error from server (Forbidden): deploymentconfigs.apps.openshift.io "gol" is forbidden: User "system:serviceaccount:dcare-cd:jenkins" cannot get resource "deploymentconfigs" in API group "apps.openshift.io" in the namespace "null" [Pipeline] echo DEBUG: DeploymentConfig 'gol' does not exist! [..] Resurrection of previous build for 'gol' not possible as deployment 'gol' was not found in OpenShift. [Pipeline] echo Note the oc -n null - which makes this break
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working