Skip to content

Latest commit

 

History

History

github-actions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Github Actions

Example

module "github_runners" {
  depends_on   = [module.cert_manager]
  source       = "git::https://github.com/provectus/swiss-army-kube.git//modules/cicd/github-actions"
  argocd       = module.argocd.state
  cluster_name = module.eks.cluster_id
  github_token = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  actions_repositories = {
    "repo-one"      = "provectus/repo-one"
    "repo-two"      = "provectus/repo-two"
  }
}

Providers

Name Version
aws n/a
helm n/a
kubernetes n/a
local n/a

Inputs

Name Description Type Default Required
actions_repositories describe your variable map(string) {} no
argocd A set of values for enabling deployment through ArgoCD map(string) {} no
chart_version A Helm Chart version string "0.5.2" no
cluster_name A name of the Amazon EKS cluster string n/a yes
conf A custom configuration for deployment map(string) {} no
github_token A GitHub token for application string n/a yes
module_depends_on A list of explicit dependencies list(any) [] no
namespace A name of the existing namespace string "" no
namespace_name A name of namespace for creating string "github-actions" no
runner_deployment_spec A custom Github Runner configuration any
{
"replicas": 2,
"template": {
"spec": {
"dockerdWithinRunnerContainer": true,
"image": "summerwind/actions-runner-dind",
"labels": [
"private"
],
"repository": "%REPOSITORY%",
"volumeMounts": [
{
"mountPath": "/runner",
"name": "runner"
}
],
"volumes": [
{
"emptyDir": {},
"name": "runner"
}
]
}
}
}
no
tags A tags for attaching to new created AWS resources map(string) {} no