diff --git a/infrastructure/drop-nightly-packages.py b/infrastructure/drop-nightly-packages.py deleted file mode 100644 index 83f03e941..000000000 --- a/infrastructure/drop-nightly-packages.py +++ /dev/null @@ -1,20 +0,0 @@ -import requests -import os -from requests.auth import HTTPBasicAuth - -auth = HTTPBasicAuth(os.environ.get('BINTRAY_API_USER'), os.environ.get('BINTRAY_API_KEY')) - -print('Fetching repositories') -deleteURLs = [] -repos = requests.get('https://api.bintray.com/repos/mull-project', auth=auth) -print('Fetching versions') -for repo in repos.json(): - package = requests.get('https://api.bintray.com/packages/mull-project/' + repo['name'] + '/mull-nightly/', auth=auth).json() - for version in package['versions']: - deleteURLs.append('https://api.bintray.com/packages/mull-project/' + repo['name'] + '/mull-nightly/versions/' + version) - -print('Deleting ' + str(len(deleteURLs)) + ' nightly packages') -for url in deleteURLs: - r = requests.delete(url, auth=auth) - print('.', end='', flush=True) - diff --git a/infrastructure/release.sh b/infrastructure/release.sh deleted file mode 100644 index 84f0e037b..000000000 --- a/infrastructure/release.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -mkdir -p packages - -function prepare_package () { -printf "Preparing package for $1 (LLVM $2)..." - export LLVM_VERSION=$2 - vagrant up $1 --provision 2> ./packages/$1.err.log > ./packages/$1.out.log - vagrant destroy -f $1 2>> ./packages/$1.err.log >> ./packages/$1.out.log - printf "Done.\n" -} - -prepare_package debian 6.0.0 -#prepare_package freebsd 8.0.0 -prepare_package ubuntu16 8.0.0 -prepare_package ubuntu18 8.0.0 -prepare_package ubuntu18 9.0.0 -prepare_package macos 8.0.0 -prepare_package macos 9.0.0 \ No newline at end of file diff --git a/infrastructure/ubuntu-playbook.yaml b/infrastructure/ubuntu-playbook.yaml index 7ebe92a26..ec5fde779 100644 --- a/infrastructure/ubuntu-playbook.yaml +++ b/infrastructure/ubuntu-playbook.yaml @@ -23,6 +23,7 @@ - binutils - liblzma-dev - python3-pip + - cmake vars_files: - helpers/variables.yaml @@ -51,19 +52,6 @@ - cloudsmith-cli==0.42.0 executable: pip3 - - name: Download CMake - get_url: - url: https://github.com/Kitware/CMake/releases/download/v3.16.9/cmake-3.16.9-Linux-x86_64.sh - dest: "{{ working_dir }}/cmake.sh" - register: download_cmake - - - name: Install CMake - shell: sh {{ working_dir }}/cmake.sh --prefix=/usr/local --skip-license - args: - creates: /usr/local/bin/cmake - when: download_cmake.changed - become: true - - name: Build Mull include: helpers/build-mull.yaml