- Jul 25, 2020
-
-
Sven-Hendrik Haase authored
-
Sven-Hendrik Haase authored
This runner, as opposed to secure-runner1.archlinux.org, doesn't have any virtual machine capabilities and should be preferred for projects that don't need such capabilities.
-
Sven-Hendrik Haase authored
We were seeing load spikes that pegged the server at 200% before.
-
Sven-Hendrik Haase authored
This will ensure a smaller base image.
-
- Jul 24, 2020
-
-
Sven-Hendrik Haase authored
Apparently before if we ran a packer build to generate the arch base image, the problem was that it wouldn't pick up the fact that the machine was an hcloud server as that would only be checked after the first boot due to an ordering issue. Now we manually make sure that packer builds (which are always on hcloud anyway) will always have the hcloud-init files installed properly.
-
Sven-Hendrik Haase authored
-
Sven-Hendrik Haase authored
-
Giancarlo Razzolini authored
Added the new ssh host keys fingerprints to the config.
-
Giancarlo Razzolini authored
After some consideration, we are going to start with a smaller server size for the AUR and increase if necessary.
-
Giancarlo Razzolini authored
Since the AUR is high email traffic, apply the same rule as for luna, and add the sasl_username for aur to the no limits list.
-
Giancarlo Razzolini authored
When installing the units, systemd was ignoring the Type of the unit due to the capital O. Change it for the proper type.
-
Giancarlo Razzolini authored
Added the missing host_vars file for aur.archlinux.org and changed the README to reflect it's move.
-
- Jul 23, 2020
-
-
Giancarlo Razzolini authored
For security reasons, switch to using a socket for memcached on aurweb.
-
Giancarlo Razzolini authored
Added RandomizedDelaySec to make the aurweb-git.service to start on a different time than the borg backup, so the machine does not hammered by both running at the same time.
-
Giancarlo Razzolini authored
Added the borg tag again, since it's useful for running borg related tasks.
-
Giancarlo Razzolini authored
Removed tags from playbooks, since they are auto-generated and also synced the aur.archlinux.org playbook with aur-dev.archlinux.org one.
-
Giancarlo Razzolini authored
-
Giancarlo Razzolini authored
Added the server for the aur.archlinux.org migration. Used a CPX31 server, since AUR requires a bit more resources.
-
Giancarlo Razzolini authored
Added python-alembic to the package list and also running initdb.py for creating the tables when the database is created and alembic update when there's changes to the code.
-
Giancarlo Razzolini authored
Change the URL's of the aurweb project and the tu-bylaws project to point to gitlab instead of git.archlinux.org.
-
Giancarlo Razzolini authored
The wip/aur branch was not checked for linting issues. Some of them were fixed, but, particularly the git commands for setting the AUR repo, were skipped, because the git module does not necessarily cover all the needs. Might be worth taking a look about it on the future.
-
Giancarlo Razzolini authored
-
Giancarlo Razzolini authored
Since we are using Include, remove the sshd_config file.
-
Giancarlo Razzolini authored
Added support for the aurweb role to the new openssh include mechanism, that's baked into our sshd role.
-
Giancarlo Razzolini authored
Added the uwsgi_modifier1 option to nginx as described on [0] and also change the chmod option on the socket to allow nginx to connect to it. [0] https://gist.github.com/janoliver/85b682227bd9fcb8942885e60208bd76
-
Giancarlo Razzolini authored
Add the aur-dev changes to the aur playbook.
-
Giancarlo Razzolini authored
Add memcached to the playbook and also change the php extensions to use memcached. Removed the apcu options from defatuls and added memcached settings. Added the php-memcached packages to the list of needed packages and also remove the apcu tasks. Added the memcached systemd unit file and enable and start it from the tasks.
-
Giancarlo Razzolini authored
Since git is installed on a separate step, remove it from the main list.
-
Giancarlo Razzolini authored
The original aur playbook file was missing a lot of the roles that were added for the aur-dev playbook. Add them and renamed the file too.
-
Giancarlo Razzolini authored
Added a smartgit_socket option to the defaults. Reworked the tasks package installation to look cleaner and also separated the cgit and git package installations so we can trigger uwsgi reloads on updates. Changed the tubylaws repo update variable to trigger the bylaws changes only when the tubylaws repository change, not the aurweb one. Added tasks to install the apcu configuration, cgit uwsgi ini file, cgit rc file and smartgit uwsgi ini file. Trigger an uwsgi reload in case the cgit-aurweb or git packages change. Also added a few missing options to the aurweb configuration file. Rework the nginx configuration file to use the cgit and smartgit uwsgi services.
-
Giancarlo Razzolini authored
Use the cgit_socket variable on the uwsgi template for cgit.
-
Giancarlo Razzolini authored
Added the template for the cgitrc configuration file.
-
Giancarlo Razzolini authored
The user for the socket was set incorrectly, fixed it.
-
Giancarlo Razzolini authored
roles/aurweb: Add the apc configuration variables Added the apc to the php extensions on the playbook, instead of adding it on the conf.d directory. Added the apc variables to the defaults file.
-
Giancarlo Razzolini authored
Added the templates for the apcu.ini configuration for php and for the uwsgi config for cgit.
-
Giancarlo Razzolini authored
We need to use uwsgi for cgit hosting, so add the uwsgi role to the playbook.
-
Giancarlo Razzolini authored
Since the AUR has its own maintenance mode, there is no need for using the maintenance role, so it was removed. Added a check on the aurweb config file that checks for the maintenance variable and uses the variable for allowing the ip address of the person running the playbook to access the AUR.
-
Giancarlo Razzolini authored
Add a variable that takes the SSH_CLIENT environment variable to save the ip address of the machine actually running the playbooks. This can be used on maintenance mode to allow in the person running the playbook and let everybody else to see the maintenance page.
-
Giancarlo Razzolini authored
playboooks/aur-dev: Remove the intl php extension Added maintenance mode to the aurweb role using the AUR internal mode. Also, add the php-apcu-bc package to the list of required packages. Also running the make required to create the translations.
-
Giancarlo Razzolini authored
We have reworked the entire tasks file to do an actual AUR installation.
-