Comments (2)
D - Get CircleCI RUNNING. Get it set up and running.
O - I have an excellent, classy, working, clear .circleCI/config.yml
file set up, that I understand how it works and what each line is doing
B - Somehow I need to better understand how the circleCI config file works... somehow I find it very confusing. Do I need to understand, do I need to use Docker? I fucking hate Docker.
O - Do you need to use Docker with CircleCI?
I -
- What, exactly, does CircleCI do for me?
Basically, in the context of Stoic Penknife it's going to a) auto-build my app, b) auto-run my tests and rubocop, and then (IF both of these steps succeed) c) auto-deploy the application to Heroku on production. So basically it will save me having to do these steps each time myself, of running tests, rubocop and clicking a button on the Heroku website to deploy. (Actually I think GitHub can already be auto-integrated, so it's not even really saving that step). - What is Continuous Integration and concretely what will it look like in
Stoic Penknife
world? What is Continuous Build?
Before CI is "CB", Continuous Build, i.e. simply automating that every time a new git commit is entered into the repo, that the app gets auto-built someplace. On top of that comes running your tests to check whether your changes still work with the master branch. Together this points you toward the pre-requisites of CI. CI also includes a "philosophical" element of aiming to have developers work in a version control system like git, and be able to work on smaller tasks that can be integrated into the master branch continuously rather than periodically. - What is Continuous Deployment (How is it different from CI?) and concretely what will it look like in
Stoic Penknife
world?
CD is basically the addition to CI that, If the app builds and your tests pass, that the changes get pushed to production. (Or first to staging, then production, if this wasn't just a hobby project!)
To sum up both here is AWS' succinct definition:
"Continuous integration is focused on automatically building and testing code, as compared to continuous delivery, which automates the entire software release process up to production."
http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html
-
The three rough elements of a Continuous Integration setup are Dependencies, Testing and Deployment.
-
Dependencies / Set the Project Up - What Dependencies will I need for Stoic Penknife?
-
Ruby 2.6.2
-
Postgres
-
Bundler
-
Install gems in Gemfile
-
Testing - What commands will I need to add in order to run my test suite on Stoic Penknife?
-
How will I have Rubocop run automatically as part of the tests? Maybe take inspiration from https://gist.github.com/djburdick/5104d15f612c15dde65f ?
-
Deployment - What commands will I need in order to deploy Stoic Penknife on Heroku, if the build and the tests are successful?
-
Do I need to understand, do I need to use Docker? I fucking hate Docker.
Yes and no. CircleCI is already using Docker behind the scenes as I understand it, for their specific machines.
from stoic_penknife.
- do this
from stoic_penknife.
Related Issues (20)
- No hardcoded values: only via config/ENV
- Clean up database.yml, use only for dev/test
- Assets: Controllers: Remove scaffolding clutter (.coffee)
- Assets: Clean up stylesheets / scaffolding clutter
- Helpers: Clean up scaffolding clutter
- Mailers provide both text and html
- Remove break tags for spacing
- I18n
- Proper forms setup with bootstrap-sass for formtastic (or move to simple form or standard rails)
- Create a bootstrap theme from variables instead of overriding in CSS with !important everywhere
- Use SASS instead of CSS: Variables, Mixins, etc. pp
- Fix all GitHub Gem Alerts - Update all relevant Gems
- Geocoder no longer showing location when you rehearse an exercise HOT 1
- Fix test factories that are breaking because of upgrading `factory_girl` to latest `factory_bot`. A bunch of stuff is now failing.
- add specs for doctrine model
- Add specs for rehearsal model
- Write Exercise Model Specs
- Fix Exercise Controller Specs
- Implement fixes, suggestions, tips from Christoph to ExercisesController
- Clean up the tests - Get 'em green. Remove old tests that are no longer used. Fix remaining tests. Check in: what models are left? What other areas are left to test of the basic application? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stoic_penknife.