Some checks are pending
test Testing the new resource type
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
35 lines
728 B
YAML
35 lines
728 B
YAML
# yaml-language-server: $schema=https://raw.githubusercontent.com/cappyzawa/concourse-pipeline-jsonschema/master/concourse_jsonschema.json#/definitions/TaskConfig
|
|
---
|
|
platform: linux
|
|
|
|
image_resource:
|
|
name: ctmt-bi-base-((target))
|
|
type: registry-image
|
|
source:
|
|
repository: registry.local:5000/dtmt-ci-base-((target))
|
|
tag: latest
|
|
|
|
inputs:
|
|
- name: repo
|
|
|
|
outputs:
|
|
- name: artifact
|
|
|
|
caches:
|
|
- path: repo/target
|
|
- path: /usr/local/cargo/registry
|
|
|
|
params:
|
|
CI: "true"
|
|
TARGET: ((target))
|
|
GITEA_API_KEY: ((gitea_api_key))
|
|
REF: ((ref))
|
|
PR: ((pr))
|
|
OUTPUT: artifact
|
|
|
|
run:
|
|
path: repo/.ci/util/run.sh
|
|
args:
|
|
- repo/.ci/tasks/build.sh
|
|
- build/((target))
|
|
- "Build for the target platform: ((target))"
|