-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
42 lines (36 loc) · 930 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
stages:
- docker-pkg
# - Ai-Stack-Test
#- k8s-deploy
#variables:
#PROJECT_NAME: hyperf
#REGISTRY_URL: fp-harbor.fitipower.inc/hyperf/hyperf
# PROJECT_NAME: iss
# REGISTRY_URL: 10.1.11.45:18080/iss/test
docker-pkg:
stage: docker-pkg
#before_script:
#- docker login -u ocean.hsu -p Vm6ru8123 fp-harbor.fitipower.inc
#- docker login -u admin -p harbor@iss 10.1.11.45:18080
script:
- /home/gitlab-runner/yoyo5.sh
# - docker build -t $REGISTRY_URL .
# - docker push $REGISTRY_URL
allow_failure: false
#Ai-Stack-Test-GPU:
# stage: Ai-Stack-Test
# script:
# - kubectl apply -f ./test_cpu.yaml
# allow_failure: false
#Ai-Stack-Test-SVC:
# stage: Ai-Stack-Test
# script:
# - kubectl apply -f ./test_svc.yaml
# allow_failure: false
#k8s-deploy:
#stage: k8s-deploy
#script:
#- kubectl apply -f ./hyperf.yaml
#allow_failure: false
#dependencies:
#- docker-pkg