diff --git a/.beagle-arm.yml b/.beagle-arm.yml new file mode 100644 index 0000000000000000000000000000000000000000..c574e41ed1948d8452cc2e94f3f9ffa9de628b05 --- /dev/null +++ b/.beagle-arm.yml @@ -0,0 +1,35 @@ +workspace: + path: src/gitlab.wodcloud.com/apaas/apaas-meshproxy +clone: + git: + image: registry.cn-qingdao.aliyuncs.com/wod/devops-git-arm64:1.0 + dns: 223.5.5.5 +pipeline: + go: + image: registry.cn-qingdao.aliyuncs.com/wod/devops-go-arm64:1.13.12-stretch + dns: 223.5.5.5 + environment: + - GOPROXY=https://goproxy.cn,direct + main: src + binary: proxy + volumes: + - /data/cache/gopath/pkg:/drone/pkg + docker-dev: + dns: 223.5.5.5 + image: registry.cn-qingdao.aliyuncs.com/wod/devops-docker-arm64:1.0 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + base: registry.cn-qingdao.aliyuncs.com/wod/busybox-arm64:1.32.0-glibc + repo: wod/apaas-meshproxy-arm64 + dockerfile: build/arm.dockerfile + version: "v3.0.0" + channel: alpha + registry: registry.cn-qingdao.aliyuncs.com + secrets: + - source: REGISTRY_USER_ALIYUN + target: REGISTRY_USER + - source: REGISTRY_PASSWORD_ALIYUN + target: REGISTRY_PASSWORD + when: + branch: [dev] + diff --git a/build/arm.dockerfile b/build/arm.dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..edf2e9c9d67e69acdf2f689caaff75e19d469455 --- /dev/null +++ b/build/arm.dockerfile @@ -0,0 +1,6 @@ +FROM {{ BASEIMAGE }} +MAINTAINER {{ AUTHOR }} +LABEL Author={{ AUTHOR }} Name={{ PROJECT }} Version={{ VERSION }} +COPY ./dist/. /app +EXPOSE 80 +ENTRYPOINT ["/app/proxy", "--port=80","--prefix=/bgmesh/fiddler"]