The mkdir instruction tries to create the
/etc/systemd/system/docker.service.d folder wich in some cases might
not exists. This change includes hte -p argument.
Change-Id: Ia278a2c4dd50a2e57a93b568d0c415e9451fc51f
monasca-thresh package is not published in
tarballs.openstack.org and fails to detect
proper version for it.
Add to external managed packages list
Change-Id: I5da4da1f5291e993fdcd04177c634147204ad9ed
grep -E '^\s+[A-Z]+\s' was matching any
" a "
" FOO "
where this was trying to only catch " FOO " case
Change-Id: Ife64cb9f02b3f1463d5143e57629418bc478de49
Delegate code style validation to computers, they're better than human
at it :)
This commit adds a new `tools/validate-indentation.sh` script that
errors when it finds an indented Dockerfile instruction, and enables
the validation in the pep8 check.
Also adjust the logic of `tools/validate-all-dockerfiles.sh` so that it
doesn't stop on first errors but instead shows all of them.
Fixes the remaining indentations in Dockerfiles.
Change-Id: I53c0d38304cb4f6d64a5dfab67f70d69b3eae587
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
All release notes must leave in "releasenotes/notes" directory.
One of them has been generated in wrong place
"tools/releasenotes/notes" for Pike release.
This patch just remote it.
Change-Id: I2f6d22954288445b2d9e325f1d104e9bf43d0029
ARA does not work yet with ansible 2.4
ARA has pinned to lower version than 2.4
https://review.openstack.org/#/c/500651/
Change-Id: Idfe1e7ad46efac965a22b4f7fa833babf22ba375
Sometimes gates fails due lack of space,
post merge jobs gates fails always for oraclelinux
binary, not being able create a tarball registry.
This change mounts a second disk in opt and moves
registry data to opt.
Disk format commands are excepts from devstack-gate:
dc49f9e6eb/functions.sh (L306)
Closes-Bug: #1713652
Change-Id: I883e51042841709eb9ab348cfdce9fecbd4fb890
kolla_logs is only accessed by root. So use sudo when checking whether
kolla_logs folder exist.
Closes-Bug: #1711996
Change-Id: If324ad6818f53c16d55cd95f8c7bed03f1906721
We now have experimental gates which will eventually be daily jobs to
build, test and publish images to dockerhub. First step is to mimic our
tarball publisher to build images -> save them to temp space -> run set
of jobs that will sign off these images -> move images to regular
tarballs.
Depends-on: I0231bd07415ef05b3f4f937e32a9df4cd0643672
Change-Id: If578edcd4e431c0b93cb9cedcc3d9db47d41a637
Gnocchi is moved out of openstack/releases project.
Version-check need to be updated with gnocchi in
skipped projects.
Closes-Bug: #1703386
Change-Id: I2b37aeb7042756be534559615878e698275783c6
Bandit was not running in all directories
due missing -r parameter.
Also, this change fix bandit errors.
* Add nosec to subprocess module
* Change /tmp/releases to .releases
* Change /tmp/ to tmp/, tmp/ is not checked
and in unittest is not an issue, simpler that mocking tempfile
and make more complex tests.
Change-Id: I42bafa4707a9a4d1faeb01cb9b5a843f56280deb
Cinder-api in ubuntu binary was migrated
under apache because ubuntu packages removed
support to system services.
This change migrate other install_types under apache
to unify all types.
Change-Id: Iad6792142019134513a378a7ad9955888ef320e9
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
It is better to move to the new 'docker' package because the old
package will be deprecated and all the new features will go into
the new package only.
Package 'docker' has been added to requirements [3]. The old
package 'docker-py' is still allowed to be in the global requirements
during the transition period but it should be removed after all or
most of the projects finsih the migration.
[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker
[3] https://review.openstack.org/#/c/423715/
Change-Id: I3ffd8bb6461e8b7edacc5e833754f00c4249b854
In old implementation, version-check always get the latest versions
rather than versions for certain release. it is useless for stable
branch. And it parses from tarballs.openstack.org site, which is
very slow.
In this new implementation, version-check gets versions from
openstack/releases repo, which is faster and accurate. It also support
get versions for certain OpenStack release. For example, get the Ocata
latest release version.
./verion-check.py --openstack-release ocata
Closes-Bug: #1554337
Change-Id: Ie8951625817d82f38cf820cf9bd44ae447e2eb75
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
docs.docker.com/engine/reference/builder/#maintainer-deprecated
Closes-Bug: #1683652
Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
We download a large number of packages from trunk.rdoproject.org, the
OpenStack Infra team has setup a per-region caching proxy to speed
up builds and reduce reliance on the internet.
This patch switches builds to use the new mirror and also stops
defining our own mirror variables and rely on the one provided by
nodepool instead. As part of this patch, we also drop getting the
delorean.repo file from buildlogs.centos.org as it could be out of
sync and essentially broken (until the job to sync runs). We prefer
going to trunk.rdoproject.org as it will be proxied and cached.
Change-Id: Ia28225de715089bbf5b023d1e134f2fb7da93fbd