We missed this when adding zuul.opendev.org. The old setup added vhosts
for port 80 and 443. Explicitly add these back in here.
Change-Id: I945d1d82da297a4fb643afc2513928268578a4f4
This adds a toplevel zuul webserver for all opendev tenants. This
leverages new work in puppet-zuul (the depends on below) to configure
multiple vhosts.
This will enable us to add new zuul tenants without needing to
reconfigure webservers after this top level web server is added.
Change-Id: Idca6ade4e9f939486cc06f30ded40894e35da505
Depends-On: https://review.openstack.org/#/c/633586
There are upstream jobs in zuul-jobs with the docker build playbooks,
so use them. The system-config jobs are kept so that we don't have
to duplicate the secret stanza.
Change-Id: Iceee55a3d0e8b243549fa988f134b1ea9bb6dac5
Use group variables and a node name pattern to divorce the
openstackid-dev service from the instance name of the server which
provides it. Also update the inventory matches to be consistent with
the pattern in the global site manifest.
Change-Id: I335f7ebaa5a446a83a4725bbcc0240f91cd14341
It really doesn't actually matter, but if we do the apt-get install
before the COPY, it can increase the caching efficiency by a billionth
of a percent.
Depends-On: https://review.openstack.org/632528
Change-Id: I875812c956af1c4739e0986d267a47652bb5e6f3
We've made separate dockerhub users so we don't have to share
credentials across trust boundaries, nor do we need to define the
jobs which use them centrally.
There is a new opendevzuul user which has access to opendevorg,
use that.
Change-Id: Ia22188255f6e5b0f2ba0cefe20694bdec38c1444
There are cases when an issue has been fixed upstream in a
dependency but not yet released and it is desirable to install
that version in a built image. pbr does not support such urls
in requirements files because releasing software that depends
on unreleased software is quite dangerous.
Update assemble and install-from-bindep to install -r requirements.txt
before installing the actual software so that image builds with
such requirements lines will work.
Change-Id: Ie17a66bdc4ea0609ce4e66051f659cbd829fdd5d
This is a builder image intended to make it easy to build
images for projects that use pbr and bindep.
Also, build a python-base image for use with python-builder
pbrx installed dumb-init in a base image and used it as an
entrypoint for the image. This is a good pattern that we should
continue. Make a python-base image that can be used in the FROM
line of consuming final images.
Change-Id: I8da39e680e9c5ca0d8f603a2645e83fc3be87a8b
Like recently done with storyboard-dev, switch storyboard to a host
group and use an explicit vhost name so that the site can be
divorced from the hostname of the instance providing it.
Change-Id: Iacb91cb6f22dee239bd51347d17c10a7bcb01a33
Update scripts to migrate IDP dev server
to xenial and php7
Depends-On: https://review.openstack.org/631655
Change-Id: I0de414b6f6083016250f284203562ebe0e72193a
The upstream role var names have changed. For the better.
Depends-On: https://review.openstack.org/631602
Change-Id: I0a338da98dcfb48cd4207f182f88a043b1370ab6
Without this, other projects could run this job (or its descendents)
and pass in an images dictionary instructing it to upload something
to one of our repositories.
Change-Id: I2c68d6673217bbc274c1134ee221cd6484abcf16
Note that we will need to manually delete the .bcp*.backup jar files in
/home/gerrit2/review_site/lib before merging this change. If we don't do
that then the gerrit init step will fail.
This has been tested on review-dev.openstack.org. Please kick the tires
on that server prior to ok'ing this change.
Change-Id: Ia404366a3fef919a406c918c36f241ed3f5d5e74
With the move to Puppet 4, vhost config templates fail to find
relative references to class parameters within a vhost resource
scope. Be explicit about the scope for the auth_openid parameter in
the survey class from within its associated vhost config template so
that it will be correctly found.
Change-Id: I7c769849449b304193e3eb41d129364817d7db1f
Add jobs to build, upload, and promote a gerrit image to
Docker Hub. This uses alternative tags, build path, and
build args.
Change-Id: Iea7109f9ee0ec18431f298a2ecc611678a868d6d
Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Add jobs to build, upload, and promote a gitea image to Docker Hub.
This produces two images (gitea and openssh) from a single Dockerfile
via a multi-stage build.
Change-Id: I8e6136787f75cd69b881b7ac715418c86d356872
This adds the infrastructure for building docker images: the
credential used to upload to Docker Hub as well as the parent jobs
and playbooks to perform the builds.
Change-Id: I7cbbcdd184c4934f1b0ce5905d9760c732b06aa9
Depends-On: https://review.openstack.org/631078
The gerrit source dir needs three plugins cloned into
the plugins dir and also a few files updated.
Depends-On: https://review.openstack.org/631007
Change-Id: I56037137d43ee1cea0a4c17e48d09102e1599ddc
This war is based on merged code and is hosted permanently (unlike the
war hosted on our logs server that we were testing with earlier). If
this ends up being a happy war we'll deploy it to production.
Change-Id: I7a0ca93f0cd7a9eed19172d315000c3b7e4464b7
This causes a massive sad for zuul, resulting in ability to clone
the repos and indefinitely hung job.
Change-Id: I96b2bd883b63079f5032c5715960c25b61940f16
Whenever we promote an image, delete the change tag for that image
in Docker Hub, and also delete any change tags older than 24 hours
in order to keep the Docker Hub image registry tidy.
Change-Id: Id4654c893963bdb0a364b1132793fe4fb152bf27