Skip to content

Commit

Permalink
Remove Vagrant development environment
Browse files Browse the repository at this point in the history
This removes all traces (I hope) of the Vagrant development
environment, as discussed in
#5565 (comment) .
I preserved the VS Code docs in a very half-assed way as it
seemed nicer than just deleting them, but I hope somebody who
actually uses VS Code can test it out and improve those.

Signed-off-by: Adam Williamson <[email protected]>
  • Loading branch information
AdamWill authored and mergify[bot] committed Feb 10, 2024
1 parent d222bf4 commit ca9e27a
Show file tree
Hide file tree
Showing 33 changed files with 144 additions and 1,298 deletions.
92 changes: 0 additions & 92 deletions Vagrantfile

This file was deleted.

This file was deleted.

15 changes: 15 additions & 0 deletions devel/ansible-podman/roles/podman/files/greenwave-settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HOST = '0.0.0.0'
PORT = 6545
DEBUG = False
POLICIES_DIR = '/etc/greenwave/policies/'
DIST_GIT_BASE_URL = 'https://src.fedoraproject.org'
DIST_GIT_URL_TEMPLATE = '{DIST_GIT_BASE_URL}/{pkg_namespace}/{pkg_name}/raw/{rev}/f/gating.yaml'
KOJI_BASE_URL = 'https://koji.fedoraproject.org/kojihub'

SECRET_KEY = 'this-is-only-for-development'
WAIVERDB_API_URL = 'http://bodhi-dev-waiverdb:6544/api/v1.0'
RESULTSDB_API_URL = 'https://resultsdb.fedoraproject.org/api/v2.0'
CORS_URL = '*'
CACHE = {
"backend": "dogpile.cache.memory_pickle",
}

This file was deleted.

11 changes: 11 additions & 0 deletions devel/ansible-podman/roles/podman/files/waiverdb-settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DATABASE_URI = 'postgresql+psycopg2://waiverdb@bodhi-dev-database:5432/waiverdb'
RESULTSDB_API_URL = 'https://resultsdb.fedoraproject.org/api/v2.0'
SECRET_KEY = 'this-is-only-for-development'
CORS_URL = '*'

# MESSAGE_BUS_PUBLISH = True
MESSAGE_BUS_PUBLISH = False

AUTH_METHOD = 'dummy'
SUPERUSERS = ['bodhi_user']
PORT = 6544
12 changes: 0 additions & 12 deletions devel/ansible-podman/roles/podman/tasks/prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@
- waiverdb-settings.py
- greenwave-settings.py

- name: Adjust waiverdb hostname in greenwave settings for this environment
ansible.builtin.replace:
path: /tmp/bodhi-dev/greenwave-settings.py
regexp: 'waiverdb:6544'
replace: 'bodhi-dev-waiverdb:6544'

- name: Adjust database hostname in waiverdb settings for this environment
ansible.builtin.replace:
path: /tmp/bodhi-dev/waiverdb-settings.py
regexp: 'wdb:5432'
replace: 'bodhi-dev-database:5432'

- name: Copy various required executable files into place
ansible.builtin.copy:
src: "{{ item }}"
Expand Down
19 changes: 0 additions & 19 deletions devel/ansible/playbook.yml

This file was deleted.

5 changes: 0 additions & 5 deletions devel/ansible/roles/bodhi/defaults/main.yml

This file was deleted.

77 changes: 0 additions & 77 deletions devel/ansible/roles/bodhi/files/.bashrc

This file was deleted.

3 changes: 0 additions & 3 deletions devel/ansible/roles/bodhi/files/.vimrc

This file was deleted.

7 changes: 0 additions & 7 deletions devel/ansible/roles/bodhi/files/bodhi.httpd.conf

This file was deleted.

13 changes: 0 additions & 13 deletions devel/ansible/roles/bodhi/files/bodhi.service

This file was deleted.

62 changes: 0 additions & 62 deletions devel/ansible/roles/bodhi/files/bodhi.toml

This file was deleted.

13 changes: 0 additions & 13 deletions devel/ansible/roles/bodhi/files/celery.service

This file was deleted.

23 changes: 0 additions & 23 deletions devel/ansible/roles/bodhi/files/motd

This file was deleted.

5 changes: 0 additions & 5 deletions devel/ansible/roles/bodhi/handlers/main.yml

This file was deleted.

Loading

0 comments on commit ca9e27a

Please sign in to comment.