Commit Graph

26 Commits

Author SHA1 Message Date
y4ssi 54cd8c21f7 Removed from the Gitian role (Ansible) the tasks related to reboot 2024-09-23 13:13:39 -06:00
sasha 179288c3df Add gitian-parallel-build.sh to main.yml so it gets copied into the VM 2022-10-17 12:41:27 -07:00
sasha 991baff2af Install apt-cacher-ng from bullseye-backports (it's more recent)
This likely fixes the HTTP error 502 problem (#147)
2022-07-28 15:29:22 -07:00
Charlie O'Keefe a76c528b35 Remove VMBuilder download/install tasks 2022-04-05 09:39:52 -06:00
Charlie O'Keefe c319e932aa python-cheetah -> python3-cheetah (package name update) 2022-04-05 09:39:52 -06:00
Charlie O'Keefe ffecfe158f Install ruamel.yaml 0.15.x (0.16.x hits errors on attempted install) 2021-09-21 21:44:34 -06:00
Charlie O'Keefe ee26cb5493 pin ruamel to version 0.16.11 (later versions need python3) 2021-04-09 14:55:22 -06:00
Charlie O'Keefe 06f006e42a Put explode_yaml_file.py in gitian_user's $HOME/bin 2019-06-19 13:28:06 -06:00
Charlie O'Keefe 5d3338c455 Add step to install ruamel.yaml python package 2019-06-19 08:45:59 -06:00
Charlie O'Keefe 6f90fb2e26 Remove container setup tasks from VM setup playbook
Looking at builds that will involve different, or multiple, containers.
Probably makes more sense to set up and tear down containers after VM is
built.
2019-06-19 08:09:09 -06:00
Charlie O'Keefe b583751baf Put braces around variable to dereference it 2019-06-15 13:14:45 -06:00
Charlie O'Keefe 0bcbad7db2 Add configuration parameter for gitian_builder_version 2019-06-15 13:08:52 -06:00
Charlie O'Keefe 70aa531f74 Remove 'become: no' from include_tasks
Newer ansible version seems to have a problem with this
2019-06-12 22:25:44 -06:00
Charlie O'Keefe 475202bc7b Pass lists to apt module instead of looping
Removes deprecation warnings
2019-04-17 08:48:57 -06:00
Charlie O'Keefe 60c6dea291 Install lxc from standard apt repository rather than backports 2019-03-24 18:48:07 -06:00
Charlie O'Keefe 038ea71dc4 Remove ssh-key-copying tasks, ssh_key_name config
Preferring ssh-agent forwarding to copying user's ssh keys.

As a bonus, ansible tasks don't need to know or care about the name or
path of the user's ssh private key file, and the configuration is
simplified.
2019-02-14 15:43:45 -07:00
Charlie O'Keefe 450ab9c789 Double-quote git name
It failed on my name so this is intended to fix that
2019-02-13 20:33:40 -07:00
Charlie O'Keefe efb1f0acb2 Use apt module to run apt-get commands
Removes some warning messages from ansible output
2018-03-21 13:46:31 -06:00
Charlie O'Keefe 1359bb01e2 Change 'include' to 'include_tasks'
Removes some deprecation warnings in ansible output
2018-03-21 11:39:34 -06:00
Charlie O'Keefe e3ec525ae2 Use parted ansible module for partition removal
Tasks using this module should be more immutable rather than failing
when these partitions have already been removed.

Also remove parted from dependencies in gitian section

since it is required earlier in the 'common' section
2018-03-21 11:39:34 -06:00
Kevin Gallagher 48a5cc9b9c Adds Lintian to installed apt packages 2017-02-12 15:54:52 -08:00
Kevin Gallagher d0ca504c06 Fix unarchive task in Gitian role
As of Ansible 2.2.0, copy and remote_src are mutually exclusive.
Also adds IdentitiesOnly=yes to SSH options.
2016-12-08 11:19:41 -08:00
Kevin M. Gallagher 00e9d9d76f Import Zcash developer public keys
* Changes method for setting trust level of GPG keys
* Import keys but don't use Ansible git verify_commit
Per an upstream Ansible bug, verifying signed tags is not supported yet.
Also removes non-working scp.sh script.
Updates README to explain how to run gverify.
Changes zcash_version to v1.0.0-rc2
2016-10-22 16:44:26 -07:00
Kevin Gallagher 77d43abbe7 Clean the apt cache at the end of provisioning
The VirtualBox VM is running tight on available space with nearly 100% usage.
This frees things up a bit by cleaning the apt cache after Gitian installation.
2016-10-17 15:07:39 -07:00
Kevin Gallagher 191f52ed3e Update git tasks, vars, task descriptions + README
Don't use depth: 1 or ignore_errors in git tasks.
Commit history is nice, and since you can't do most things without the
repositories, we should fail closed upon errors.
Creates variable for 'gitian_builder_url', so we can switch out @ageis's fork
with the official @devrandom repo once a pending pull request is merged.
Changes default zcash_version to 'master' in defaults/main.yml.
2016-10-16 23:08:43 -07:00
Kevin Gallagher 4c20410fd8 Initial commit 2016-10-16 18:50:37 -07:00