Открыть боковую панель
ruslanshaykh
face_recognition_api
Коммиты
a460e9c4
Коммит
a460e9c4
создал
Апр 20, 2025
по автору
ruslanshaykh
Просмотр файлов
фикс
владелец
15571067
Конвейер
#26538
неудачно с этапами
in 2 минуты и 33 секунды
Изменения
1
Конвейеры
1
Скрыть пробелы
Построчно
Рядом
.gitlab-ci.yml
Просмотр файла @
a460e9c4
...
@@ -8,6 +8,7 @@ variables:
...
@@ -8,6 +8,7 @@ variables:
DOCKER_DRIVER
:
overlay2
DOCKER_DRIVER
:
overlay2
MAVEN_OPTS
:
"
-Dmaven.repo.local=${CI_PROJECT_DIR}/.m2/repository"
MAVEN_OPTS
:
"
-Dmaven.repo.local=${CI_PROJECT_DIR}/.m2/repository"
CLUSTER_NAME
:
"
face-rec-cluster"
CLUSTER_NAME
:
"
face-rec-cluster"
KUBECONFIG
:
"
${CI_PROJECT_DIR}/kubeconfig.yaml"
cache
:
cache
:
key
:
"
maven-repo-${CI_COMMIT_REF_SLUG}"
key
:
"
maven-repo-${CI_COMMIT_REF_SLUG}"
...
@@ -63,9 +64,12 @@ deploy_job:
...
@@ -63,9 +64,12 @@ deploy_job:
if ! kind get clusters | grep -q "face-rec-cluster"; then
if ! kind get clusters | grep -q "face-rec-cluster"; then
echo "Создаем кластер face-rec-cluster...."
echo "Создаем кластер face-rec-cluster...."
kind create cluster --name $CLUSTER_NAME --config k8s/cluster-config.yaml
kind create cluster --name $CLUSTER_NAME --config k8s/cluster-config.yaml
kind export kubeconfig --name $CLUSTER_NAME
kubectl cluster-info
kubectl cluster-info
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=300s
kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=300s
else
kind export kubeconfig --name $CLUSTER_NAME
fi
fi
-
kubectl cluster-info
-
kubectl cluster-info
-
kubectl apply -f k8s/namespace.yaml
-
kubectl apply -f k8s/namespace.yaml
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать