Commit 9887df67 authored by quicksilver's avatar quicksilver
Browse files

add mysql container to the build environment jenkins slave pod


Former-commit-id: 2f87cce03ec3b34328c90cb6b54e3720208d9341
parent af691924
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ container('milvus-build-env') {
                            && export FAISS_URL='http://192.168.1.105:6060/jinhai/faiss/-/archive/branch-0.2.1/faiss-branch-0.2.1.tar.gz' \
                            && ./build.sh -t ${params.BUILD_TYPE} -d /opt/milvus -j -u -c"

                            sh "./coverage.sh -u root -p 123456 -t 192.168.1.194"
                            sh "./coverage.sh -u root -p 123456 -t \$POD_IP"
                        }
                    }
                } catch (exc) {
+13 −0
Original line number Diff line number Diff line
@@ -45,6 +45,11 @@ spec:
  containers:
  - name: milvus-build-env
    image: registry.zilliz.com/milvus/milvus-build-env:v0.13
    env:
    - name: POD_IP
      valueFrom:
        fieldRef:
          fieldPath: status.podIP
    command:
    - cat
    tty: true
@@ -56,6 +61,14 @@ spec:
      requests:
        memory: "14Gi"
        cpu: "5.0"
  - name: milvus-mysql
    image: mysql:5.6
    env:
    - name: MYSQL_ROOT_PASSWORD
      value: 123456
    ports:
    - containerPort: 3306
      name: mysql
"""
                        }
                    }
+13 −0
Original line number Diff line number Diff line
@@ -45,6 +45,11 @@ spec:
  containers:
  - name: milvus-build-env
    image: registry.zilliz.com/milvus/milvus-build-env:v0.13
    env:
    - name: POD_IP
      valueFrom:
        fieldRef:
          fieldPath: status.podIP
    command:
    - cat
    tty: true
@@ -56,6 +61,14 @@ spec:
      requests:
        memory: "14Gi"
        cpu: "5.0"
  - name: milvus-mysql
    image: mysql:5.6
    env:
    - name: MYSQL_ROOT_PASSWORD
      value: 123456
    ports:
    - containerPort: 3306
      name: mysql
"""
                        }
                    }