
Preliminary work
Apply for APP ID
Make a build image
Select the corresponding node version according to the actual project dependencies.
FROM node:14.20.0-buster-slim
RUN apt update && \
apt install curl git -y && \
npm install -g miniprogram-ci --registry=https://registry.npmmirror.com
$ docker build -t koderover.tencentcloudcr.com/test/node:14.20.0-buster-slim .
$ docker push koderover.tencentcloudcr.com/test/node:14.20.0-buster-slim

Configure custom images on Zadig
Administrator configuration
New Project
Prepare workflow
role-oriented
|
Function description
|
Sample workflow name
|
Contains steps
|
R&D/Test Engineer
|
Test workflow, build test version
|
test-workflow
|
Build test version (common task) -> IM notification (code change trigger)
|
Release Engineer
|
Publish workflow and upload official version
|
release-workflow
|
Build and upload the official version (common task) -> IM notification
|
Test workflow configuration
Select build image
Configure build preview script
#!/bin/bash
set -e
cd ${REPONAME_0}
yarn install
npx gulp -f build/compiler.js buildExample --color # 根据项目实际构建过程修改
miniprogram-ci preview \
--appid <小程序 APP ID> \
--project-path ./example \
--private-key-path ./example/private.key \
--upload-version $TASK_ID \
-r 1 --enable-qrcode true% \
--enable-es6 true%
Add notification
Configure Git triggers
Publish workflow configuration
Select build image
Configure build and push scripts
#!/bin/bash
set -e
cd ${REPONAME_0}
yarn install
npx gulp -f build/compiler.js buildExample --color # 根据项目实际构建过程修改
miniprogram-ci upload \
--appid <小程序 APP ID> \
--project-path ./example \
--private-key-path ./example/private.key \
--upload-version $version \
--enable-es6 true%
Add notification
Engineers use
Development engineer self-test and debugging
local development tools
Test engineer integration verification
Workflow task details
Workflow task notifications
Release engineer officially releases
Execute release-workflow
release-workflow task details
Mini program submission for review
Leading companies are using it
Scan the QR code to consult on how to implement advanced concepts

Zadig launches release planning module, release is actually very simple / DevOps selection guide: Zadig/Cloud Effect/Coding/Jenkins/GitLab/Argo/Tekton / Jenkins Migrate Zadig, the efficiency of new project implementation and launch is increased by 6 times / Detailed comparison of Zadig vs. Jenkins Right: The choice of the times and the choice of developers / ZADIG expert version is launched with great enthusiasm: one-click and efficient release, starting from 119 yuan/person per month, with year-end benefits for community friends