moved pipeline all to 1 file

This commit is contained in:
Mitchell Marino 2023-04-05 19:14:41 -05:00
parent 579fdb4dd0
commit a5a75ce2ac
7 changed files with 0 additions and 169 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -1,13 +0,0 @@
platform: linux
image_resource:
type: registry-image
source: { repository: alpine }
run:
path: sh
args:
- -exc
- |
ssh -i
dir: "repo"

View File

@ -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"

View File

@ -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"