wesky93 / KubeAction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KubeAction

Github Action on K8S!!

this project is part of OpenAction Project. we will support you can use this in local, all any system.

support workflow syntax

  • name -> metadata.name
  • on -> spec.events
    • on.<event_name>.types
    • on.<push|pull_request>.<branches|tags>
    • on.<push|pull_request>.paths
    • on.schedule
      • on.schedule.cron
  • env
  • defaults
  • defaults.run
  • jobs
    • <job_id>
      • name
      • needs
      • runs-on(only ubuntu)
      • outputs
      • env
      • defaults
        • run
      • if
      • timeout-minutes
      • strategy
        • fail-fast
        • matrix(with context matrix)
        • max-parallel
      • continue-on-error
      • container
      • services
      • steps
        • run
        • shell
          • (bash)
          • (pwsh)
          • (python)
          • (sh)
          • (cmd)
          • (powershell)
        • with
          • (inputs)
          • args
          • entrypoint
        • env
        • continue-on-error
        • timeout-minutes

support context

  • secrets
    • provider
      • spaceone secrets
      • k8s
      • aws secretManager
      • vault
  • matrix
  • needs

support action syntax

  • name
  • author
  • description
  • inputs
    • input_id
    • description
    • required
    • default
  • outputs
  • runs for JavaScript actions
    • using(node12)
    • pre
    • pre-if
    • main
    • post
    • post-if
  • runs for Docker actions
    • using(docker)
    • image
      • Dockerfile
      • DockerHub url
    • pre-entrypoint
    • entrypoint
    • env
    • args(only for Dockerfile)
  • branding
    • color
    • icon

support workflow command

refrence

Secrets

support kubernetes secrets for workflow secrets.

we will support other provider(aws secrets,vault) using external-secrets

apiVersion: kubeaction.spaceone.dev/v1alpha1
kind: Flow
metadata:
  name: test-secrets
  namespace: kubeaction
spec:
  metadata:
    repository: https://github.com/wesky93/test_action
    secrets:
      provider: kubernetes
      name: action-test-secrets

About


Languages

Language:Python 95.8%Language:Dockerfile 2.4%Language:Shell 1.8%