orkestra/Tiltfile

21 строка
541 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://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(
'azure-orkestra',
[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
compile_cmd,
deps=['main.go'])
docker_build(
'azureorkestra/orkestra',
'.',
dockerfile='Dockerfile')
yaml = local('helm template --namespace default orkestra chart/orkestra --no-hooks --include-crds')
[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
k8s_yaml(yaml,allow_duplicates=True)
k8s_yaml(['./config/samples/bookinfo.yaml'],allow_duplicates=True)