From d2a115f38923b84c116cb060d22d56e6e10ffbd8 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Thu, 27 Mar 2025 18:44:34 +0000 Subject: [PATCH] fix: ci Signed-off-by: Nikolaos Karaolidis --- .gitlab-ci.yml | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0369e47..00295c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,6 @@ stages: - build - test - - release cache: &global_cache key: @@ -17,6 +16,7 @@ cache: &global_cache variables: RUSTFLAGS: "-Dwarnings" + SQLX_OFFLINE: "true" build: image: registry.karaolidis.com/karaolidis/veil/rust @@ -56,42 +56,3 @@ sast: stage: test include: - template: Security/SAST.gitlab-ci.yml - -build-release: - image: registry.karaolidis.com/karaolidis/veil/rust - stage: release - cache: - <<: *global_cache - script: - - cargo build --release - after_script: - - echo "JOB_ID=$CI_JOB_ID" >> job.env - artifacts: - paths: - - target/release/veil - expire_in: 1d - reports: - dotenv: job.env - only: - - tags - -release: - image: registry.gitlab.com/gitlab-org/release-cli - stage: release - needs: - - job: build-release - artifacts: true - script: - - echo "Create Release $CI_COMMIT_TAG" - release: - name: Release $CI_COMMIT_TAG - tag_name: $CI_COMMIT_TAG - description: Release $CI_COMMIT_SHA - ref: $CI_COMMIT_TAG - assets: - links: - - name: veil - url: https://gitlab.com/karaolidis/veil/-/jobs/$CI_JOB_ID/artifacts/raw/target/release/veil - link_type: other - only: - - tags