From ef03b30880763909c6e59a3e23604c4a6b73079c Mon Sep 17 00:00:00 2001 From: Dargon789 <64915515+Dargon789@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:51:08 +0000 Subject: [PATCH] Update ci.yml Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> --- .circleci/ci.yml | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/.circleci/ci.yml b/.circleci/ci.yml index 4265ca60e9cbb..0c8ae5507187d 100644 --- a/.circleci/ci.yml +++ b/.circleci/ci.yml @@ -1,18 +1,34 @@ version: 2.1 -job: - build-and-test: - # Using a specific version of the Rust image for reproducible builds - docker: - - image: cimg/rust:1.75.0 +jobs: + say-hello: + docker: + - image: cimg/base:current + steps: - checkout - run: - name: "Check formatting" - command: "cargo fmt -- --check" - - run: - name: "Lint with Clippy" - command: "cargo clippy --all-targets -- -D warnings" - - run: - name: "Run tests" - command: "cargo test" + name: "Say hello" + command: "echo Hello, World!" + +workflows: + say-hello-workflow: + jobs: + - say-hello + +- run: + name: Plan a deploy + command: | + circleci run release plan \ + --environment-name="" \ + --component-name="" \ + --target-version="" +# Your job here doing the actual deployment +- run: + name: Update a deploy to SUCCESS + command: circleci run release update --status=SUCCESS + when: on_success +- run: + name: Update planned deploy to FAILED + command: circleci run release update --status=FAILED + when: on_fail