This makes it agnostic to the internal topology on the server hosting the worker.
24 lines
697 B
Makefile
24 lines
697 B
Makefile
fly_target := "main"
|
|
|
|
image:
|
|
docker build -t dt-plugin-builder .
|
|
|
|
build:
|
|
docker run \
|
|
--rm \
|
|
-t \
|
|
--user "$(id -u):$(id -g)" \
|
|
-v ./:/src/plugin \
|
|
dt-plugin-builder \
|
|
cargo build -Zbuild-std --target x86_64-pc-windows-msvc
|
|
|
|
set-base-pipeline:
|
|
fly -t {{fly_target}} set-pipeline \
|
|
--pipeline dt-plugin-template-pr \
|
|
--config .ci/pipelines/set-pr-pipelines.yml \
|
|
-v forgejo_url=https://git.sclu1034.dev \
|
|
-v forgejo_api_key=${FORGEJO_API_KEY} \
|
|
-v registry_user=${REGISTRY_USER} \
|
|
-v registry_password=${REGISTRY_PASSWORD} \
|
|
-v owner=bitsquid_dt \
|
|
-v repo=dt-plugin-template
|