-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
310 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
--- | ||
|
||
vars_playground_domain: example.com | ||
|
||
vars_playground_s3_bucket: bucket-name | ||
|
||
vars_playground_aws: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,3 @@ | |
|
||
[monitoring] | ||
# monitoring-server.local | ||
|
||
[crater] | ||
# crater-agent.local |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
ansible/envs/prod/host_vars/crater-azure-1.infra.rust-lang.org.yml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
ansible/envs/prod/host_vars/crater-azure-2.infra.rust-lang.org.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,17 @@ | |
dummy_certs: "{{ vars_letsencrypt_dummy_certs }}" | ||
email: [email protected] | ||
domains: | ||
- "{{ vars_playground_domain }}" | ||
- "{{ inventory_hostname }}" | ||
|
||
- role: nginx | ||
worker_connections: "{{ vars_playground_number_connections }}" | ||
proxied: | ||
- domain: "{{ vars_playground_domain }}" | ||
- domain: "{{ inventory_hostname }}" | ||
to: "http://127.0.0.1:{{ vars_playground_env_ui_port }}" | ||
websockets: | ||
- '/websocket' | ||
extra_locations: | ||
- path: '/docker-metrics' | ||
to: 'http://127.0.0.1:9323/metrics' | ||
|
||
- role: playground |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
|
||
# lldb 14 fails to load Python modules due to a wrong path. The workaround for | ||
# this issue is to symlink the modules to the path that lldb expects. | ||
# https://github.com/llvm/llvm-project/issues/55575 | ||
# | ||
# This fix can be removed once we move to llvm 16 | ||
|
||
- name: Find all lldb Python files | ||
ansible.builtin.find: | ||
paths: /usr/lib/llvm-14/lib/python3.12/dist-packages/lldb | ||
file_type: file | ||
register: lldb_python_files | ||
|
||
- name: Find all lldb Python modules | ||
ansible.builtin.find: | ||
paths: /usr/lib/llvm-14/lib/python3.12/dist-packages/lldb | ||
file_type: directory | ||
register: lldb_python_directories | ||
|
||
- name: Fix llvm/llvm-project#55575 | ||
ansible.builtin.file: | ||
src: "{{ item.path }}" | ||
dest: "/usr/lib/python3/dist-packages/lldb/{{ item.path | basename }}" | ||
state: link | ||
with_items: "{{ lldb_python_files.files + lldb_python_directories.files }}" | ||
|
||
- name: Fix lldb-server-14.0.0 | ||
ansible.builtin.file: | ||
src: /usr/lib/llvm-14/bin/lldb-server | ||
dest: /usr/bin/lldb-server-14.0.6 | ||
state: link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
# earlyoom kills processes using too much memory before they can cause trouble. | ||
- name: Install earlyoom | ||
ansible.builtin.apt: | ||
name: earlyoom | ||
state: present | ||
|
||
# The staging instance is so small that earlyoom prevents Ansible from executing | ||
# the playbook successfully. | ||
- name: Disable earlyoom on staging | ||
ansible.builtin.service: | ||
name: earlyoom | ||
enabled: no | ||
state: stopped | ||
when: ansible_hostname == "dev-desktop-staging" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
|
||
- name: Disable the apport service | ||
ansible.builtin.systemd: | ||
enabled: false | ||
state: stopped | ||
name: apport.service | ||
# Not all of our hosts actually have this, just ignore it if it fails. | ||
ignore_errors: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.