From 0c3fb44918da52eaff0b746e105553dabc908581 Mon Sep 17 00:00:00 2001 From: Ramiro Berrelleza Date: Fri, 10 Sep 2021 16:35:01 -0700 Subject: [PATCH 1/2] build image and use kustomize on the fly --- okteto-pipeline.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 okteto-pipeline.yml diff --git a/okteto-pipeline.yml b/okteto-pipeline.yml new file mode 100644 index 0000000..21a3fc8 --- /dev/null +++ b/okteto-pipeline.yml @@ -0,0 +1,5 @@ +deploy: +- okteto build -t okteto.dev/python-getting-started:${OKTETO_GIT_COMMIT} +- kustomize create --resources k8s.yml +- kustomize edit set image okteto/hello-world:python=okteto.dev/python-getting-started:${OKTETO_GIT_COMMIT} +- kubectl apply -k . \ No newline at end of file From bfbe0dda722d9a51e71adc072d4f9e5227f29cde Mon Sep 17 00:00:00 2001 From: Ramiro Berrelleza Date: Fri, 10 Sep 2021 16:35:59 -0700 Subject: [PATCH 2/2] move to .okteto folder --- okteto-pipeline.yml => .okteto/okteto-pipeline.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename okteto-pipeline.yml => .okteto/okteto-pipeline.yml (100%) diff --git a/okteto-pipeline.yml b/.okteto/okteto-pipeline.yml similarity index 100% rename from okteto-pipeline.yml rename to .okteto/okteto-pipeline.yml