File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,13 @@ prepare-tools: ## Installs required tools
38
38
@test -f ./.build/kuttl || (curl -sL https://github.com/kudobuilder/kuttl/releases/download/v0.15.0/kubectl-kuttl_0.15.0_linux_x86_64 --output ./.build/kuttl && chmod +x ./.build/kuttl)
39
39
40
40
skaffold-deploy : prepare-tools # # Deploys app with dependencies using Skaffold
41
+ k3d kubeconfig merge ${ENV_CLUSTER_NAME} ; \
41
42
export KUBECONFIG=~ /.k3d/kubeconfig-${ENV_CLUSTER_NAME} .yaml; \
42
43
skaffold deploy -p deps \
43
44
&& skaffold build -p app --tag e2e --default-repo ${ENV_CLUSTER_NAME} -registry:5000 --push --insecure-registry ${ENV_CLUSTER_NAME} -registry:5000 --disable-multi-platform-build=true --detect-minikube=false --cache-artifacts=false \
44
- && skaffold deploy -p app --tag e2e --assume-yes=true --default-repo ${ENV_CLUSTER_NAME} -registry:5000; \
45
- kubectl port-forward svc/${ENV_APP_SVC} -n ${ENV_NS} ${ENV_PORT_FORWARD} &
45
+ && skaffold deploy -p app --tag e2e --assume-yes=true --default-repo ${ENV_CLUSTER_NAME} -registry:5000
46
+
47
+ export KUBECONFIG=~/.k3d/kubeconfig-${ENV_CLUSTER_NAME}.yaml; kubectl port-forward svc/${ENV_APP_SVC} -n ${ENV_NS} ${ENV_PORT_FORWARD} &
46
48
47
49
dev : # # Runs the development environment in Kubernetes
48
50
skaffold deploy -p deps
You can’t perform that action at this time.
0 commit comments