)]}'
{".zuul.yaml":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"4dd2ffc4798958f129a411e5ec2db073f3fbcb73","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    check:"},{"line_number":23,"context_line":"      jobs:"},{"line_number":24,"context_line":"        - openstack-chef-delivery"},{"line_number":25,"context_line":"        - openstack-chef-integration"},{"line_number":26,"context_line":"    gate:"},{"line_number":27,"context_line":"      jobs:"},{"line_number":28,"context_line":"        - openstack-chef-delivery"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_151f38b7","side":"PARENT","line":25,"updated":"2019-07-01 08:02:27.000000000","message":"You\u0027ll need to make this job non-voting in order for your stack to be able to be merged.","commit_id":"9df3917f9be4b5878190827906b5fe7546b17d48"},{"author":{"_account_id":21961,"name":"Lance Albertson","email":"lance@osuosl.org","username":"ramereth"},"change_message_id":"489d913e9df700e40bcabd06b98a5e46ae29a87c","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    check:"},{"line_number":23,"context_line":"      jobs:"},{"line_number":24,"context_line":"        - openstack-chef-delivery"},{"line_number":25,"context_line":"        - openstack-chef-integration"},{"line_number":26,"context_line":"    gate:"},{"line_number":27,"context_line":"      jobs:"},{"line_number":28,"context_line":"        - openstack-chef-delivery"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_6e381eed","side":"PARENT","line":25,"in_reply_to":"9fb8cfa7_151f38b7","updated":"2019-07-01 15:39:18.000000000","message":"How does one do that? Do you have an example?","commit_id":"9df3917f9be4b5878190827906b5fe7546b17d48"},{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"4dd2ffc4798958f129a411e5ec2db073f3fbcb73","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    gate:"},{"line_number":27,"context_line":"      jobs:"},{"line_number":28,"context_line":"        - openstack-chef-delivery"},{"line_number":29,"context_line":"        - openstack-chef-integration"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"- project:"},{"line_number":32,"context_line":"    templates:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_351a7cc5","line":29,"updated":"2019-07-01 08:02:27.000000000","message":"And remove/comment it out here for that time as well.","commit_id":"fc59ab05a2cd1d1690939cee20005792deff1d65"},{"author":{"_account_id":21961,"name":"Lance Albertson","email":"lance@osuosl.org","username":"ramereth"},"change_message_id":"489d913e9df700e40bcabd06b98a5e46ae29a87c","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    gate:"},{"line_number":27,"context_line":"      jobs:"},{"line_number":28,"context_line":"        - openstack-chef-delivery"},{"line_number":29,"context_line":"        - openstack-chef-integration"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"- project:"},{"line_number":32,"context_line":"    templates:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_ae1b767e","line":29,"in_reply_to":"9fb8cfa7_351a7cc5","updated":"2019-07-01 15:39:18.000000000","message":"After this gets merged, do we need to revert this back to the original configuration after all the other jobs have merged?","commit_id":"fc59ab05a2cd1d1690939cee20005792deff1d65"}],"playbooks/pre-integration.yaml":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"4dd2ffc4798958f129a411e5ec2db073f3fbcb73","unresolved":false,"context_lines":[{"line_number":7,"context_line":"- hosts: all"},{"line_number":8,"context_line":"  tasks:"},{"line_number":9,"context_line":"  - name: Install chef package"},{"line_number":10,"context_line":"    shell: curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 14"},{"line_number":11,"context_line":"    become: yes"},{"line_number":12,"context_line":"  - name: Install berkshelf"},{"line_number":13,"context_line":"    shell: /opt/chef/embedded/bin/gem install --no-rdoc --no-ri berkshelf"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_950b287b","line":10,"updated":"2019-07-01 08:02:27.000000000","message":"IMO this is a no-go, it breaks security in a very bad way and I don\u0027t think that we should use this even if it is \"only for testing\", as deployers will follow this example anyway when they find it.","commit_id":"fc59ab05a2cd1d1690939cee20005792deff1d65"},{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"058af4dfea35cd8edf166bef121e52c3033d0cfe","unresolved":false,"context_lines":[{"line_number":7,"context_line":"- hosts: all"},{"line_number":8,"context_line":"  tasks:"},{"line_number":9,"context_line":"  - name: Install chef package"},{"line_number":10,"context_line":"    shell: curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 14"},{"line_number":11,"context_line":"    become: yes"},{"line_number":12,"context_line":"  - name: Install berkshelf"},{"line_number":13,"context_line":"    shell: /opt/chef/embedded/bin/gem install --no-rdoc --no-ri berkshelf"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_e46af77e","line":10,"in_reply_to":"9fb8cfa7_950b287b","updated":"2019-07-01 09:51:02.000000000","message":"See https://review.opendev.org/668386 for an example of how I would do this, not sure if we need to pin the version or if we can figure out what is 14.x.latest dynamically","commit_id":"fc59ab05a2cd1d1690939cee20005792deff1d65"},{"author":{"_account_id":21961,"name":"Lance Albertson","email":"lance@osuosl.org","username":"ramereth"},"change_message_id":"dc570f5b5399a88ebd86f69b68708909e4077ea8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"- hosts: all"},{"line_number":8,"context_line":"  tasks:"},{"line_number":9,"context_line":"  - name: Install chef package"},{"line_number":10,"context_line":"    shell: curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 14"},{"line_number":11,"context_line":"    become: yes"},{"line_number":12,"context_line":"  - name: Install berkshelf"},{"line_number":13,"context_line":"    shell: /opt/chef/embedded/bin/gem install --no-rdoc --no-ri berkshelf"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_1c699323","line":10,"in_reply_to":"9fb8cfa7_c97a6486","updated":"2019-07-01 23:55:46.000000000","message":"Looks like we can query Omnitruck directly to get the URL:\n\n $ curl \"https://omnitruck.chef.io/stable/chef/metadata?v\u003d14\u0026p\u003dubuntu\u0026pv\u003d18.04\u0026m\u003dx86_64\"\n sha1    ed9b1fcdaf947d9a3d60e6d196308183a082bcff\n sha256  9ddcd5ceef19c95ecc1f34bef080c23d9cb42ae8ebc69fd41dcf1c768a6a708f\n url     https://packages.chef.io/files/stable/chef/14.13.11/ubuntu/18.04/chef_14.13.11-1_amd64.deb\n\nWe can probably use that output to properly install AND validate the file. I\u0027ll see what I can do to work around that.","commit_id":"fc59ab05a2cd1d1690939cee20005792deff1d65"},{"author":{"_account_id":21961,"name":"Lance Albertson","email":"lance@osuosl.org","username":"ramereth"},"change_message_id":"489d913e9df700e40bcabd06b98a5e46ae29a87c","unresolved":false,"context_lines":[{"line_number":7,"context_line":"- hosts: all"},{"line_number":8,"context_line":"  tasks:"},{"line_number":9,"context_line":"  - name: Install chef package"},{"line_number":10,"context_line":"    shell: curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 14"},{"line_number":11,"context_line":"    become: yes"},{"line_number":12,"context_line":"  - name: Install berkshelf"},{"line_number":13,"context_line":"    shell: /opt/chef/embedded/bin/gem install --no-rdoc --no-ri berkshelf"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"9fb8cfa7_c97a6486","line":10,"in_reply_to":"9fb8cfa7_e46af77e","updated":"2019-07-01 15:39:18.000000000","message":"A better way to do this is to install the mixlib-install gem and download the latest chef using it via CLI [1]. However I\u0027m not sure how I feel about installing mixlib-install into the system ruby environment. This is kind of a chicken and egg problem.\n\nIs there a problem we if download the install.sh file first and then run it? mixlib-install actually just generates this script and then runs it on the CLI.\n\n[1] https://github.com/chef/mixlib-install#command-line-usage","commit_id":"fc59ab05a2cd1d1690939cee20005792deff1d65"},{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"07765d731ec3fe5e33bf0225009db089c044f8c3","unresolved":false,"context_lines":[{"line_number":9,"context_line":"  - name: Install chef package"},{"line_number":10,"context_line":"    shell:"},{"line_number":11,"context_line":"      cmd: ./scripts/install.sh -v 14"},{"line_number":12,"context_line":"      chdir: \u0027{{ zuul.project.src_dir }}\u0027"},{"line_number":13,"context_line":"    become: yes"},{"line_number":14,"context_line":"  - name: Install berkshelf"},{"line_number":15,"context_line":"    shell: /opt/chef/embedded/bin/gem install --no-rdoc --no-ri berkshelf"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"7faddb67_34ab32d7","line":12,"updated":"2019-07-04 11:09:09.000000000","message":"This doesn\u0027t work when the integration job is being run against another project like some cookbook. I think the correct solution would be to hardcode the path like for the bindep_file above.","commit_id":"b1d9a689dcd3f03ca150c2bc889fa8ce07df5049"}],"scripts/install.sh":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"b42707278df2be76b3c115b834026add3aa3ab31","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/sh"},{"line_number":2,"context_line":"# WARNING: REQUIRES /bin/sh"},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# - must run on /bin/sh on solaris 9"}],"source_content_type":"text/x-sh","patch_set":8,"id":"9fb8cfa7_7511abaf","line":1,"updated":"2019-07-03 09:25:40.000000000","message":"I\u0027d like to have a note somewhere with a reference to the source of this file. We could either add it here or create a README file in this directory. The latter would have the advantage that it would leave this file unchanged, making it easier to check whether it might need an update.","commit_id":"a1d08d8a82cff0cf8e1bc9b79e3d0eae3e344552"},{"author":{"_account_id":21961,"name":"Lance Albertson","email":"lance@osuosl.org","username":"ramereth"},"change_message_id":"6b994286f87bf1c29f8eef3555f2f94e46040ad4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/sh"},{"line_number":2,"context_line":"# WARNING: REQUIRES /bin/sh"},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# - must run on /bin/sh on solaris 9"}],"source_content_type":"text/x-sh","patch_set":8,"id":"9fb8cfa7_827bbd79","line":1,"in_reply_to":"9fb8cfa7_7511abaf","updated":"2019-07-03 15:42:30.000000000","message":"Done","commit_id":"a1d08d8a82cff0cf8e1bc9b79e3d0eae3e344552"}]}
