Continuous Delivery NYC meetup November 20, 2019
#GitHubActions
Continuous Deliverywith GitHub ActionsContinuous Delivery NYCNovember 20, 2019Sean Sullivan
View Slide
About me
D.M.C.
Deploy Microservices Continuously
GITHUBACTIONS
“GitHub Actions helpyou automate yoursoftware developmentworkflows”source: GitHub.com
“You can writeindividual tasks, calledactions, and combinethem to create acustom workflow”source: GitHub.com
“GitHub Actions isavailable withGitHub Free, GitHubPro, GitHub Team, andGitHub EnterpriseCloud”source: GitHub.com
GitHubwebhooksGitHubActions
Workflows are customautomated processesthat you can set up inyour repository tobuild, test, package,release, or deploysource: GitHub.com
source: GitHub.comWorkflow fileYAML file that defines yourworkflow configuration.This file lives in.github/workflows
.travis.yml.github/workflows
createdeploymentdeployment_statuspull_requestpushschedule(and many more)Events that trigger workflows
EventsActionsWorkflowsCore Concepts
Core ConceptsRunnersVirtual EnvironmentsSecrets
RunnersGitHub-hostedSelf-hosted
Hosted Runners“GitHub hosts Linux and Windowsrunners on Standard_DS2_v2 virtualmachines in Microsoft Azure withthe GitHub Actions runnerapplication installed”source: GitHub.com
Self-Hosted Runners“Self-hosted runners can bephysical, virtual, container,on-premises, or in a cloud”source: GitHub.com
Self-Hosted Runners“do not use self-hosted runners withpublic repositories”source: GitHub.com
Self-Hosted Runners“Forks of your publicrepository can potentiallyrun dangerous code onyour self-hosted runnermachine”source: GitHub.com
LinuxWindows MacOSVirtual Environments
Ubuntu 18.04Ubuntu 16.04Linux support
Secretsaccess protectedkeys using thesecrets contextobjectsource: GitHub.com
Secretssource: GitHub.com
GitHub Universe 2019
GitHub Universe 2019Terraform ActionsAWS ActionsTwilio SMS Action
DEMO
GUARDRAILPROJECT
Actions tab
Scala build
SMSACTION
SMS: action.yml
TERRAFORMACTIONS
Terraform: action.yml
AWSACTIONS
https://github.com/aws-actions
AWS: action.yml
Recap
EventsWorkflowActions
EDITYAML
RUNWORKFLOWS
Questions?
Thank you
THEEND