AWS Cloud Developer: Automating Application Development Flashcards
Continuous Integration
practice of streamlining developer code to a centralized source
Process in which code is tested, built into a Docker image, and deployed to a container registry.
Continuous Deployment
practice of streamlining how code is released
Process in which our Docker image is deployed to containers.
Least Privileged Access
providing the least amount of permissions necessary
What is Travis
Travis is a tool that helps us with the CI process. It is used to build Docker images and push those images ot Docker hub
Travis File
The Travis file is always named .travis.yaml and stored in the top-level of your git directory. This is detected by Travis CI and turned into a build pipeline.
YAML
Yet another markup language a common way to programmatically write configurations. Sometimes referred to as YML.
4 parts of Travis YAML file
language
services
before_script
script
Environment Variables
Environment variables are a useful way to handle variables that shouldn’t be hard-coded into our application. These values are often credentials that shouldn’t be stored in the code.