From 95a3a9541834f57ab7d279e6e78c2ce9d7d2f50e Mon Sep 17 00:00:00 2001 From: Ivan Fonarev Date: Sat, 28 Oct 2023 20:30:39 +0300 Subject: [PATCH] Delete gitlab-ci --- .gitlab-ci.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 6caea42..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,33 +0,0 @@ -# Is performed before the scripts in the stages step - -before_script: - - source /etc/profile - -# Defines stages which are to be executed -stages: - - build -# Stage "build" -build-package: - stage: build - script: - - pwd - - mkdir -p ./builds/artifact - - sudo apt update - - sudo apt install -y build-essential devscripts dh-make - - dpkg-buildpackage -us -uc - - mv ../*.{deb,tar.xz,dsc,changes} ./builds/artifact - only: - - tags - artifacts: - paths: - - ./builds/artifact -artifact_download: - stage: build - script: - - 'curl --location --output ~/builds/downloaded_artifacts/artifacts.zip --header "PRIVATE-TOKEN: glpat-FxQCwwpab9YkmNHWPVXY" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build-package&job_token=$CI_JOB_TOKEN"' - - cd ~/builds/downloaded_artifacts - - unzip artifacts.zip - - rm artifacts.zip - only: - - tags - needs: [build-package] \ No newline at end of file