Commit Graph

74 Commits

Author SHA1 Message Date
Yasser Isa f316951fc3
Bookworm release + Github Action CI (#153)
* Bookworm release + GithubAction CI
---------

Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-02-19 17:12:44 -07:00
Yasser Isa 00d2c557dd
Ansible cleanup (#152)
* Update keys.yml
* simplifying ansible
2024-01-22 21:05:23 -07:00
Yasser Isa Manzur a031f566fa Removed from the Gitian role (Ansible) the tasks related to reboot 2022-10-19 17:59:31 -07: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 8bfbe4a4f1 Make gitian-parallel-build.sh use the new gitian descriptor
Also, automatically calculate decent values for the `proc` / `mem`
arguments of gbuild
2022-10-17 12:41:27 -07:00
sasha 09c243bad1 Copy over gitian-build.sh to gitian-parallel-build.sh 2022-10-13 16:37:40 -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
sasha a31e3d049b add "--fetch-tags" to work with gitian PR #245 2022-04-07 22:13:12 -06:00
Charlie O'Keefe 9d97146c15 Remove repartition tasks 2022-04-05 09:43:16 -06: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 9b448177a4 python-pip -> python3-pip (package name update) 2022-04-05 09:39:52 -06:00
Charlie O'Keefe 3c82cdb592 python -> python3 in explode_yaml_file.py 2022-04-05 09:39:52 -06:00
Charlie O'Keefe 207519bd69 Make gitian builder repo and branch more configurable 2022-03-18 17:09:53 -06:00
Charlie O'Keefe 7616404725 Remove simon from zcash_developer_pubkeys list 2022-02-24 13:22:20 -07: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 b57be1f0bf Remove 'perform aptitude safe-upgrade' task
This task ran into errors on debian 10
2021-04-09 14:56:47 -06:00
Charlie O'Keefe 435051b271 Add parens to print statement (for later transition to python3) 2021-04-09 14:55:57 -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 a51476f2ce Remove unimplemented 'sign' option.
From the initial commit in this project, this script has included a last
step driven by the '--sign' option, which may have been a placeholder
for some intended feature that as far as I can tell hasn't been
implemented at any point in the project's history.
2019-07-01 13:26:35 -06:00
Charlie O'Keefe 2130e250d9 Add ${suite} to output message in script 2019-07-01 12:59:41 -06:00
Charlie O'Keefe 46f9744068 Move "commit signatures" step inside loop through suites
This step should be run for each suite. Since it was not inside a loop
over the list of suites, it was only running for the last suite in the
list.
2019-07-01 11:26:06 -06:00
Charlie O'Keefe e96aff9731 Address review comments
- Changed some tabs to spaces
- Included ${suite} in the output message
2019-07-01 11:16:15 -06:00
Charlie O'Keefe 8f97baab45 Use updated (version_suite) release name when commiting to gitian.sigs 2019-07-01 08:42:38 -06:00
Charlie O'Keefe 34e7b6519c Clear cache directory at start of build 2019-07-01 01:53:58 -06:00
Charlie O'Keefe ec6ba5f75e Move 'build dependencies' steps inside suites loop 2019-07-01 01:53:58 -06:00
Charlie O'Keefe e38523c053 Preserve order of suites (debian releases) listed in gitian descriptor 2019-06-26 22:39:32 +02:00
Charlie O'Keefe 0b7921250f Extract gitian_descriptor_path variable 2019-06-26 22:35:42 +02:00
Charlie O'Keefe 583e517dc4 Add suite name to 'release' name used by gitian for signing/verifying
Change 'release' name from ${VERSION} to ${VERSION}_${SUITE}
2019-06-19 13:35:20 -06:00
Charlie O'Keefe 143bf6e35a Build separately for each suite 2019-06-19 13:34:49 -06:00
Charlie O'Keefe c5a2132e57 Add build_dir_path variable to gitian-build.sh 2019-06-19 13:34:04 -06:00
Charlie O'Keefe 13e090d6aa Add gitian_sigs_repo_path variable to gitian-build.sh 2019-06-19 13:28:06 -06:00
Charlie O'Keefe aeb6b8a9e4 Add gitian_builder_repo_path variable to gitian-build.sh 2019-06-19 13:28:06 -06:00
Charlie O'Keefe d21d38b184 Add zcash_binaries_dir_path variable to gitian-build.sh 2019-06-19 13:28:06 -06:00
Charlie O'Keefe 09d57adc24 Add zcash_repo_dir_path variable to gitian-build.sh 2019-06-19 13:28:06 -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 4c24a38962 Add explode_yaml_file.py script 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 04342ecebb Fix indentation 2019-06-19 08:45:43 -06:00
Charlie O'Keefe 137c560333 Don't set SUITE in /home/vagrant/.profile 2019-06-19 08:45:24 -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 252475f2c9 Drop gpg2 in favor of gpg 2019-03-27 00:09:31 -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 0ce6182f9e Update zcash-build vm debian release from jessie to stretch 2019-03-24 18:46:37 -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 7491699409 Don't override GNUPGHOME
A user may have set GNUPGHOME to a location other than
$HOME/.gnupg and if they have, we should let gpg use that location.
gpg already defaults to $HOME/.gnupg if GNUPGHOME isn't set.
2019-02-13 21:38:14 -07:00