Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 2.32 KB

notes.md

File metadata and controls

91 lines (69 loc) · 2.32 KB

general notes

webhooks

  • Trigger
    • webhook
    • scheduled
    • manual
    • starter.yml

jobs and steps

  • Map - run in parallel
  • can be chanined using needs keyword
  • runs on a runner in one process
  • contains a sequence of steps
  • steps can be a shell command (run) or an action (uses)

actions

- reusable step 
- Lives in a git repo
- synatx:
    ```
    {owner}/{repo}@{ref}
    {owner}/{repo}/{path}@{ref}
    ./.github/actions/my-action
    ```
- pass vars to action:
    - `with:`
    - `env:`

docker action

- run a docker container as an action

contexts and expressions

alt text

workflow commands

alt text alt text

actions

conainter action:

alt text example: alt text

javascript

alt text

composite

alt text

alt text

Day 2

CD workflows

  • basic workflow: alt text
  • build the docker container -> test the container -> Scan for secrets, vulerbality scanner -> sign the container

Concurrency

alt text

CD with actions best practices

alt text

building image in github action: https://azureglobalblackbelts.com/2023/11/09/part1-notation-usage.html https://azureglobalblackbelts.com/2023/11/09/part2-aks-image-verification.html

action policies

alt text

runner information:

https://github.com/aa-demo-org/.github

alt text alt text

alt text