mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 10:28:41 +08:00
Publish image using Docker-in-Docker
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
9cbebc0221
commit
046aa3529f
@ -21,6 +21,7 @@ dir ('build/docker/deploy') {
|
||||
sh 'docker-compose build --force-rm proxy'
|
||||
sh 'docker-compose push proxy'
|
||||
|
||||
sh 'docker pull registry.zilliz.com/milvus-distributed/milvus-distributed-dev:latest || true'
|
||||
sh 'docker pull ${SOURCE_REPO}/querynode:${SOURCE_TAG} || true'
|
||||
sh 'docker-compose build --force-rm querynode'
|
||||
sh 'docker-compose push querynode'
|
||||
|
@ -7,13 +7,10 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- name: publish-images
|
||||
image: registry.zilliz.com/library/docker:v1.1.0
|
||||
image: registry.zilliz.com/library/dind-compose:v0.1
|
||||
imagePullPolicy: Always
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- cat
|
||||
tty: true
|
||||
resources:
|
||||
limits:
|
||||
memory: "8Gi"
|
||||
@ -22,12 +19,11 @@ spec:
|
||||
memory: "2Gi"
|
||||
cpu: "1"
|
||||
volumeMounts:
|
||||
- name: docker-sock
|
||||
mountPath: /var/run/docker.sock
|
||||
- name: docker-graph-storage
|
||||
mountPath: /var/lib/docker
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
- name: docker-graph-storage
|
||||
emptyDir: {}
|
||||
tolerations:
|
||||
- key: dedicated
|
||||
operator: Equal
|
||||
|
6
githooks/README.md
Normal file
6
githooks/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
**If you want to use git hooks, you need to install hooks first!**
|
||||
|
||||
run
|
||||
```shell script
|
||||
git hooks install
|
||||
```
|
3
githooks/pre-commit/fmt
Executable file
3
githooks/pre-commit/fmt
Executable file
@ -0,0 +1,3 @@
|
||||
#! /bin/bash
|
||||
|
||||
make fmt
|
3
githooks/pre-push/verifiers
Executable file
3
githooks/pre-push/verifiers
Executable file
@ -0,0 +1,3 @@
|
||||
#! /bin/bash
|
||||
|
||||
make verifiers
|
Loading…
Reference in New Issue
Block a user