From 813aefd48140a02649946fc55f7b5abf3024d4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Tr=C4=99bski?= Date: Tue, 18 May 2021 07:25:10 +0200 Subject: [PATCH] Remove circleCi configuration Partially: #1582 --- .circleci/config.yml | 78 ------------------------------------ .circleci/submodules_step.sh | 13 ------ 2 files changed, 91 deletions(-) delete mode 100644 .circleci/config.yml delete mode 100755 .circleci/submodules_step.sh diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index bf7d69cb3..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,78 +0,0 @@ ---- -x-build-steps: &build_steps - steps: - - run: - name: Install prerequistes - command: | - apt-get update -qq - apt-get install apt-utils -yqq - - apt-get install \ - locales \ - ssh \ - ca-certificates \ - lsb-release \ - build-essential \ - -yqq \ - --no-install-recommends - - apt-get autoclean -yqq - apt-get autoremove -yqq - - checkout - - run: - name: Configure timezone & timezone - command: | - echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections - echo 'tzdata tzdata/Zones/Europe select Warsaw' | debconf-set-selections - - echo 'locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8' | debconf-set-selections - echo 'locales locales/default_environment_locale select en_US.UTF-8' | debconf-set-selections - - echo 'keyboard-configuration keyboard-configuration/layout select English (UK)' | debconf-set-selections - - locale-gen en_US.UTF-8 - ln -fs /usr/share/zoneinfo/Europe/Warsaw /etc/localtime - - apt-get install tzdata -y --no-install-recommends - - apt-get autoclean -yqq - apt-get autoremove -yqq - - run: - name: Run an installation - command: | - ./install \ - "${CIRCLE_PROJECT_USERNAME}" \ - "${CIRCLE_BUILD_NUM}" \ - "${CIRCLE_PROJECT_USERNAME}@${CIRCLE_PROJECT_REPONAME}.M" \ - "Circle Builds" \ - "${CIRCLE_SHA1}" \ - "555-WAKATIME-BOGUS-API-KEY" - - run: - name: Verify ! - command: | - zsh -mil -c echo "Veryfying the build ${CIRCLE_BUILD_NUM}" - zsh -mil -c .installer/verify_install.sh - -version: 2.1 -jobs: - submodules: - machine: true - steps: - - checkout - - run: - name: "Submodules :: checkout" - command: .circleci/submodules_step.sh - - build_ubuntu_20_04: - docker: - - image: ubuntu:20.04 - <<: *build_steps - -workflows: - version: 2 - verify: - jobs: - - submodules - build: - jobs: - - build_ubuntu_20_04 diff --git a/.circleci/submodules_step.sh b/.circleci/submodules_step.sh deleted file mode 100755 index b8fe795f0..000000000 --- a/.circleci/submodules_step.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -git fetch --all && echo "Updated to full state from remote" - -mods=$(git diff --stat --name-only HEAD.."$(git remote)"/master) -mods_count=$(echo "${mods}" | grep -cE '\.gitmodules|dependencies\/') - -echo "Mods are :: ${mods}" - -(( mods_count >= 1)) && { - git submodule update --jobs 4 --init --recursive --depth 50; - git submodule status -} || echo "Nothing about submodules have changed, skipping"