orkestra/Tiltfile

28 строки
688 B
Plaintext
Исходник Обычный вид История

[fix] Target namespace support for helm-releases (#46) * Add PUML sequence diagrams Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * Setup azure-pipeline for Go Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * Update diagram and switch harbor for chartmuseum Update the orkestra-core diagram replacing harbor for chartmuseum Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * Pipeline tasks docker & gh release Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * Github release only on matching tag pattern v* Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * Developer tools and CRD updates for HelmValues - Added Tiltfile for improving developer workflow - Modified the CRD to use Overlays field instead of HelmValuesSpec.Values field - Updated argo code to copy over values from Overlays to HelmReleaseSpec.Values Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * Fixup Tiltfile Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * [fix] Target namespace support for helm-releases Orkestra creates a Namespace if it doesnt already exist for the helm-release object and target namespace Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com> * Azure pipeline docker tags & tests uncommented Updated Azure pipeline docker task to push latest tag Uncommented some tests that havent changed due to the last set of changes, like moving some functions to be methods of argo. Signed-off-by: Nitish Malhotra <nitishm@microsoft.com> Co-authored-by: Nitish Malhotra <nitishm@DESKTOP-VJ37BRQ.localdomain>
2021-02-08 21:55:26 +03:00
load('ext://kubebuilder', 'kubebuilder')
kubebuilder("azure.microsoft.com", "orkestra", "v1beta1", "*")
load('ext://namespace', 'namespace_yaml')
k8s_yaml(namespace_yaml("orkestra"),allow_duplicates=True)
compile_cmd = 'CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o manager main.go'
local_resource(
'azureorkestra/orkestra',
compile_cmd,
deps=['main.go'])
docker_build(
'azureorkestra/orkestra',
'.',
dockerfile='Dockerfile')
yaml = helm(
'chart/orkestra',
name='orkestra',
namespace='orkestra',
values=['./chart/orkestra/values.yaml'],
)
k8s_yaml(yaml,allow_duplicates=True)
k8s_yaml(['./config/samples/dev-applicationgroup.yaml'],allow_duplicates=True)