2
Fork 0
dt-plugin-template/Justfile
Lucas Schwiderski 22906f1065
Use external URLs in CI
This makes it agnostic to the internal topology on the server hosting
the worker.
2025-04-22 16:01:47 +02:00

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