Continuous Delivery with GitHub Actions NYC 2019-11-20

99d4c0ed3c8027ea1c37b53d6441d042?s=47 sullis
November 20, 2019

Continuous Delivery with GitHub Actions NYC 2019-11-20

Continuous Delivery NYC meetup
November 20, 2019

#GitHubActions

99d4c0ed3c8027ea1c37b53d6441d042?s=128

sullis

November 20, 2019
Tweet

Transcript

  1. Continuous Delivery with GitHub Actions Continuous Delivery NYC November 20,

    2019 Sean Sullivan
  2. About me

  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. None
  10. None
  11. D.M.C.

  12. Deploy Microservices Continuously

  13. GITHUB ACTIONS

  14. “GitHub Actions help you automate your software development workflows” source:

    GitHub.com
  15. “You can write individual tasks, called actions, and combine them

    to create a custom workflow” source: GitHub.com
  16. “GitHub Actions is available with GitHub Free, GitHub Pro, GitHub

    Team, and GitHub Enterprise Cloud” source: GitHub.com
  17. GitHub webhooks GitHub Actions

  18. Workflows are custom automated processes that you can set up

    in your repository to build, test, package, release, or deploy source: GitHub.com
  19. source: GitHub.com Workflow file YAML file that defines your workflow

    configuration. This file lives in .github/workflows
  20. .travis.yml .github/workflows

  21. create deployment deployment_status pull_request push schedule (and many more) Events

    that trigger workflows
  22. Events Actions Workflows Core Concepts

  23. Core Concepts Runners Virtual Environments Secrets

  24. Runners GitHub-hosted Self-hosted

  25. Hosted Runners “GitHub hosts Linux and Windows runners on Standard_DS2_v2

    virtual machines in Microsoft Azure with the GitHub Actions runner application installed” source: GitHub.com
  26. Self-Hosted Runners “Self-hosted runners can be physical, virtual, container, on-premises,

    or in a cloud” source: GitHub.com
  27. Self-Hosted Runners “do not use self- hosted runners with public

    repositories” source: GitHub.com
  28. Self-Hosted Runners “Forks of your public repository can potentially run

    dangerous code on your self-hosted runner machine” source: GitHub.com
  29. Linux Windows MacOS Virtual Environments

  30. Ubuntu 18.04 Ubuntu 16.04 Linux support

  31. Secrets access protected keys using the secrets context object source:

    GitHub.com
  32. Secrets source: GitHub.com

  33. Secrets source: GitHub.com

  34. Secrets source: GitHub.com

  35. Secrets source: GitHub.com

  36. GitHub Universe 2019

  37. GitHub Universe 2019 Terraform Actions AWS Actions Twilio SMS Action

  38. DEMO

  39. GUARDRAIL PROJECT

  40. Actions tab

  41. Scala build

  42. SMS ACTION

  43. None
  44. None
  45. SMS: action.yml

  46. TERRAFORM ACTIONS

  47. None
  48. Terraform: action.yml

  49. AWS ACTIONS

  50. https://github.com/aws-actions

  51. None
  52. AWS: action.yml

  53. Recap

  54. Events Workflow Actions

  55. EDIT YAML

  56. RUN WORKFLOWS

  57. Questions?

  58. Thank you

  59. THE END