-
Notifications
You must be signed in to change notification settings - Fork 106
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
[tcib]Use inner ansible vars to expose dlrn md5 hash #1885
Conversation
Skipping CI for Draft Pull Request. |
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/a9db92e3d37848c3bd80b1d7ec2493f5 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 39m 56s |
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/43083d3f817a42508483e72331954518 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 30m 58s |
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/d3b42cf59d634afaba79bae7c15f9e91 ❌ openstack-k8s-operators-content-provider FAILURE in 11m 33s |
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, seems less fragile than the previous version
ci/playbooks/tcib/run.yml
Outdated
when: _check_dlrn_md5.stat.exists | ||
- name: Get inner ansible vars | ||
ansible.builtin.set_fact: | ||
inner_ansible_vars: "{{ inner_ansible.content | b64decode | from_yaml }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a block to avoid decoding the same var 3 times and to avoid the fact?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Currently we use to slurp the content of dlrn.md5 file via run playbook running from zuul executor. Most of the time, It does not exposes the correct dlrn md5 file hash. In order to fix that, We are moving log collection from zuul post run to tcib playbook to create the ansible var file and use the same to read the dlrn md5 hash file. Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rebtoor The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Depends-On: openstack-k8s-operators/ci-framework#1885 Depends-On: openstack-k8s-operators/ci-framework#1884 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Currently we use to slurp the content of dlrn.md5 file via run playbook running from zuul executor. Most of the time, It does not exposes the correct dlrn md5 file hash. In order to fix that,
We are moving log collection from zuul post run to tcib playbook to create the ansible var file and use the same to read the dlrn md5 hash file.
As a pull request owner and reviewers, I checked that: