From f5ab76186ab1288c1648c4039ae61cae596df4bc Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Tue, 22 Aug 2023 19:45:35 +0200 Subject: [PATCH] Fix missing release-cli Remove dependencies from check_jobs Remove qml format until qmlformat is installed --- .gitlab/ci/build_release_jobs.yml | 9 +++++---- .gitlab/ci/check_jobs.yml | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitlab/ci/build_release_jobs.yml b/.gitlab/ci/build_release_jobs.yml index 928ce8ff..676f6a9f 100644 --- a/.gitlab/ci/build_release_jobs.yml +++ b/.gitlab/ci/build_release_jobs.yml @@ -49,12 +49,13 @@ release_job: when: on_success # Only when all previous jobs succeed script: # 1. Combining sha256 files into a SHA512-SUMS.txt - - echo "Combining sha256 files into a SHA512-SUMS.txt" - python3 Tools/create_sha512.py - # 2. Connect and handle the folder - - echo "Managing remote folder" + # 2. Install dependencies and handle the folder - apt update - - apt install -y sshpass ssh + - apt install -y sshpass ssh curl + - curl --location --output /usr/local/bin/release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64" + - chmod +x /usr/local/bin/release-cli + - release-cli -v - ssh-keyscan 91.204.46.10 >> ~/.ssh/known_hosts - sshpass -p $GETSP_PASSWORD ssh $GETSP_USERNAME@91.204.46.10 "rm -rf /getsp.de/$CI_COMMIT_TAG; mkdir /getsp.de/$CI_COMMIT_TAG;" # 3. Upload files to the remote folder diff --git a/.gitlab/ci/check_jobs.yml b/.gitlab/ci/check_jobs.yml index 5c0045b5..f3890288 100644 --- a/.gitlab/ci/check_jobs.yml +++ b/.gitlab/ci/check_jobs.yml @@ -1,4 +1,5 @@ formatting: + dependencies: [] stage: check allow_failure: true image: @@ -14,4 +15,4 @@ formatting: - cd Tools - python check_format_cmake.py --check - python check_format_cpp.py --check - - python check_format_qml.py --check + #- python check_format_qml.py --check