Introduction to Continuous integration and the differences with continuous delivery and deployment. It shows the main benefits you should expect by incorporating CI practices to your project and how to do it with Drone.
2. AgendaAgenda
What is CI? Differences with Cd & CD
Why should I implement CI?
How to implement CI?
Virtualization & Containerization
Drone
Hands on Drone
Drone vs Jenkins
37. Sample 3Sample 3
Activate a repo
Review the simplest Drone pipeline
Generate a trigger via git push
Show build logs
Show how the workspace is mounted in build steps
42. Sample 4Sample 4
Base pipeline: executing tests with in-memory
database
Testing a build
43. Sample 5Sample 5
Using services
The problem with credentials. Managing secrets
Base pipeline: executing tests against a real database
44. Services are dependencies of the build
Drone Workspace
Git
Container
Step 1
Container
Step N
Container
DroneEnvironmentVariables DroneSecretVariables
Drone Service Container 1
Docker
Networking
Docker
Networking
Docker
Networking
Docker
volume mount
Docker
volume mount
Docker
volume mount
45. Steps can read Drone envars & Drone secrets
Drone Workspace
Git
Container
Step 1
Container
Step N
Container
DroneEnvironmentVariables DroneSecretVariables
Drone Service Container 1
Docker
Networking
Docker
Networking
Docker
Networking
Docker
volume mount
Docker
volume mount
Docker
volume mount
56. Drone vs JenkinsDrone vs Jenkins
Developer owned vs Sysadmin owned
Local build testing vs No testing
Container centric vs Supports containers
Extensible plugin model vs Hard to code plugins
Native security vs Ad hoc security
Native matrix builds vs Plugin matrix builds
Trigger upstream/downstream builds via plugin