Skip to content

bekk/bekk-ci-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

bekk-ci-workflows

Reusable GitHub Actions workflows for internal use

Workflows

backend-checks.yml

Run format check (currently csharpier) and dotnet tests

Inputs:

  • working-directory default: "."
  • format-check
  • dotnet-test

frontend-checks.yml

Run npm scripts for checking format, lint and types

Inputs:

  • working-directory default: "."
  • format-check
  • lint-check
  • type-check

build.yml

Build and push docker image to AWS ECR

Inputs:

  • ECR_REPOSITORY default: ${{ github.event.repository.name }}

Outputs

  • image_name
  • image_tag

Secrets:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY

review.yml

Deploy a preview environment with Terraform and update PR with preview URL and plan for merge to master

Inputs:

  • IMAGE_NAME
  • IMAGE_TAG
  • TERRAFORM_WORKSPACE
  • TERRAFORM_VAR_FILE

Secrets:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • SSH_PRIVATE_KEY

deploy.yml

Deploy application with Terraform using selected workspace and var-file

Inputs:

  • IMAGE_NAME
  • IMAGE_TAG
  • TERRAFORM_WORKSPACE
  • TERRAFORM_VAR_FILE

Secrets:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • SSH_PRIVATE_KEY

release-notification.yml

Send Slack message to webhook with release information

Secrets:

  • SLACK_WEBHOOK_URL

lambda_review.yml

Review Lambda with Terraform

Inputs:

  • AWS_REGION (optional)
  • AWS_REGION (optional)

Secrets:

  • SSH_PRIVATE_KEY

lambda_deploy.yml

Deploy Lambda with Terraform

Inputs:

  • AWS_REGION (optional)
  • AWS_REGION (optional)

Secrets:

  • SSH_PRIVATE_KEY

About

Reusable GitHub Actions workflows

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors