Skip to content

Conversation

@gravesm
Copy link

@gravesm gravesm commented Oct 11, 2018

This PR abandons Lambda for Fargate. The app itself has not changed aside from a different versioning scheme. The makefile has been updated to handle most of the build process. If you want to see the changes, make sure your aws cli credentials are configured and run:

$ make clean
$ make dist
$ docker run --rm carbon:latest

This should output the usage message for carbon.

Mike Graves added 4 commits October 10, 2018 13:44
Since we are switching to Fargate, this changes the build process to
create a container. The app code itself has not changed as it already
supports this mode of operation. This commit adds the necessary tooling
to create the container.

The Makefile has been updated to handle the whole build process. Running
`make dist` should result in built container. Versioning of the app has
been switched from semver to the commit hash.

The travis deploy step will need to be updated once we are set up with
ECR.
This fixes an issue where pip won't install a wheel whose version number
starts with a letter. I've also moved the required S3 libs into a vendor
directory to save having to download them every time you run `make
clean`.
Since we're deploying into a container we control, we can just install
libaio with the system package manager.
The deploy stage on travis will now build the image and push it to ECR.
A new make target has been added to handle this.
@gravesm gravesm requested review from JPrevost and hakbailey October 11, 2018 18:55
Copy link
Contributor

@hakbailey hakbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@gravesm gravesm merged commit 654ccbe into master Oct 11, 2018
@gravesm gravesm deleted the docker branch October 11, 2018 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants