Jonathan Gold
3634b3450d
resource: aws: ec2: Move waitgroup to resource struct
2017-11-08 16:57:41 -05:00
Jonathan Gold
c2a5e3f5d8
resources: aws: ec2: Move watch channels into struct
2017-11-08 16:16:01 -05:00
Jonathan Gold
db49fe85e4
resources: aws: ec2: Move chanStruct type out of longpollWatch
2017-11-08 16:08:25 -05:00
Jonathan Gold
567a2e9fd8
resources: aws: ec2: Reorganized consts
2017-11-08 16:02:29 -05:00
Jonathan Gold
987de00e17
resources: aws: ec2: Remove extra wait from Watch
...
There were two calls to WaitUntilInstanceTerminatedWithContext in a row.
There's no reason to make the call twice.
2017-11-08 16:02:24 -05:00
Jonathan Gold
baeafec74a
resources: aws: ec2: Move Watch to longpollWatch
2017-11-08 16:02:12 -05:00
James Shubin
9cfa0b14d4
yamlgraph: Improve error output
...
This makes it easier to know what's missing.
2017-11-02 09:13:27 -04:00
James Shubin
948ded6792
github: This event is over
...
And it wasn't successful at all.
2017-11-01 07:07:14 -04:00
James Shubin
3c69619fd9
github: Add new label for design discussions and trackers
...
Open ideas related to designs can be tracked here. We've already got a
few such tickets open.
2017-11-01 07:04:32 -04:00
Jonathan Gold
e7c4bc7f47
resources: Add UserData field to AwsEc2
...
UserData specifies first-launch bash and cloud-init commands. See
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
for documentation and examples.
2017-10-30 00:22:30 -04:00
Jonathan Gold
277ecc901b
etcd: Plumbed in the new cli flags for advertise urls
2017-10-29 17:16:51 -04:00
Jonathan Gold
0f70c31a30
etcd: Add advertise urls to cli
...
This patch adds the option to specify URLs to advertise for clients and peers.
This will facilitate etcd communication through nat, where we want to listen
on a local IP, but expose a public IP to clients/peers.
2017-10-28 22:42:27 -04:00
James Shubin
9a97a92e31
github: Use third-party settings app to sync github settings
...
Let's give this a try. One downside is that giving anyone push access
gives them ability to rename repo and do other bad admin type things.
2017-10-26 05:04:41 -04:00
James Shubin
f9d452ad2c
examples: Add longpoll server and client
...
This is an example of a race-free long-poll server and client. It uses a
redirection method to signal that the "Watch" is running.
Other race-free methods exist.
2017-10-24 04:20:19 -04:00
Jonathan Gold
9907c12eda
resources: Enhancements to user and group
...
This patch adds autoedges between users and groups, and extends
users with additional fields for supplementary groups and a named
primary group. Also, some small fixes to log and error messages.
0.0.13
2017-10-23 19:18:52 -04:00
Jonathan Gold
19533a32b5
resources: Add a group resource
2017-10-21 01:28:22 -04:00
Jonathan Gold
c5a5004f9e
resources: Fix user gid compare
2017-10-19 06:58:31 -04:00
Jonathan Gold
677cdea99d
resources: Improve nspawn resource
2017-10-17 19:23:04 -04:00
Jonathan Gold
4d7c0ddbce
resources: Add an Aws resource
2017-10-09 04:05:13 -04:00
James Shubin
81daf10157
test: Fix linter issues
...
These are some linter issues that were found in a new version of the
linter. Let's fix them now before that linter hits our test suite.
2017-09-26 19:38:53 -04:00
James Shubin
b3ef4e41bf
test: Use stable version of gometalinter
...
Hopefully this prevents the various breakages seen in our lint test.
2017-09-26 19:08:43 -04:00
James Shubin
9fbf149717
etcd: Bump to newer versions
2017-09-19 18:21:15 -04:00
James Shubin
95cb94a039
vendor: Add codec package because of breakage
...
Recent git master 54210f4e076c57f351166f0ed60e67d3fca57a36 of
github.com/ugorji/go broke the builds. See:
https://github.com/coreos/etcd/issues/8579
2017-09-19 18:21:15 -04:00
Juan Luis de Sousa-Valadas Castaño
21f7f87716
resources: Refresh packagekit cache before install
...
Fixes #80
2017-09-17 22:29:15 +02:00
Jonathan Gold
831c7e2c32
resources: Add user resource
2017-09-17 01:04:36 -04:00
James Shubin
cc0d04c8b7
git: Ignore .envrc file from direnv
...
Some find this useful for setting a custom GOPATH per project.
2017-09-15 16:17:40 -04:00
James Shubin
46be83f8f7
legal: Re-license to GPLv3
2017-09-11 18:07:47 -04:00
James Shubin
28560e2045
resources: Fix formatting
2017-09-11 18:06:34 -04:00
James Shubin
0df4824a56
test: Increase timeouts for slow travis
...
Should prevent more intermittent failures.
2017-09-09 15:31:06 -04:00
James Shubin
dbcabc6517
github: Improve the PR template
2017-09-09 15:03:53 -04:00
Jonathan Gold
69f479b67e
virt: Allow more than 26 disks
2017-09-08 02:15:40 +00:00
James Shubin
af75696018
github: Add a PR template to help new users
...
Hopefully this addresses the most common things.
2017-09-07 16:14:11 -04:00
Arthur Mello
80b8f8740f
virt: Added support for ~user into expandHome
...
- Enabled expandHome to expand both ~/ and ~username/ paths
- Added some unit tests for expandHome
2017-09-06 14:59:08 -04:00
James Shubin
71ab325940
yaml2: Meta should keep defaults, and Res should have kind
...
This would previously panic since it wouldn't get a kind, and the meta
parameters would overwrite the defaults so it would block because limit
didn't have the default of +inf.
The removal of the SetKind was my fault in:
b8ff6938df
It's funny because it ends in `bad`. Guess I should have checked that!
2017-09-06 13:44:21 -04:00
James Shubin
653c76709a
test: Fix another intermittent failure
...
Some of the tests had very precise timeouts, which weren't very
important. Here's another one that timed out early.
2017-09-04 16:39:01 -04:00
Juan Luis de Sousa-Valadas Castaño
83cc1bab38
vagrant: Fix PATH
...
gometalinter failed because it's not in $PATH
2017-09-04 22:08:59 +02:00
James Shubin
6c8588c019
test: Increase timeouts because travis is slow
...
Should hopefully prevent some intermittent failures.
2017-09-04 13:02:05 -04:00
Ismael Puerto
5b00ed2fb2
vagrant: Change box to F26
...
F26 provides GO 1.8
2017-09-01 22:21:39 +02:00
Juan-Luis de Sousa-Valadas Castaño
9f66962bfb
docs: Change go required version to 1.8
2017-08-31 23:56:16 +02:00
James Shubin
0edba74091
etcd: Bump to version 3.2.6 and update all the grpc deps
...
Note: When go-grpc-prometheus was in the main $gopath (even at this
version) and everyone else was where they always were in vendor/ this
didn't build! It gave errors like:
have SendHeader("github.com/purpleidea/mgmt/vendor/google.golang.org/grpc/metadata".MD) error
want SendHeader("google.golang.org/grpc/metadata".MD) error
and I got frustrated. Putting it "next" to the other vendored deps seems
to have fixed this. Where are the golang docs that explain this
phenomenon?
This also requires golang 1.8+ as that is a requirement for etcd. It's
probably a reasonable thing for us too.
Note the older versions of etcd had some bugs with the concurrency
package and other things, so this is a necessary bump.
2017-08-30 14:16:02 -04:00
Dennis Kliban
1003b49dd9
resources: Add validation for Msg Priority field
...
This adds validation that ensures that Msg Priority field is one of the following values:
"Emerg", "Alert", "Crit", "Err", "Warning", "Notice", "Info", "Debug".
2017-08-20 12:37:39 +00:00
James Shubin
884ba54f96
resources: Include default MetaParams so Validate will pass in tests
2017-08-18 19:52:02 -04:00
Dennis Kliban
cf2325a2da
vagrant: Increase amount of RAM allocated to boxes backed by libvirt
2017-08-07 13:55:21 -04:00
AdnanLFC
db6972638d
pgraph: test: Added tests for DeleteEdge
2017-07-28 02:02:22 +02:00
James Shubin
74e04e81d5
travis: Update to golang 1.8 as the default
...
Since the release of Fedora 26 with golang 1.8.1, this is a fine
default.
2017-07-19 12:15:54 -04:00
James Shubin
7c5d7365c7
readme: Add new recording
2017-06-29 13:14:25 -04:00
James Shubin
0dadf3d78a
resources: Add NewNamedResource helper
...
This makes the common pattern of NewResource, SetName, easier. It also
makes it less likely for you to forget to use SetName.
2017-06-17 18:09:49 -04:00
James Shubin
e341256627
resources: Add a utility to map from struct fields
...
For GAPI front ends that want to know what fields they can use and which
they map to, these two functions can be used.
2017-06-17 11:49:30 -04:00
James Shubin
5a3bd3ca67
hcl: Consistent formatting
...
Nit picks.
2017-06-16 23:01:46 -04:00
ChrisMcKenzie
8102e0a468
hcl: Added hil string interpolation to hcl frontend
2017-06-15 22:53:55 -07:00