moved pipeline all to 1 file
This commit is contained in:
parent
579fdb4dd0
commit
a5a75ce2ac
29
ci/audit.yml
29
ci/audit.yml
@ -1,29 +0,0 @@
|
|||||||
platform: linux
|
|
||||||
|
|
||||||
image_resource:
|
|
||||||
type: registry-image
|
|
||||||
source: {repository: rust}
|
|
||||||
|
|
||||||
# move rust's config directories to be in the current directory, so they can be cached.
|
|
||||||
params:
|
|
||||||
CARGO_HOME: "./.cargo-config"
|
|
||||||
RUSTUP_HOME: "./.rustup-config"
|
|
||||||
|
|
||||||
caches:
|
|
||||||
- path: "./repo/target"
|
|
||||||
- path: "./repo/.cargo-config"
|
|
||||||
- path: "./repo/.rustup-config"
|
|
||||||
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
- name: repo
|
|
||||||
|
|
||||||
run:
|
|
||||||
path: sh
|
|
||||||
args:
|
|
||||||
- -exc
|
|
||||||
- |
|
|
||||||
rustup default stable
|
|
||||||
cargo install cargo-audit
|
|
||||||
cargo audit
|
|
||||||
dir: "repo"
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
platform: linux
|
|
||||||
|
|
||||||
image_resource:
|
|
||||||
type: registry-image
|
|
||||||
source:
|
|
||||||
repository: concourse/oci-build-task
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
- name: repo
|
|
||||||
path: .
|
|
||||||
|
|
||||||
outputs:
|
|
||||||
- name: image
|
|
||||||
|
|
||||||
run:
|
|
||||||
path: build
|
|
||||||
|
|
||||||
@ -1,27 +0,0 @@
|
|||||||
platform: linux
|
|
||||||
|
|
||||||
image_resource:
|
|
||||||
type: registry-image
|
|
||||||
source: {repository: rust}
|
|
||||||
|
|
||||||
# move rust's config directories to be in the current directory, so they can be cached.
|
|
||||||
params:
|
|
||||||
CARGO_HOME: "./.cargo-config"
|
|
||||||
RUSTUP_HOME: "./.rustup-config"
|
|
||||||
|
|
||||||
caches:
|
|
||||||
- path: "./repo/target"
|
|
||||||
- path: "./repo/.cargo-config"
|
|
||||||
- path: "./repo/.rustup-config"
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
- name: repo
|
|
||||||
|
|
||||||
run:
|
|
||||||
path: sh
|
|
||||||
args:
|
|
||||||
- -exc
|
|
||||||
- |
|
|
||||||
rustup default stable
|
|
||||||
cargo build --release
|
|
||||||
dir: "repo"
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
platform: linux
|
|
||||||
|
|
||||||
image_resource:
|
|
||||||
type: registry-image
|
|
||||||
source: {repository: rust}
|
|
||||||
|
|
||||||
# move rust's config directories to be in the current directory, so they can be cached.
|
|
||||||
params:
|
|
||||||
CARGO_HOME: "./.cargo-config"
|
|
||||||
RUSTUP_HOME: "./.rustup-config"
|
|
||||||
|
|
||||||
caches:
|
|
||||||
- path: "./repo/target"
|
|
||||||
- path: "./repo/.cargo-config"
|
|
||||||
- path: "./repo/.rustup-config"
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
- name: repo
|
|
||||||
|
|
||||||
run:
|
|
||||||
path: sh
|
|
||||||
args:
|
|
||||||
- -exc
|
|
||||||
- |
|
|
||||||
rustup default stable
|
|
||||||
rustup component add rustfmt
|
|
||||||
cargo fmt --check
|
|
||||||
dir: "repo"
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
platform: linux
|
|
||||||
|
|
||||||
image_resource:
|
|
||||||
type: registry-image
|
|
||||||
source: { repository: alpine }
|
|
||||||
|
|
||||||
run:
|
|
||||||
path: sh
|
|
||||||
args:
|
|
||||||
- -exc
|
|
||||||
- |
|
|
||||||
ssh -i
|
|
||||||
dir: "repo"
|
|
||||||
28
ci/lint.yml
28
ci/lint.yml
@ -1,28 +0,0 @@
|
|||||||
platform: linux
|
|
||||||
|
|
||||||
image_resource:
|
|
||||||
type: registry-image
|
|
||||||
source: {repository: rust}
|
|
||||||
|
|
||||||
# move rust's config directories to be in the current directory, so they can be cached.
|
|
||||||
params:
|
|
||||||
CARGO_HOME: "./.cargo-config"
|
|
||||||
RUSTUP_HOME: "./.rustup-config"
|
|
||||||
|
|
||||||
caches:
|
|
||||||
- path: "./repo/target"
|
|
||||||
- path: "./repo/.cargo-config"
|
|
||||||
- path: "./repo/.rustup-config"
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
- name: repo
|
|
||||||
|
|
||||||
run:
|
|
||||||
path: sh
|
|
||||||
args:
|
|
||||||
- -exc
|
|
||||||
- |
|
|
||||||
rustup default stable
|
|
||||||
rustup component add clippy
|
|
||||||
cargo clippy
|
|
||||||
dir: "repo"
|
|
||||||
27
ci/test.yml
27
ci/test.yml
@ -1,27 +0,0 @@
|
|||||||
platform: linux
|
|
||||||
|
|
||||||
image_resource:
|
|
||||||
type: registry-image
|
|
||||||
source: {repository: rust}
|
|
||||||
|
|
||||||
# move rust's config directories to be in the current directory, so they can be cached.
|
|
||||||
params:
|
|
||||||
CARGO_HOME: "./.cargo-config"
|
|
||||||
RUSTUP_HOME: "./.rustup-config"
|
|
||||||
|
|
||||||
caches:
|
|
||||||
- path: "./repo/target"
|
|
||||||
- path: "./repo/.cargo-config"
|
|
||||||
- path: "./repo/.rustup-config"
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
- name: repo
|
|
||||||
|
|
||||||
run:
|
|
||||||
path: sh
|
|
||||||
args:
|
|
||||||
- -exc
|
|
||||||
- |
|
|
||||||
rustup default stable
|
|
||||||
cargo test
|
|
||||||
dir: "repo"
|
|
||||||
Loading…
Reference in New Issue
Block a user