summaryrefslogtreecommitdiff
path: root/tests/playbooks
AgeCommit message (Collapse)AuthorFilesLines
2022-01-26CI: make it work againMarcin Juszkiewicz2-2/+15
Python changes: - limit pip to 20.x as this is last version working on both Python 2 and 3. - cap 'setuptools' to be older than 58 to have use_2to3 functionality (fixes 'anyjson' installation) - upgrade pip in 'elasticsearch-curator' image to get it built on CentOS 7 Unbuildable images: - 'bifrost-base' under CentOS 8 (Error: Cannot find a valid baseurl for repo: epel) - 'monasca-grafana' under CentOS 7/8 - 'sensu-client' under CentOS 7 (aws-eventstream requires Ruby version >= 2.3) - dropped *-upgrade CI jobs as Stein is EOL - pin 'qpid-proton-c' package for CentOS 7 to not install EPEL one (cinder-volume, openstack-base and tripleoclient) - bump 'libvirt-python' in 'masakari-monitors' to 7.10.0 (newer branches install package from distribution but CentOS 7 lacks it) - pin 'unf_ext' gem in Sensu images as CentOS 7 lacks Ruby 2.2+ (fixed sensu-server) - install 'ca-certificates' for newer Let's Encrypt certificates support (so we can fetch upper-constraints) - make Zuul fetch openstack/requirements project files (make 'openstack-base' pass) (like 2nd fix) Co-Authored-by: Pierre Riteau <pierre@stackhpc.com> Closes-Bug: #1943617 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/826464 Change-Id: I8ee32e53cda581493b2a4bb73ca72ab05014b9d4
2021-01-22CI: Use Docker proxy for pulls + Ruby fixesMichał Nasiadka1-0/+18
For Train (due to CentOS 7) includes as well: - sensu-client: Pin simpleidn Ruby gem simpleidn Ruby gem started requiring Ruby 2.2. - monasca-grafana: Pin git Ruby gem fpm Ruby gem started requiring git Ruby gem git Ruby gem started requiring Ruby 2.3 Change-Id: I0c4d5e1ea16c6677813a334b38b3a22ad811531d Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com> Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/772077 (cherry picked from commit a8c12def858b57349207cab5fa8dabb3c23bdfa0)
2020-06-19CI: Install python deps, fix mod_wsgi in cyborg-api, disable masakari-monitorsMichal Nasiadka2-1/+43
setuptools is missing from infra image - so it needs to be installed. Copy cat of a kolla-ansible change: https://review.opendev.org/#/c/735808/ Fixes also cyborg-api to use py3 mod_wsgi in centos8 Temporarily disables masakari-monitors build, because it fails on centos8 due to problems with libvirt-python===5.7.0 (upper-constraints): Missing type converters: virTypedParameterPtr:1 ERROR: failed virConnectSetIdentity Depends-On: https://review.opendev.org/#/c/736744/ Change-Id: I6068abcbc0e73eeab77b0aa99983a95adc6defd3
2020-03-18CI: Install toxMark Goddard1-0/+5
tox will be removed from the base image. Install it before that happens. This change is made in a simple way that can be easily backported. Change-Id: I2a24c87aa44c1e03ba76a2fb0bd71caf54eb4211 (cherry picked from commit a81413fc52b0eaf1eefc3302ba425ac9b93d5a4d)
2020-02-21Merge "CentOS 8: Add zuul build and publish jobs" into stable/trainZuul1-1/+1
2020-01-20CI: Fix symlinks to failed logsRadosław Piliszek1-13/+0
Stop renaming files. Swift should be able to serve text/plain files based on content, not extension. Failed logs symlinks were broken because we stopped gzipping log files and improperly rewrote the logic there. Change-Id: Idddf51730821644948f51577807f5beaa18c6262 (cherry picked from commit 4a0182f15acbabc88df0aa660abce81d61f528da)
2020-01-15Merge "Stop gzipping logs in post" into stable/trainZuul1-4/+0
2020-01-14CentOS 8: Add zuul build and publish jobsMark Goddard1-1/+1
Adds build and publishing jobs for CentOS 8 images: - kolla-build-centos8-binary - kolla-build-centos8-source - kolla-publish-centos8-binary - kolla-publish-centos8-source The 'base' image has been added to the list of unbuildable images for CentOS 8 (now separate from the list for CentOS 7). This means that no images will be built - the jobs should essentially be a 'noop'. Change-Id: Ie9a0109bd4eef337358d714e4b5088b8e3de2f23 Partially-Implements: blueprint centos-rhel-8 (cherry picked from commit b060623b907348e518bdf1afede0b641be56c415)
2020-01-13CI: Fix symlinks for failed build logsMark Goddard1-6/+0
Follow up to I5b5f323471676317a2898875cbbf297082328fcc. Logs are no longer gzipped, so we do not need to modify the 000_FAILED_* symlinks. Change-Id: I5df42ac0ff91b1b97537a4fbc33fc7970f29d60e (cherry picked from commit 63f773f569c7601deab40b32bd62ccde513fa46f)
2020-01-10Stop gzipping logs in postMichal Nasiadka1-4/+0
As per [1] we should stop compressing the logs sent to swift in order to get them back readable via a browser. [1]: http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html Change-Id: I5b5f323471676317a2898875cbbf297082328fcc (cherry picked from commit f44b0b778b0d3a0bfa2f7d5cc126618c4c1e67f5)
2019-09-19CI: Use docker mirror proxyRadosław Piliszek1-8/+4
TODO: Debian build still requires access to original repo. Change-Id: Ie4bac5334369a63793d36568a9d3a58a0cdc7667 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-07-15cleanup setup of Debian/Ubuntu CI nodesMarcin Juszkiewicz1-0/+2
Change-Id: I3a771793dfbbfc26f6d5716ba7a5b60c2e6154fa
2019-06-28Extract CI vars for use in kolla-ansible jobsRadosław Piliszek1-9/+2
Change-Id: If58f15e18e420aca790496132352f1c1dcdb2640 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-27Merge "Clean up test process"Zuul3-83/+57
2019-06-25Remove Oracle Linux stuff in CI codeRadosław Piliszek1-1/+0
Oracle Linux is no longer tested via CI after [1]. This patch removes OL support from Zuul files. [1] https://review.opendev.org/664217 Change-Id: I527aba3635ef82e2d2a88ee7f5250bf03e420800 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-20Clean up test processRadosław Piliszek3-83/+57
If stestr failed, then no node info was logged. Logging node info is now handled in pre and post stages of Zuul. Additionally Zuul v3 migration recommendations were applied and some unused code removed improving general readability. Change-Id: Iae9d37cb76997ba8389e21c7e2a3bf5905abe029 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2018-12-18Use infra mirrors for ODL and percona reposEduardo Gonzalez1-1/+2
Change-Id: I212a53b235f2785d93d474660c87a8521f3cc8b2
2018-12-05Fix Oraclelinux build, disable collectd in gateEduardo Gonzalez2-4/+0
Oraclelinux repositories has been upgraded and previous file removed, this change update repos to new URLs. Disable collectd in gate as is currently broken and blocks mergingin voting jobs. Change-Id: I402cff1ac86a2ba108f2f5378cc98db5f6ecc673
2018-11-20Suppress log copy output in gatesEduardo Gonzalez1-0/+2
Copying collectd logs is half of the job ouput. This change is to remove the verbosity of the syncronize tasks by applying --quiet to only show errors Change-Id: I39b47b844aab87d043a2cd745103d6589f3632e3
2018-07-10Add CI script to retrieve info from build logsMartin André1-0/+3
This should serve as a base for retrieving useful information from the kolla build logs. For now, the script warns about obsolete package names and helps track packages that are installed too many times in different images. It only supports rpm-based distros for now. Change-Id: I160b6ede1336bd0c202621a48ca0218f72fc1270
2018-07-10Show disk space used by docker images in CIMartin André1-1/+1
The `docker system df` command can show the total size of the docker cache. If you pass it the `-v` option, it will break it down per image, replacing the use of `docker ps -a` and `docker images`. This should be very useful in CI to see the variation in the images size. Change-Id: I407434d88f59df65693974265551c624420d4aaf
2018-07-09Stop creating an empty system_logs dir in CIMartin André1-1/+1
The system logs from the building node are copied to the system_log directory. There is no need to create an empty system_logs directory. It was certainly a typo. Change-Id: I1f0eea485550bd7b41c9954a6b7077251518b31d
2018-05-08Create symlinks for failed builds logsMartin André1-0/+6
This allows to know which image failed to build without having to parse the huge job-output.txt file. This commit creates a convenient 000_FAILED_image_name.log symlink to the relevant log files when kolla is configured to output to a log directory. This creates symlinks only for the parent image with error, i.e. it skips images that failed to build because of parent error. Change-Id: I05954e2335dc3fac469276809c91f9c87e3ecab2
2018-02-27Verify YAML syntax in gatesEduardo Gonzalez3-0/+3
Test yaml syntax is correct on new changes. Fixes current warnings and errors Change-Id: I5888f8e4a9d27a08506036df2c564b9f2081ccee
2018-01-16Merge "Add collectd in ci to collect system information"Zuul2-1/+4
2017-12-18Add collectd in ci to collect system informationJeffrey Zhang2-1/+4
Change-Id: Ic5cbdfd4ebca1d907ada5c39f27dc4a7889daa21
2017-12-06Use separate publish jobs in periodic pipelineJeffrey Zhang1-4/+0
The secrets can not be inherited. Change-Id: Ie0f99f470a419c57865eb8b0a14e465ae228c799
2017-12-04Change more repo url to infra mirrorJeffrey Zhang1-20/+8
Change-Id: I7e9fd2760ae3202f3a84833bb65edfdcffa67fe4
2017-11-28Improve gate post jobsJeffrey Zhang1-0/+4
- Reuse build jobs to publish images - Add binary jobs in periodic pipeline - Push all image to dockerhub - Use branch name for image tag Change-Id: Ifefb96bcbcc9c6840cf865f7786b43a43fae4c17
2017-11-08Fixup small bug with dockerhub publisherMichal (inc0) Jastrzebski1-1/+1
Jinja2 vs gotpl... Change-Id: I27a54eb9202ac5f3e9b3ef9c307e81475e8833f5
2017-11-06Dockerhub publisher jobMichal (inc0) Jastrzebski2-1/+45
This patchset includes pushing mechanism for daily periodic jobs. Change-Id: Ic4179ffd3a6e640abfb181dbd000bc75cc64b750
2017-10-19Moving jobs to kolla repoJeffrey Zhang3-0/+143
This is zuulv3 migration patch. This patch only implement build jobs. Deploy jobs will be pushed in another one. Partial-Bug: #1720601 Change-Id: Ib9157ed132820d752ef1dbd7a53353ebd68b1934