From a5a75ce2ac768786dbfc74d9aa5f4507552475af Mon Sep 17 00:00:00 2001 From: Mitchell Marino Date: Wed, 5 Apr 2023 19:14:41 -0500 Subject: [PATCH] moved pipeline all to 1 file --- ci/audit.yml | 29 ----------------------------- ci/build-docker.yml | 17 ----------------- ci/build-linux.yml | 27 --------------------------- ci/check-fmt.yml | 28 ---------------------------- ci/deploy.yml | 13 ------------- ci/lint.yml | 28 ---------------------------- ci/test.yml | 27 --------------------------- 7 files changed, 169 deletions(-) delete mode 100644 ci/audit.yml delete mode 100644 ci/build-docker.yml delete mode 100644 ci/build-linux.yml delete mode 100644 ci/check-fmt.yml delete mode 100644 ci/deploy.yml delete mode 100644 ci/lint.yml delete mode 100644 ci/test.yml diff --git a/ci/audit.yml b/ci/audit.yml deleted file mode 100644 index fc60f66..0000000 --- a/ci/audit.yml +++ /dev/null @@ -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" diff --git a/ci/build-docker.yml b/ci/build-docker.yml deleted file mode 100644 index f941fc1..0000000 --- a/ci/build-docker.yml +++ /dev/null @@ -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 - diff --git a/ci/build-linux.yml b/ci/build-linux.yml deleted file mode 100644 index 93dd54e..0000000 --- a/ci/build-linux.yml +++ /dev/null @@ -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" diff --git a/ci/check-fmt.yml b/ci/check-fmt.yml deleted file mode 100644 index 1c6344e..0000000 --- a/ci/check-fmt.yml +++ /dev/null @@ -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" diff --git a/ci/deploy.yml b/ci/deploy.yml deleted file mode 100644 index 585bf10..0000000 --- a/ci/deploy.yml +++ /dev/null @@ -1,13 +0,0 @@ -platform: linux - -image_resource: - type: registry-image - source: { repository: alpine } - -run: - path: sh - args: - - -exc - - | - ssh -i - dir: "repo" diff --git a/ci/lint.yml b/ci/lint.yml deleted file mode 100644 index fa20d12..0000000 --- a/ci/lint.yml +++ /dev/null @@ -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" diff --git a/ci/test.yml b/ci/test.yml deleted file mode 100644 index ccaa940..0000000 --- a/ci/test.yml +++ /dev/null @@ -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"