mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-14 17:04:09 +00:00
a2d38ccbbe
* fix(ping/rust): Use refs/heads/master and not branch and master Follows suggestion in https://github.com/libp2p/test-plans/pull/79#discussion_r1030425774.
44 lines
963 B
TOML
44 lines
963 B
TOML
[metadata]
|
|
name = "rust-cross-versions-{{ $.Env.GitReference }}"
|
|
|
|
[global]
|
|
plan = "libp2p/ping/rust"
|
|
case = "ping"
|
|
builder = "docker:generic"
|
|
runner = "local:docker"
|
|
concurrent_builds = 1
|
|
|
|
{{ with (load_resource "./rust.toml" ) }}
|
|
{{ range .groups }}
|
|
[[groups]]
|
|
id = "{{ .Id }}"
|
|
instances = { count = 1 }
|
|
|
|
[groups.build_config.build_args]
|
|
BINARY_NAME = '{{ .BinaryName }}'
|
|
{{ end }}
|
|
|
|
{{ with .master }}
|
|
[[groups]]
|
|
id = "master"
|
|
instances = { count = 1 }
|
|
|
|
[groups.build_config.build_args]
|
|
BINARY_NAME = '{{ .BinaryName }}'
|
|
GIT_REF = "refs/heads/master"
|
|
{{ end }}
|
|
|
|
{{ if $.Env.GitReference }}
|
|
{{ with .custom }}
|
|
[[groups]]
|
|
id = "custom"
|
|
instances = { count = 1 }
|
|
|
|
[groups.build_config.build_args]
|
|
BINARY_NAME = '{{ .BinaryName }}'
|
|
GIT_TARGET = '{{ $.Env.GitTarget }}'
|
|
GIT_REF = '{{ $.Env.GitReference }}'
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|