Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous deployment with CircleCI #285

Open
karllhughes opened this issue Jul 21, 2020 · 8 comments
Open

Continuous deployment with CircleCI #285

karllhughes opened this issue Jul 21, 2020 · 8 comments
Labels
example An example project + readme good-first-issue

Comments

@karllhughes
Copy link

karllhughes commented Jul 21, 2020

Here's a tentative outline:

@mrkurt
Copy link
Member

mrkurt commented Jul 21, 2020

CircleCI seems tricky with Docker, the people we know who use it end up doing remote builds with flyctl (unintentionally). This one should show how to do in-Circle Docker builds. Bonus points if it can do Docker layer caching.

You can actually build with Docker and deploy that image with flyctl, if it helps. Basically:

docker build . -t myapp/test:1234
flyctl deploy -i myapp/test:1234

@mrkurt mrkurt added example An example project + readme good-first-issue labels Jul 21, 2020
@karllhughes
Copy link
Author

@ammezie will be helping out with this post. He'll start by creating a more detailed outline here in the Github issue.

@codepope
Copy link

Hi there,
I'm just putting together a simple app which you may be able to use (it's an app where you can look up countries, languages and how you say hello in each).

@ammezie
Copy link

ammezie commented Jul 26, 2020

Hi @karllhughes, here's the outline as requested:

  • Introduction - brief on what is CI/CD and what the article will cover
  • What we’ll be deploying - a brief look at the app to deploy
  • Dockerizing the application - covers packaging the application as a docker image
  • Getting started with Fly - covering what and why Fly, and creating a new app on Fly
  • Getting started with CircleCI - covers what is CircleCI and creating a new project
  • Configuring the application on CircleCI - configuring the app for deployment
  • Testing the deployment - covers testing the deployment pipeline
  • Conclusion - overview of everything the article covered

@karllhughes
Copy link
Author

@ammezie Just a couple pieces of feedback on your outline:

  1. Make sure you use CircleCI to build the Docker image and then deploy it. See Kurt's comment above and the CircleCI Docker documentation to make sure this is the way you do it. Let us know if you have questions though.
  2. If @codepope's application is done before you start writing, you can use that. Otherwise, you can get started with the Fly demo app used here. We can switch out the app later if need be.

Thanks!

@codepope
Copy link

The demo app is done - https://github.com/fly-examples/flygreeting - feedback and PRs welcomed of course.

@karllhughes
Copy link
Author

Ah, great, thanks @codepope!

@ammezie
Copy link

ammezie commented Jul 26, 2020

@karllhughes got it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example An example project + readme good-first-issue
Projects
None yet
Development

No branches or pull requests

4 participants