From e0b7832f3629370904bad981e86d7acb243dbec2 Mon Sep 17 00:00:00 2001 From: Joe Lombrozo Date: Tue, 12 Mar 2024 17:40:13 -0400 Subject: [PATCH] upgrade skaffold, fix issue --- .tool-versions | 3 ++- earthly | 2 -- justfile | 7 +++++++ skaffold.yaml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 justfile diff --git a/.tool-versions b/.tool-versions index 34bac58..41cec77 100644 --- a/.tool-versions +++ b/.tool-versions @@ -4,5 +4,6 @@ golang 1.21.3 helm-cr 1.4.1 helm-ct 3.7.1 kubeconform 0.5.0 -skaffold 2.0.3 +minikube 1.32.0 +skaffold 2.10.1 staticcheck 2023.1.6 diff --git a/earthly b/earthly index f0bec54..fd30bef 100755 --- a/earthly +++ b/earthly @@ -35,7 +35,5 @@ earthly $* \ --CHART_TESTING_VERSION=${helm_ct_tool_version} \ --GITHUB_CLI_VERSION=${github_cli_tool_version} \ --GOLANG_VERSION=${golang_tool_version} \ - --HELM_VERSION=${helm_tool_version} \ --KUBECONFORM_VERSION=${kubeconform_tool_version} \ - --KUSTOMIZE_VERSION=${kustomize_tool_version} \ --STATICCHECK_VERSION=${staticcheck_tool_version} diff --git a/justfile b/justfile new file mode 100644 index 0000000..5556fa6 --- /dev/null +++ b/justfile @@ -0,0 +1,7 @@ +minikube-up: + minikube start + minikube addons enable ingress + minikube addons enable registryi + +minikube-reset: + minikube delete --all diff --git a/skaffold.yaml b/skaffold.yaml index 1da61df..f16ebc8 100644 --- a/skaffold.yaml +++ b/skaffold.yaml @@ -7,7 +7,7 @@ build: artifacts: - image: prom-aggregation-gateway custom: - buildCommand: ./earthly +build-image --version=$IMAGE_TAG --image_name=$IMAGE_REPO + buildCommand: EARTHLY_DISABLE_REMOTE_REGISTRY_PROXY=true ./earthly +build-image --version=$IMAGE_TAG --image_name=$IMAGE_REPO --no-satellite tagPolicy: customTemplate: template: dev