This is a GitHub Action based on kusion, it can help you operate your KCL configurations.
Required Kusion subcommand. Default "apply"
.
Optional work directory. Default ""
.
Optional KCL setting files. Default ""
.
Optional KCL arguments. Default ""
.
Optional KCL files. Default ""
.
Optional kusion apply --yes. Default "false"
.
Optional kusion apply --detail. Default "false"
.
Optional kusion apply --no-style. Default "true"
.
Optional kusion apply --dry-run. Default "true"
.
Optional diff files. Default ""
.
kusion version:
uses: KusionStack/kusion-actions@main
with:
subcommand: 'version'
kusion apply with dry run:
uses: KusionStack/kusion-actions@main
with:
subcommand: 'apply'
dryRun: 'true'
kusion apply with settings:
uses: KusionStack/kusion-actions@main
with:
subcommand: 'apply'
settings: 'ci-test/settings.yaml,kcl.yaml'
kusion apply with workDir:
uses: KusionStack/kusion-actions@main
with:
subcommand: 'apply'
workDir: '/root/Konfig/appops/nginx-example'
settings: 'ci-test/settings.yaml,kcl.yaml'
kusion apply with arguments and filenames:
uses: KusionStack/kusion-actions@main
with:
subcommand: 'apply'
arguments: '-D cluster=default -D env=prod'
filenames: 'main.k'
kusion apply with yes:
uses: KusionStack/kusion-actions@main
with:
subcommand: 'apply'
settings: 'ci-test/settings.yaml,kcl.yaml'
yes: 'true'
kusion apply with yes and detail:
uses: KusionStack/kusion-actions@main
with:
subcommand: 'apply'
settings: 'ci-test/settings.yaml,kcl.yaml'
yes: 'true'
detail: 'true'