Skip to content

Repository files navigation

SIGTERM-Labs/Actions

This repository stores useful actions and workflows. Each action.yml file in the directories within this repository should have its own readme.md file that describes its use and provides some insight into its functionality. A brief summary of each is listed below as well in order to improve visibility.

If you would like to contribute to this repository, please ensure that you follow the established naming convention. If the action uses a separate tool, such as Ansible or Terraform, use the existing directory for that tool if it exists or create one if it doesn't. Otherwise, if the action doesn't rely on any third-party tools, create your directory at the root level.

Reusable Actions

ansible/run-playbook

Runs an ansible playbook against an inventory of hosts

clean-workspace

Cleans the current workspace prior to running the checkout action, to ensure the job starts with a clean slate.

git-mark-workspace-safe

Marks the GitHub workspace as safe. See bug report The underlying checkout issue is resolved, but if you need to commit back to a repository, especially in a container, this action is still needed.

git-ssh-to-https

Sets up the global Git config to replace any SSH clone URLs with HTTPS URLs. This must be used after the checkout code action.

helm/deploy

Deploys a helm chart to a k8s cluster.

k8s/image-pull-secret

Creates/updates a kubernetes image pull secret in a namespace.

terraform/plan

Runs terraform plan and shows the output.

terraform/apply

Runs terraform apply.

terraform/destroy

Runs terraform destroy.

vault/login

Log in to the vault server using the jwt token and set env vars, to be able to use other vault actions.

vault/aws-sts

Get ephemeral AWS credentials from Vault

vault/k8s-login

Log in to a k8s cluster, using a certificate issued by vault signed by the same CA k8s uses.

vault/signed-ssh-key

Generate a new SSH key and have vault sign it with the SSH CA

Reusable Workflows

workflows/docker/build

Job definition that builds a docker image and pushes to ghcr.io

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages