system-config/playbooks
Monty Taylor 63d8f7af48 Base 2.13 image on gerrit-base
We install jeepyb and launchpadlib in gerrit-base. Those are
important. We also need to add cgi for gitweb.

The gerrit init command does two things that we don't actually
want it to do at runtime. It extracts the plugins into the
plugins dir, and it downloads the right database library.

We can extract the plugins for it during image creation, and
then we can also download the plugin it would have downloaded.

We can also download the mysql library for it:

https://gerrit.googlesource.com/gerrit/+/refs/heads/stable-2.13/gerrit-pgm/src/main/resources/com/google/gerrit/pgm/init/libraries.config

Finally, we tell it to not download or expand anything during
init, because we're running in a container and next time we run
the process that dir isn't going to be there.

Our gerrit integration tests don't depend on our gerrit image builds.
Put in image depends between run-review and gerrit builds.

We also need to depend directly on opendev-buildset-registry.

Add java.security.egd setting to java invocation

This tells java to be secure.

https://stackoverflow.com/questions/58991966/what-java-security-egd-option-is-for

Add support for setting heap limit properly

The gerrit init script does this based on the value in
container.javaOptions. We could, but then we'd have to
run an entrypoint script. Instead, set the value via
the JAVA_OPTIONS env var setting based on a value from
ansible.

Finally, make gerrit-master image build non-voting

It looks like there might be a real issue, but debugging that
is not important for us at this moment.

Depends-On: https://review.opendev.org/714216
Change-Id: I01e94c10f470fb3c8ddfce7b0e201357e5050679
2020-03-20 16:37:18 -05:00
..
filter_plugins dns_[a|aaaa] filter; use host for lookup 2018-09-13 22:50:40 +10:00
group_vars Merge "zookeeper: open firewall port to nb04" 2020-03-19 01:31:12 +00:00
host_vars Base 2.13 image on gerrit-base 2020-03-20 16:37:18 -05:00
k8s Add resources for deploying rook and xtradb to kuberenets 2019-02-05 18:52:21 +00:00
module_utils/facts/system Ensure apt is used on ubuntu hosts with zypper 2018-08-20 20:45:13 +00:00
periodic Remove old 404 checker job 2020-03-11 15:15:00 -07:00
roles Base 2.13 image on gerrit-base 2020-03-20 16:37:18 -05:00
templates/clouds nodepool config: remove builder template, fix base template 2020-03-19 10:20:07 +11:00
zuul Add restTokenPrivateKey 2020-03-20 14:22:04 +11:00
apply-package-updates.yaml Apply package updates before we reboot in launch-node 2019-02-26 14:17:23 -08:00
base.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
bootstrap-k8s-nodes.yaml Stop running k8s-on-openstack nested 2019-02-12 18:17:46 +00:00
bridge.yaml bridge.o.o: update to latest Ansible 2019-11-20 09:20:09 +11:00
clouds_layouts.yml Moving FortNebula to OpenEdge 2020-03-06 20:43:56 +00:00
gitea-rename-setup-org.yaml Restore setup-org.yaml 2019-09-18 12:40:19 -07:00
gitea-rename-tasks.yaml Restore setup-org.yaml 2019-09-18 12:40:19 -07:00
install_puppet.yaml Handle moved puppet repos 2019-05-15 16:03:07 -07:00
nodepool_restart.yaml Add nodepool_restart playbook 2019-03-04 09:20:07 -08:00
remote_puppet_adhoc.yaml Clean up puppet variables and playbooks 2018-08-17 09:41:12 -05:00
remote_puppet_afs.yaml vos-release: have separate user 2019-11-21 12:03:45 +11:00
remote_puppet_else.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
remote_puppet_git.yaml Switch to running gerrit via ansible+containers 2020-03-19 17:21:39 -05:00
rename_repos.yaml Update gerrit rename playbook for docker-compose 2020-03-20 07:27:59 -05:00
run_cloud_launcher.yaml Name plays in playbooks 2018-09-07 10:51:56 -07:00
service-backup.yaml Ansible roles for backup 2019-08-05 16:59:57 +10:00
service-bridge.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-gitea-lb.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-letsencrypt.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-mirror-update.yaml Set openafs cache sizes for mirror/mirror-update 2019-07-19 12:04:26 -07:00
service-mirror.yaml Set openafs cache sizes for mirror/mirror-update 2019-07-19 12:04:26 -07:00
service-nameserver.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-nodepool.yaml Switch back to docker for gerrit and nodepool-builder 2020-03-15 23:26:49 +00:00
service-registry.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-review-dev.yaml Switch back to docker for gerrit and nodepool-builder 2020-03-15 23:26:49 +00:00
service-review.yaml Switch back to docker for gerrit and nodepool-builder 2020-03-15 23:26:49 +00:00
service-static.yaml openafs-client: add option for OpenAFS cache location 2020-01-28 21:05:27 +11:00
service-zuul.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
set-hostnames.yaml Don't gather facts in set-hostnames 2019-05-13 06:28:25 +00:00
start-review.yaml Add flag to allow skipping docker-compose up 2020-03-19 15:51:33 -05:00
sync-gitea-projects.yaml Fix URLs after OpenDev rename 2020-03-18 18:23:17 +01:00
test-gitea.yaml Run actual full project creation in gitea test 2019-07-11 13:39:22 -07:00
unattended_upgrades.yml Rename attended_upgrades playbook to unattended_upgrades 2016-07-19 10:41:09 +02:00
update_puppet_version.yaml Fix URLs after OpenDev rename 2020-03-18 18:23:17 +01:00
update-system-config.yaml Fix URLs after OpenDev rename 2020-03-18 18:23:17 +01:00
zuul_reconfigure.yaml Stub out zuul_reconfigure playbook 2018-09-14 09:17:36 -06:00
zuul_restart.yaml Update zuul ansible installs when restarting zuul 2019-10-04 10:12:18 -07:00
zuul_start.yaml Use host groups for zuul playbooks 2018-09-12 12:26:43 -06:00
zuul_stop.yaml Use host groups for zuul playbooks 2018-09-12 12:26:43 -06:00