diff --git a/.beagle-arm.yml b/.beagle-arm.yml new file mode 100644 index 0000000000000000000000000000000000000000..e8010828b7b06e5d2370afd5ce520e811f6f33f4 --- /dev/null +++ b/.beagle-arm.yml @@ -0,0 +1,54 @@ + +clone: + git: + image: registry.cn-qingdao.aliyuncs.com/wod-devops/git:1.4.0 + +pipeline: + read-cache: + image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache-arm64:1.0 + restore: true + check: yarn.lock + mount: + - ./node_modules + - ./yarn.lock + volumes: + - /data/cache:/cache + build: + image: registry.cn-qingdao.aliyuncs.com/wod/devops-node-arm64:12.18.2-buster + dns: 223.5.5.5 + volumes: + - /data/cache/yarn:/usr/local/share/.cache/yarn + commands: + - yarn install + - yarn run build + store-cache: + image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache-arm64:1.0 + rebuild: true + mount: + - ./node_modules + - ./yarn.lock + volumes: + - /data/cache:/cache + docker-dev: + 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-k8s/node-arm64:14.5.0-buster-slim + repo: wod/apaas/apaas-v3-ui-arm64 + version: "v3.0.0" + channel: alpha + registry: registry.cn-qingdao.aliyuncs.com + when: + branch: dev + docker-master: + 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-k8s/node-arm64:14.5.0-buster-slim + repo: wod/apaas/apaas-v3-ui-arm64 + version: "v3.0.0" + registry: registry.cn-qingdao.aliyuncs.com + when: + branch: master + +branches: [master,dev] diff --git a/build/arm.dockerfile b/build/arm.dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..7a41e8ce962d4b76a989e4fe6faa0e3d7d8b0b3d --- /dev/null +++ b/build/arm.dockerfile @@ -0,0 +1,5 @@ +FROM {{ BASEIMAGE }} +MAINTAINER {{ AUTHOR }} +LABEL Author={{ AUTHOR }} Name={{ PROJECT }} Version={{ VERSION }} +ADD ./dist /www +ADD ./build/conf.yaml /www/conf.yaml \ No newline at end of file