Skip to content

Latest commit

 

History

History
97 lines (96 loc) · 3.72 KB

todo.org

File metadata and controls

97 lines (96 loc) · 3.72 KB

Sharing Values

Import via modules

/Oyafile /oya.mod github.com/Tooploox/pledge

Import: main: github.com/Tooploox/pledge

Same but Oyafile contains Project:

Simple directory-level inheritance

CLI init + run

Ignore Oyafiles under oya/vendor

Try to implement minimal/fake Docker pack

Render directories

templatized paths

Arguments to go run – pass to task

oya build – –flag=5 $Flags – map $Args – positional arguments

Refactor

Use cobra commands in tests

Tests for existing functionality

Rendering -> pkg

task -> task

Report missing variables (Template.Strict)

Package > pack everywhere? Or name it “package” in docs?

Cleanup Modules/packs => Project

Exclude modules inside the current module when running oya run

.oyaignore

Exclude sub-directiories – have to be built by cd’ing and running oya. https://godoc.org/k8s.io/helm/pkg/ignore

Automate Oya testing using Oya + CircleCI

Require imported project to have correct Project + remove skipping dirs under vendor from oyafile.List

Rest of CLI, cleanup, messages

NEXT Automate Neutron deploy using Oya

On push to branch, build & upload docker with sha tag

On merge to master, build & upload docker with release tag

On push to any branch, run tests

On merge to master, deploy to cluster if deployment dir changed

oya -T –tasks list available tasks

Secrets

CANCELLED Install task for packages

  • State “CANCELLED” from “TODO” [2019-01-25 Fri 10:34]
    It’s enough to have “install” task by convention in packs and then oya tasks will show it.

Simplify oya get/vendor (based on Import statements) TBD

Just use Import

oya get – adds to packages.lock if not there

oya get – adds to packages.lock if not there

oya records new imports using sha in packages.lock

oya get -u <uri> updates package sha in packages.lock and fetches it

oya get -u <uri> updates package sha in packages.lock and fetches it

Require imported project to have correct Project + remove skipping dirs under vendor from oyafile.List

Rest of CLI, cleanup, messages

Bring README up to date

Arguments to go run – pass to task

oya run build – –flag=5 $Flags – map $Args – positional arguments

Secrets

Oyafile.enc

Install task for packages

.kasia extension

Docker pack, no language autodetect, Python + Go

.kasia plugin based on extension or way to specify templating language

Consider dropping run

oya run init –> oya Init ~/.oya/Oyafile – oyafile imported by all Oyafiles, contains built-in tasks(implicitly), customization point (can import, can add before/after tasks etc.)

.Values.EarlyTerminate (default: true)

Set to false to avoid terminating on first error

Fail for incorrect changeset paths

Absolute path

Non-existent path

Path without Oyafile

https://godoc.org/k8s.io/helm/pkg/ignore

Support template types as plugins (.kasia)