Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/LeanerCloud/AutoSpotting

Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.
https://github.com/LeanerCloud/AutoSpotting

Merge branch 'master' into tests_for_spot_instance_request

c53ff774f10b2d0ae12c1cff441cde657ddd4aba authored about 8 years ago
Merge branch 'master' into test_mock_aws

7e518d7518e720f00ade0b04f5ee5afddef6ae63 authored about 8 years ago
Add test for spot_price.go

b053f3b7006be01fbc605be9446e645846ef1110 authored about 8 years ago
Merge pull request #80 from artemnikitin/master

Update for launch_configuration_test.go

92c86ae90a24e6a5c8b572f86581e04834c8997b authored about 8 years ago
Merge branch 'master' into tests_for_spot_instance_request

4085d331efb2c8a4bc3b8670343b79a0b93ffe17 authored about 8 years ago
Add tests for spot_instance_request.go

9e1162584cc72eb66faa2bd83626cde5f1699727 authored about 8 years ago
Add tests for launch_configuration.go

98b31fcb304adac429c8abfb61ef5879e274a1d9 authored about 8 years ago
instance: miss that in the previous patch

The previous patch has missed this piece, which fixes the flag for
boolean vs string.

bcb66046c7dcc1eebb601744e2663cffc188524b authored about 8 years ago
instance: fix fmt and printf flags

The printf flags were incorrectly set for the type of variables being
displayed, in order to hav...

9e384cf239371d6fe5998164c1a841d18b9f2fd1 authored about 8 years ago
instance: add tests to almost all new functions

Tests have been added to all newly created function to have a proper
coverage for this file. How...

6cae40237dff5ec7ddece06ffe82c48c77c9c5e3 authored about 8 years ago
instance: fix issue with chosing the instance

The return type has been changed from *string to string, not only
because that solves the issue,...

e350f4c3c9d9e4cc65a0348b48f5b152f405703a authored about 8 years ago
instance: fix typos and comments

The functions name were not all similar or had typos 'comaptible' vs
'compatible', comment got f...

cbbcbdd06fe2e2d7e731748f72b81384829c409a authored about 8 years ago
instance: fix some debug & type errors

Some error was done with typing pointer/nil/division by 0, etc.
The logic seems to be good, but ...

e481af9f8a45ab7a5bd54e051b452a4408def40f authored about 8 years ago
instance: improve the replacement logic

The comment previously made in
https://github.com/cristim/autospotting/pull/46 have been taken i...

6538e3cd7a39dbfdbeb860fb69fbdeb0a01ece90 authored about 8 years ago
Merge pull request #77 from artemnikitin/master

Fix several linter issues

3f23c276c377243027ad96d70b72d4c705d5ef21 authored about 8 years ago
Simplify boolean checking

1140132397b94740b14448bc58f96047d2821e9c authored about 8 years ago
Fix several linter issues

04aa6fca22bc4b3ed91e73eb68548f8e3e5db667 authored about 8 years ago
Merge pull request #76 from cristim/fix-copying-block-device-mappings

Fix copying of block device mappings

726bb8e44317555d9f84e81e236dcc4a59438ef0 authored about 8 years ago
Fix copying of block device mappings

This fixes #75, and adds a bunch of tests for the function that copies
block device mappings.

5feb9b4aea1843c2ac13495e47977b8a05d7c25e authored about 8 years ago
Merge pull request #74 from cristim/terraform

terraform: add file and module for terraform integration

06edd9ee073ba094e9faa4aeb93626ac54afba52 authored about 8 years ago
terraform: add file and module for terraform integration

With these additions, autospotting can now be created via cloudformation
& terraform. Terraform ...

ab15a2ef619a7a348b2e31cbc60581460dd58f21 authored about 8 years ago
Merge pull request #73 from thebigjc/master

Uses a RWMutex to lock access to the instances catalog

69df46550828062af5ee78e1c7255b1a591d38a2 authored about 8 years ago
make sure the map is there, and handle missing spots

56eb975e437df0b4d892a13a00eb0cd5e6e091c5 authored about 8 years ago
Sloppy change

0e1be40311ce75c236f71179fbb775239aa75dfb authored about 8 years ago
Format

95b922b1f674af6bcfb56291a85dc84911cfc626 authored about 8 years ago
Locking around instance catalog

d365e858af4666cb2b343cca3522e59c43b51d0b authored about 8 years ago
Add locking around the instances catalog

6c0905ef2b33131b07143d548285b72495e155d4 authored about 8 years ago
Merge pull request #71 from cristim/add-makefile

makefile: re-implementing logic into the Makefile

ec18764f96e51a81f29f56972905c416b5c77d43 authored about 8 years ago
makefile: re-implementing logic into the Makefile

To avoid having scripts and Makefile, the logic has been re-implemented
at the Makefile level, t...

4e701f8a9f60bca11c18b1bffc8ae25428403dca authored about 8 years ago
Merge pull request #70 from cristim/goreport

Add a Go Report badge and fix some trivial issues.

bde5e2f717f356e83a918feb6e069af5b8d9a1d6 authored about 8 years ago
Merge branch 'master' into goreport

9b95755cc6c984f521b916e4f72f856767c91975 authored about 8 years ago
Run the code through 'gofmt -s -w', as reported by Go Report Card

4765c04905ff98e107d9008ad098022704d211f4 authored about 8 years ago
Add goreportcard Github badge

d038f24bb3247afcfcd229b242697743593ec865 authored about 8 years ago
Merge pull request #68 from cristim/codeclimate-fixes

Codeclimate fixes

b1b3fe818e674fdc3918318bf6d3d7056eeaa2c5 authored about 8 years ago
Merge branch 'master' into codeclimate-fixes

5175a448f19deb47bd25a9bcefdb65debd84fa09 authored about 8 years ago
Merge pull request #69 from cristim/changelog-update

Changelog update.

f8760a18cea962702378fc4e17a4589e376eb616 authored about 8 years ago
README cleanups.

c08f77e78f4d3e59bba4be143a511c8fd8647761 authored about 8 years ago
Changelog update.

db9449de4c1119466dead425b4d0cb95a9e05470 authored about 8 years ago
Update setup instructions for local execution.

d97402042a20c9fd97fe6658f2edcdf8d3787c0f authored about 8 years ago
golint: error string capitalization fixes

b4cd54c78f7d17fc64f36a54699e4c869c06820e authored about 8 years ago
README: Markdownlint fixes

0c3d1aa4f81bcfc1ac21f689b3dd708387970b9f authored about 8 years ago
Merge pull request #65 from cristim/readme-updates

README updates

5cdb42e38dff57a8800b1c4adf57fcf26d85e0b0 authored about 8 years ago
README updates

e501e5ade087d4f514379e77bbf066cbcc139154 authored about 8 years ago
Merge pull request #63 from cristim/coding-style-fixes

Coding style fixes for issues reported by golint and go tool vet.

2ba837925b28ce0f6a01b4b2a9d673d6ff73bff5 authored about 8 years ago
Apply some go tool vet and golint fixes.

8ba71ad954f84059f6cf59724e0fb30f3946d2f9 authored about 8 years ago
Merge pull request #64 from cristim/binary-versioning-fix

Fix versioning of binaries, missing since build 108 due to a regression

04a4b4808a14581b7efd7f664b365e5e6b61e734 authored about 8 years ago
Fix versioning of binaries, missing since build 108 due to a regression

3ab856359584a35b665de73e3f70f16b4325fc31 authored about 8 years ago
Merge pull request #58 from cristim/configurable-from-lambda

Make the function configurable from CloudFormation, fixes #57

3e46e79d7918ff8a2f76962d64b74005a9ab4db9 authored about 8 years ago
Configurable via CloudFormation using Lambda env vars, fixes #57

- Switch to github.com/namsral/flag for command-line flags, which gives
env vars support out o...

b404b6e2637d3c11709e7ce0ca6e6e7ab61840bd authored about 8 years ago
fix corrupt generated_bindata.go

5b10c30d22ecd4a70a58b77ada750fa705f728e3 authored about 8 years ago
[WIP] Make function configurable via CloudFormation using CloudWatch Event input, fixes #57

acc037dc61fdc48938872617805af3c4abe2fb13 authored about 8 years ago
Avoid panic due to missing logger, the error value can be logged from outside this code

5a8116e625c8a740adae02737cf6ed6f563b535f authored about 8 years ago
Re-format CloudFormation template code, add data to the CloudWatch Events

d26af748ee263e92e51c0eaeaef0a19c77112fbc authored about 8 years ago
Remove possible data corruption when downloading static instance data

c646717a5bfc55ce2802a193efc4fb28dbebe765 authored about 8 years ago
Merge pull request #56 from xlr-8/conf-algo-doc

doc: fixing tag names and adding documentation

5faf9b9f881100f4af3a85a0dcffd858618c5a77 authored about 8 years ago
Merge branch 'master' into conf-algo-doc

f202216dad78cef5a4e1abfbe59b8317182fabaa authored about 8 years ago
Merge pull request #55 from cristim/london-region

Add support for the new eu-west-2(London) region, fixes #53

0772f6496d62a12717c899d80ebef2cb97eca496 authored about 8 years ago
doc: fixing tag names and adding documentation

The on-demand values configuration is now available but was missing
some documentation/explanati...

3e69c6648fbd4ad01ccd75b159d46c4a1d46753d authored about 8 years ago
Merge branch 'master' into london-region

811f055d9787dd8ac39fd62ff79e4b9369e93395 authored about 8 years ago
Merge pull request #54 from xlr-8/conf-algo

algo: Making the minimum on-demand value configurable

dda01eba0ef1a7d0109528443dc573813318337b authored about 8 years ago
Add support for the new eu-west-2(London) region, fixes #53

4706f7138c458c2f92056bdde60707fbe1b99103 authored about 8 years ago
tests: adding mock to the terminate call

According to
https://github.com/aws/aws-sdk-go/blob/master/service/ec2/ec2iface/interface.go
thi...

b79de7ef9d011040edc3a2c7c270772dd0724e62 authored about 8 years ago
tests: adding testing for new methods of the configurable algorithm

Almost all new methods have been covered up to one exception due to the
need of mocking ec2 call...

67a865add236253839805bace3803566f7338b1b authored about 8 years ago
autoscaling.go: Simplifying code, renaming global variables

In order to be able to use variables during tests, they need to be
exported. Some code has been ...

33392913c013537c91c7a08d9d84f60591448c13 authored about 8 years ago
autoscalling.go: Fixing wrongfully removed casting into float64

The instanceNumber variable was casted as float64 for the math method,
but was wrongfully remove...

6020206ea2275156e2aa34db325bb5ac4bc051e7 authored about 8 years ago
autoscaling.go: Reduce code complexity to improve reading

Couple methods were complex for no reasons as they could be simplified by
exiting once the error...

cf93d5a3cd84f72f8f3ed776e68480b0252eb382 authored about 8 years ago
algo: Making the minimum on-demand value configurable

The configuration regarding the minimum instance number can be
configured from the CLI as well a...

c0b2741f58ffd9e4139a2b4eaefabc12a53faeab authored about 8 years ago
Fix TravisCI build

df2e3038313bda2c4e404292e3dbc91a230da1e6 authored about 8 years ago
Update instance type and regional coverage.

- update cost information across the board after the latest price drops
- support latest instanc...

59b369a28c2cb743b3aea5750066923161ce73f3 authored about 8 years ago
Extract build details out of the Makefile into a build helper script.

7f2e2cacb457ded9352495ee7ca770d693405b2f authored about 8 years ago
Merge pull request #46 from cristim/autoscaling.go-refactoring

Merging this, it's been waiting for too long.

d51b65b01f71f152981388a44e7cab33c742d0a5 authored about 8 years ago
Merge pull request #51 from xlr-8/master

cloudformation: add autoscaling:DescribeTags right to template

912aba723a881da994f1c0f2fbb0b2d16ce38773 authored about 8 years ago
cloudformation: add autoscaling:DescribeTags right to template

The IAM role used by the lambda function needed to be updated in order
to get the ASG tags. It c...

1387fc1577b9976c9245d6ab36785de6e44dab32 authored about 8 years ago
Big refactoring

Try to split the messy autoscaling.go into more manageable components
that could be easier teste...

08be3ce7e1bd80f312baf66e522bb12397bdbd9d authored about 8 years ago
Use debug instead of fmt for logging

1c1b57b8992a908f2d79da1b0766654084dcf592 authored about 8 years ago
ignore test result coverage

1c494d61ac4973f9740743d723c9263c65926c8c authored about 8 years ago
go fmt generated_bindata.go

c14c0d3211e223e5ce3548fd66542dfded072b91 authored about 8 years ago
Fix logging of enabled regions

95a8034474ce6e8292d5c271becc226f0e2cb1d6 authored about 8 years ago
Merge pull request #39 from jwineinger/paginated-asg-calls

Use DescribeTagsPages and DescribeAutoScalingGroupsPages instead of the non-paginated versions

2182f2dd9eb1b75f48db46fc8c930c92431bb0fd authored about 8 years ago
Use DescribeTagsPages and DescribeAutoScalingGroupsPages instead of the non-paginated versions

a5e0f8cd182c6edf2324f5fb116990e882f9eba1 authored about 8 years ago
Remove the autoscaling.hasInstance function, no longer needed

919fbfa6d2bf6e1a4be3e1e30c29fc9f520dca7c authored about 8 years ago
Moved filterInstanceTags into instance.go

a7bffc3f64b548fddedb727d94ec7294353d6929 authored about 8 years ago
Support running against a selected set of AWS regions when executed locally

a74150e91ed72ed20c07aa083d8f193749219cfa authored about 8 years ago
Better logging when skipping recently terminated spot instances

f3e259f02a816d0371c007a881bcd1c72ba31ab0 authored about 8 years ago
Fixed NPE in case there are no available on-demand instances to be replaced

cdbd7137061513d90d3bbcc9385a82e677901a7b authored about 8 years ago
Start the big refactoring

- Started to split autoscaling.go in more manageable pieces.
- Slightly cleaner instance handlin...

d1d30fb4d0c18d0f83a742fd4736fb299d95c08b authored about 8 years ago
Move fetching of spot price information to spot_price.go

9b7ecf04bec84f85244d22f7a205b517f9666705 authored about 8 years ago
Lint fixes for Markdown files.

9d766b4c50e2c96341c247f90df103863abbd4f4 authored about 8 years ago
Find ASGs by DescribeTags first since DescribeAutoScalingGroups is paginated

4ab2dcb85026ae313f5c486003ef98deb346cc67 authored about 8 years ago
Check in generated bindata source file to enable compilation using go get

562139c35f6693a4d6fdf8d2626528f4114326f3 authored about 8 years ago
Update README.md

f652c5ebf27e35dd4760c41c8371c6e23812d7e5 authored about 8 years ago
Clearly document compatibility issues.

cca6d0e9e9af8e7c2e42ffed43e50f1b5eb54357 authored about 8 years ago
Major packaging update, now using eawsy/aws-lambda-go.

- Switch to the golang-native eawsy/aws-lambda-go for packaging of
the Lambda function code.
-...

36f0433c09948132ef9ae65a6b838bbd10ebbb23 authored about 8 years ago
Add an empty test file to get the build great again

779674a571a28026a6314291c013273b66c9287e authored over 8 years ago
README updates: add Best Practices, whitespace cleanups.

747c12824ea186d7817ec68551a15bee95a52047 authored over 8 years ago
delete unused test files, starting from scratch

598b31c3a471d9505c840b51ea917b4b264ccba8 authored over 8 years ago
delete logger.go, merged functionality into main.go

276e1eb8110c3a6119e061c5a52bf3340e585698 authored over 8 years ago
Update README.md

346eb071d822940b926eac8e18f1efa7ba947a48 authored over 8 years ago
Fix instance store handling and tagging of spot requests

This fixes #29.

74aaaba5558e435f4b062f04c3f8b6020a7f6c70 authored over 8 years ago
Update ChangeLog.

9562702cd26f72c7d9de25c9338d763c68f33cf0 authored over 8 years ago