From 577d9519fab4bfb99986b2e80bbccdd4cc6f5137 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Sun, 12 Feb 2023 22:39:29 +0100 Subject: [PATCH] Removed gitlab CI --- .gitlab-ci.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index e875bfd..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,19 +0,0 @@ -stages: - - build - -variables: - PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/installer" - -build: - stage: build - image: rust:alpine - rules: - - if: $CI_COMMIT_BRANCH == "installer" - script: - - apk add pkgconf musl-dev curl - - RUSTFLAGS='-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl - - cp target/x86_64-unknown-linux-musl/release/dotfiles_installer ./installer-amd64 - - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file installer-amd64 "${PACKAGE_REGISTRY_URL}/dev-$CI_COMMIT_SHA/installer-amd64"' - artifacts: - paths: - - installer-amd64