Skip to content

Latest commit

 

History

History
78 lines (42 loc) · 1.57 KB

github-action.md

File metadata and controls

78 lines (42 loc) · 1.57 KB

Github-actions Overview and concrete RFC for test Pull-requests

Dario Maiocchi @SUSE


GitHub actions can do lot of things.

  • Release automation (issues, or Releases workflow) using DSL instead of api scripts

  • Pull-Request tests

  • ...


Github base on ideas of:

  • Jenkins

  • Travis

  • Circleci

  • Jenkins Worker/master model, multiple worker/agents internally, and target them via labels

  • Travis Circle/CI: Easy DSL sytanx in yaml, run natively in github

  • It avoid also the creation/maintenance of custom scripts using API.


Case-Study: Sap-Ha deployment testing prs:

Components:


Example:

https://github.com/MalloZup/ha-sap-terraform-deployments/runs/630345949


Nexts step:

  • create terraform validation on pr
  • create salt validation + terraform on pr

Other ideas.

automate releases with github actions instead of scripts


Unresolved/undone things:

Currenlty the terraform.tf file is on gitlab.

Usee Github with Secrets for sensitive data, so a PR which modify the vars we can adapt them.

It will also make create an automated tested documentation/template.