From 33a6f85f7df52af7908940793b756f1ee8cfc17d Mon Sep 17 00:00:00 2001 From: phoenix Date: Sun, 3 May 2026 17:34:30 -0400 Subject: [PATCH] Updated ci file for gitlab --- .gitlab-ci.yml | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d8531d..e326a22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: build: stage: build - image: rust:1.85 + image: rust:1.95 script: - cargo build --release - ls -R target/release/ @@ -22,7 +22,7 @@ build: test: stage: test - image: rust:1.85 + image: rust:1.95 script: - cargo test cache: @@ -33,7 +33,7 @@ test: test_variable: stage: test - image: rust:1.85 + image: rust:1.95 script: - echo "Checking CARGO_LOGIN_TOKEN..." - if [[ -z "$CARGO_LOGIN_TOKEN" ]]; then echo "CARGO_LOGIN_TOKEN is empty!"; exit 1; else echo "CARGO_LOGIN_TOKEN is set."; fi @@ -56,28 +56,3 @@ extract_version: artifacts: reports: dotenv: version.env - -tag_release: - stage: deploy - image: registry.gitlab.com/gitlab-org/release-cli:latest - rules: - - if: '($CI_COMMIT_BRANCH == "dev" || $CI_COMMIT_BRANCH == "main") && $CI_PIPELINE_SOURCE == "push"' - dependencies: - - extract_version - script: - - release-cli create --name "Release $CI_COMMIT_BRANCH-v$VERSION" --tag-name "$CI_COMMIT_BRANCH-v$VERSION" - -deploy: - stage: deploy - image: rust:1.85 - script: - - echo "Deployment will be configured when this is ready for use" - # - env - # Uncomment when you are ready for this to be published - # - cargo login "$CARGO_LOGIN_TOKEN" - # - cargo publish - dependencies: - - build - rules: - - if: '$CI_COMMIT_TAG' -