-
Notifications
You must be signed in to change notification settings - Fork 10
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
Deployments don't lock the obs-api
package
#68
Comments
The lock is restored afterwards, at least in successful deployments. 🤔 Regarding the description of the issue:
In this specific case the zypper lock was not restored because the condition was not met. It was skipped. We can see it in the logs, in the last
|
Sounds like it's related to #67 ? |
Hm... #67 is simply not implemented. There is only one task which records to GitHub. And it always records a successful result. When the deployment fails, the task is simply not run. See: ansible-obs/includes/github-deployment.yml Lines 7 to 10 in 2317faf
I guess that the right approach to make sure that the deployments always lock the |
After re-reading the ansible-obs playbook and thinking about it, I believe @eduardoj is right. Locking zypper should happen always. |
As we can see from the deployment log, the zypper lock is removed
But it's not restored back afterwards...
The text was updated successfully, but these errors were encountered: