Closed
Bug 1352232
Opened 7 years ago
Closed 7 years ago
Retire Vagrant development environment and Ansible
Categories
(developer.mozilla.org Graveyard :: Setup / Install, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwhitlock, Assigned: jwhitlock)
References
Details
(Keywords: in-triage, Whiteboard: [specification][type:change])
What feature should be changed? Please provide the URL of the feature if possible. ================================================================================== Vagrant [1] was used for many years as the tool for configuring a local Kuma development environment. Ansible [2] is used as a provisioning tool, to automate the setup of the VM OS and backing services. It is also used in TravisCI [3] in the py27 target. Vagrant is no longer recommended now that the Docker [4] development environment is ready for daily development (bug 1218563). Vagrant and Ansible should be removed. [1] https://www.vagrantup.com [2] https://www.ansible.com [3] https://travis-ci.org/mozilla/kuma [4] https://www.docker.com What problems would this solve? =============================== The documentation currently explains how to do development tasks in both Docker and Vagrant. Removing Vagrant would simplify the developer documentation and reduce the chances that a new contributor would start in the unsupported Vagrant environment. Removing the related files will clean up the repository. Changing the py27 target to use native TravisCI backing services will potentially speed up those tests, and allow us to experiment with other configurations, such as Python 3, Django 1.11, and PostgreSQL as "allowed failed" targets in TravisCI. Full tests with production backing services can be served by the docker target. Who would use this? =================== Kuma developers, and some KumaScript contributors What would users see? ===================== Documentation would be focused on Docker (installation, usage, and troubleshooting). What would users do? What would happen as a result? =================================================== Users would use Docker and not wonder what Vagrant is. Is there anything else we should know? ====================================== Current production uses some of the files inside the provisioning folder, so these will need to be removed carefully, while coordinating with operations.
Comment 1•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/4a8ea4aa922f25511b22a4ac5ee344d6075c520e bug 1352232: Move all-servers.conf to new location This file is used in production, and should remain after Ansible provisioning is removed. Moving the file to preserve history. https://github.com/mozilla/kuma/commit/041dde4130695a0a8f47d08bd752f2412430e881 bug 1352232: Copy all-servers.conf to old location Create a copy of all-servers.conf, to be removed after the servers have been updated to the new location. https://github.com/mozilla/kuma/commit/67ea38bf73551e919c813d77013a65534258b896 bug 1352232: Add a newline Add a newline so git won't complain. https://github.com/mozilla/kuma/commit/d0b0284b7108d9f80d5c8c005cd71d62c539d711 Merge pull request #4164 from jwhitlock/all-servers-1352232 bug 1352232 - Duplicate all-servers.conf outside Ansible provisioning
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jwhitlock
Comment 2•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/290a4fa8f36ea653bf0efe44dce59a14aab5958b bug 1352232: Remove Vagrant from docs Remove references to Vagrant from the documentation, and fix some small documentation issues: - Update status of Dockerization - Move subjects under Advanced Configuration up, so they appear in sidebars - Update the docs for updating localization files to reflect my current process - Convert performance testing instructions to Docker https://github.com/mozilla/kuma/commit/ac656314679021734f439d21b5e8f84f0f672e5e bug 1352232: test perf doc, use auto-numbered list https://github.com/mozilla/kuma/commit/da20df580e3c7b22e27ac57c53eef2d50e8cf4ff Merge pull request #4214 from jwhitlock/vagrant-docs-1352232 bug 1352232: Remove Vagrant references from documentation
Comment 3•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/48519d5e045200569cc6b9090f23f365240f1bec bug 1352232: Remove pth_pydev.py I think this was a helper script for converting PyDev/Eclipse project files from Kitsune to Kuma. No longer needed. https://github.com/mozilla/kuma/commit/4ef2da870f67c5af4dee8ae548296264a2748ad3 bug 1352232: Remove Vagrant and some Ansible - Remove Vagrantfile - Remove the Ansible roles and vars supporting Vagrant - Stop ignoring vagrant files https://github.com/mozilla/kuma/commit/c600087b6e41d344eb7207047e266ac7ace2f4a2 bug 1352232: Remove requirements/local.txt https://github.com/mozilla/kuma/commit/ab2c939bc674275a99cc5351b93cf9df13097dd7 bug 1352232: Remove local kumascript settings Docker uses environment variables to customize KumaScript https://github.com/mozilla/kuma/commit/34614220b206b3f0c6b1cc6e785f5dedad1eee2c bug 1352232: Docker is now preferred to Vagrant https://github.com/mozilla/kuma/commit/a0620eb553dbf3a2c9fff687024bd7dbee37c9fa bug 1352232: Remove Vagrant reference https://github.com/mozilla/kuma/commit/077601f97ae593216bfe8652c2bd48aeb587c354 bug 1352232: Add SCL3 section to ignore files Some files should not be used in development, but are still used in the SCL3 deployment process. https://github.com/mozilla/kuma/commit/fb527b1babe6f4f6e46bfaf5f1b0a2786b983697 Merge pull request #4216 from jwhitlock/remove-vagrant-1352232 Bug 1352232: Remove vagrant
Comment 4•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/f29abbee3e32ea2e274c9d277c6d85a2cd578306 bug 1352232: Remove Ansible from py27 build Switch to TravisCI-provided MySQL without custom collation. This requires running tests with --no-migrations. The Docker build continues to use MySQL with the custom collation utf8_distinct_ci and migraations. Switch to the TravicCI-recommended method for installing and running ElasticSearch. Update caching so that node installed and downloaded (ElasticSearch and docker-compose) are fast when the version doesn't change. Move configuration environment variables to global, and use additional variables to control what gets installed (rather than TOXENV): * CREATE_DB=dbname - Runs MySQL database creation for Django tests * INSTALL_DOCKER_COMPOSE - Replaces docker_compose with the specific version. * INSTALL_ELASTICSEARCH=1 - Downloads and runs ElasticSearch, and ensures it is ready before starting tests * INSTALL_PIPELINE=1 - Installs node packages used by django-pipeline, so that "make build-static" will run successfully https://github.com/mozilla/kuma/commit/e6d8b66ee06745c3ac60c7460057f0f01797a566 bug 1352232: Less Travis-specific environment Drop PYTHONPATH, CFLAGS, and DEBIAN_FRONTED from the environment overrides. https://github.com/mozilla/kuma/commit/c0e6ec2275951fede758f3635451c1abef32a400 bug 1352232: Use appropriate bash Use simple bash tests in .travis.yml Use set -u in scripts/travis-install, instead of checking that the right environment variables are set. https://github.com/mozilla/kuma/commit/46e9ab9a6b2b9fee8684b8458c7f91e8624c4e8c Merge pull request #4239 from mozilla/no-ansible-1352232 bug 1352232: Remove Ansible from py27 build
Comment 5•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/ec43c61e37bf1cd4ab23871381916255b2fc7083 fix bug 1352232: Remove Ansible provisioning https://github.com/mozilla/kuma/commit/76644f5d729493f13b1827559d2f04ce07f1b4e8 Merge pull request #4242 from jwhitlock/del-ansible-1352232 fix bug 1352232: Remove Ansible provisioning r=self (non-production)
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•