Charlie O'Keefe
150937df0f
Merge pull request #28 from charlieok/vm_provisioning_fixes
...
VM provisioning fixes
2018-04-17 21:00:52 -07:00
Charlie O'Keefe
84f957c7f7
Recommend four cores when provisioning VM
...
Ran into VM freezes when running with two cores.
2018-04-16 21:07:57 -07:00
Charlie O'Keefe
23659e1628
Remove redundant instruction
...
README.md already covered installing these packages earlier.
2018-04-16 21:05:13 -07:00
Charlie O'Keefe
e20cfe0782
Don't run local actions as root
...
commands using local_action were inheriting a global setting of "become: yes" and attempting to run using sudo. This resulted in password prompts that halted ansible execution.
2018-04-16 21:03:51 -07:00
Charlie O'Keefe
6e99c732e9
ignore errors on 'Check that the secret key exists' task
...
If the grep for gpg_key_id fails to match we will have an exit code of 1 which by
default will cause the task to fail. According to the README, using a gpg key is considered optional. So we don't want the build to halt in this case.
2018-04-12 14:19:22 -06:00
Charlie O'Keefe
90151b3471
Add --with-colons option
...
This option tells gpg to use a colon-separated output format intended for parsing
by scripts rather than reading by humans. From my experience it is also less likely
to truncate the key id we are grepping for here, which would cause the grep
command to miss the key id, even when it exists in the key database.
2018-04-12 14:10:36 -06:00
Charlie O'Keefe
1e696ce2be
Use 'shell' ansible module in place of 'command'
...
This is a compound command, piping the output of a call to gpg2 to the input of
a call to grep. This is the type of instruction that requires a shell to interpret, so use
the 'shell' module.
2018-04-12 14:04:42 -06:00
Charlie O'Keefe
c6123f5c1e
Merge pull request #22 from charlieok/ansible_tweaks
...
Ansible tweaks and additional README notes
2018-04-02 17:11:47 -06:00
Charlie O'Keefe
89587e715d
Add note about possibly truncated key id
2018-04-02 17:08:05 -06:00
Charlie O'Keefe
06603f00ee
Make formatting of argument descriptions consistent
2018-04-02 16:14:28 -06:00
Charlie O'Keefe
9f2006cc6e
Remove some detail from example output
...
some gpg2 versions don't include this portion in their output
2018-04-02 15:54:21 -06:00
Charlie O'Keefe
5122e37c73
markdown formatting fix
2018-04-02 15:50:14 -06:00
Charlie O'Keefe
f5bf9597f3
Combine two block quotes into one
2018-04-02 15:40:29 -06:00
Charlie O'Keefe
e8a38a261c
'quick-gen-key' works on more versions than 'quick-generate-key'
2018-04-02 15:39:27 -06:00
Charlie O'Keefe
d4a1ca5035
Update gnupg description
...
correct apt package name to gnupg2 and update note about gpg2 to make
clear that it is likely more relevant to non-apt scenarios.
2018-04-02 15:18:36 -06:00
Charlie O'Keefe
64949c3f9a
Remove extra 'is'
2018-04-02 12:08:26 -06:00
Charlie O'Keefe
495295459c
Call gpg2 for consistency (on some systems gpg will get version 1.x)
2018-04-01 07:45:23 -06:00
Marshall Gaucher
8444c7ef32
Fix for incorrect markdown render
...
Although the prior commit fixed the 'cosmetics / formatting' , the markdown rendering botched command for single and double quote params
2018-03-31 17:38:05 -06:00
Marshall Gaucher
023781285c
Another minor formatting update to README
2018-03-31 08:21:09 -06:00
Marshall Gaucher
e4816e6f7d
Cleanup minor formatting in README
2018-03-31 08:18:36 -06:00
Charlie O'Keefe
064a7f2b44
Add walkthrough for setting up ssh keys
2018-03-22 09:38:44 -06:00
Charlie O'Keefe
c79381aae2
Add walkthrough for setting up gpg keys
2018-03-22 09:38:15 -06:00
Charlie O'Keefe
2bd40ddd3c
Add note to README.md about making sure gpg2 is callable
2018-03-21 13:46:31 -06: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
e2b907ba54
Change 'always_run: yes' to 'check_mode: no'
...
Removes some deprecation warnings in ansible output
2018-03-21 11:39:34 -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
656382c7bb
Use ansible 'filesystem' module to resize filesystem
2018-03-21 11:39:34 -06:00
Charlie O'Keefe
970a0f1b9c
Add condition to partition resize task
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
Charlie O'Keefe
559153b676
Merge pull request #21 from charlieok/resize_disk_partition_filesystem
...
Resize disk partition filesystem
2018-03-21 11:34:16 -06:00
Charlie O'Keefe
9d13a595aa
Add steps to repartition disk and resize filesystem on partition
2018-03-20 09:49:16 -06:00
Charlie O'Keefe
1185acf8be
Use vagrant-disksize plugin to resize vm hard disk
2018-03-20 09:41:41 -06:00
str4d
6a5d631c4f
Merge pull request #11 from bitcartel/bitcartel-patch-1
...
Update main.yml to remove old signing key
2017-08-14 15:36:53 +02:00
bitcartel
0c27153b50
Update main.yml
...
Fix zcash-build error
2017-08-03 21:22:40 -07:00
Kevin Gallagher
97b7ea5339
Add link to access token setup and bump zcash_version
2017-04-27 14:36:07 -07:00
Kevin Gallagher
0458368089
Set default EDITOR to vim and set vimrc options
2017-03-08 15:19:59 -08: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 Gallagher
9f12f115ff
Updates zcash_version to v1.0.1
2016-11-03 23:55:36 -07:00
Kevin Gallagher
4a2f08ae89
Updates gitian-builder repository URL to official one
...
Our pull request relating to lxc-init has been merged so there is no need to
keep using the fork.
2016-10-25 16:56:32 -07: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
396899dcc3
Updates README w/ more detailed installation instructions
2016-10-18 20:41:43 -07:00
Kevin Gallagher
02f7f13439
Bumps allocated memory from 3072 to 3584
...
We have more memory available, so might as well use it.
Also lowers vm.swappiness from 10 to 1.
2016-10-18 00:57:58 -07:00
Kevin Gallagher
75f6f20caf
Reduces swap file size from 2GB to 1GB
...
Also intended to free up more storage space in the VM, as resizing the disk isn't easy.
2016-10-17 15:11:22 -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
76eb7a3272
Tweaks output and commit message in gitian-build.sh
...
We are not building signed Win/OSX binaries, so all our Gitian signatures are "unsigned".
2016-10-17 14:58:48 -07:00
Kevin Gallagher
0ac8f95c82
Updates README.md with some recommendations
2016-10-17 14:12:28 -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