f33a90587f
Merge branch 'upstream'
2015-11-19 11:22:48 +00:00
Jonathan Boulle
fa0178cd47
Merge pull request #400 from sethp/coreos-cloudinit/gzip-magic
...
gzip autodetection
2015-11-11 13:49:14 -08:00
Seth Pellegrino
86909e5bcb
test: added coreos-cloudinit_test to test script
...
Include the root project directory in packages
to be built/tested.
2015-11-11 08:06:36 -08:00
668f322607
Merge branch 'upstream'
2015-11-09 08:15:44 +00:00
Michael Marineau
bf743b3060
main: default to GOMAXPROCS=1
2015-09-30 17:23:40 -07:00
Alex Crawford
d675638776
datasource: add vmware
2015-09-01 15:36:35 -07:00
Alex Crawford
56a80d84cf
build: extract the version number from git
...
Update the tests as well.
2015-08-12 11:05:04 -07:00
0bc1edbd9d
Merge branch 'master' into generic
2015-03-26 10:30:02 +03:00
993af2705a
up
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-03-26 10:23:27 +03:00
Alex Crawford
47ac4f6931
test: add directory support to MockFilesystem
2015-02-17 13:27:30 -08:00
Alex Crawford
9441586229
test: check all root golang files
2015-01-26 15:57:54 -08:00
Alex Crawford
055a3c339a
config/validate: add new config validator
...
This validator is still experimental and is going to need new rules in the
future. This lays out the general framework.
2014-11-12 16:48:57 -08:00
Alex Crawford
c9e8c887b8
test: run go vet
2014-10-23 11:46:40 -07:00
Alex Crawford
84e1cb3242
datasource/waagent: add support for WAAgent metadata
2014-10-11 09:19:47 -07:00
Alex Crawford
667dbd8fb7
update: refactor config
...
- Explicitly specify all of the valid options for Update
- Seperate the config from File() and Units()
- Add YAML tags for the fields
2014-09-23 17:57:43 -07:00
Alex Crawford
3abd6b2225
digitalocean: Add DigitalOcean metadata service
...
Move debian-related processing into its own file.
2014-09-01 16:53:15 -07:00
Alex Crawford
a923161f4a
metadata: Refactor common parts out of ec2
2014-08-26 12:02:56 -07:00
Alex Crawford
e90fe3eba8
test: Add gofmt to test
2014-08-25 12:48:52 -07:00
Alex Crawford
ecbe81f103
test: Enable tests for CloudSigma datasource
2014-08-24 17:08:49 -07:00
Alex Crawford
d68ae84b37
metadata: Refactor metadata service into ec2 metadata
...
Added more testing.
2014-08-05 17:19:43 -07:00
Alex Crawford
8566a2c118
datasource: Move datasources into their own packages.
2014-08-04 15:10:07 -07:00
Jonathan Boulle
1aabacc769
cloudinit: merge cloudconfig info from user-data and meta-data
...
This attempts to retrieve cloudconfigs from two sources: the meta-data
service, and the user-data service. If only one cloudconfig is found,
that is applied to the system. If both services return a cloudconfig,
the two are merged into a single cloudconfig which is then applied to
the system.
Only a subset of parameters are merged (because the meta-data service
currently only partially populates a cloudconfig). In the event of any
conflicts, parameters in the user-data cloudconfig take precedence over
those in the meta-data cloudconfig.
2014-06-27 23:48:48 -07:00
Alex Crawford
856061b445
test(interfaces): Add tests for network conversion
...
These tests should be an exhaustive set of tests for the parsing
of Debian interface files and generation of equivilent networkd
config files.
2014-06-02 15:31:27 -07:00
Camilo Aguilar
8ca3c2ed1f
style(httpbackoff -> pkg): Adjusts package name to follow convention
2014-05-22 14:37:19 -04:00
Camilo Aguilar
2cedebb4eb
style(util->httpbackoff): Changes package as per @philips suggestion
2014-05-21 21:12:16 -04:00
Camilo Aguilar
3e00a37ef5
feat(util/http_client): Adds generic HTTP client
...
Supports retries with exponential backoff as well as connection
timeouts and the ability to skip SSL/TLS verification.
This commit also refactors datasource and initialize packages
in order to use the new HTTP client.
2014-05-21 13:31:50 -04:00
Jonathan Boulle
6939fc2ddc
feat(tests): add cover script
2014-05-10 01:42:57 -07:00
Brian Waldon
3de3d2c050
feat(proc-cmdline): Parse /proc/cmdline for cloud-config-url
...
If the --from-proc-cmdline flag is given to coreos-cloudinit, the local
/proc/cmdline file will be parsed for a cloud-config-url
2014-04-22 16:38:01 -07:00
Brian Waldon
d2dabee0c6
refactor(*): Break apart packages
2014-03-18 09:14:11 -07:00
Brian Waldon
ce80934897
feat(test): Add unittest runner
2014-03-04 16:50:54 -08:00