From 2905e005fd08c6a8350207216dfff364cafad488 Mon Sep 17 00:00:00 2001 From: Kristian Aune Date: Tue, 9 Jan 2024 09:26:58 +0100 Subject: [PATCH] Delete screwdriver.yaml --- screwdriver.yaml | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 screwdriver.yaml diff --git a/screwdriver.yaml b/screwdriver.yaml deleted file mode 100644 index 8503b71..0000000 --- a/screwdriver.yaml +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. - -shared: - image: quay.io/centos/centos:stream8 - environment: - PYVESPA_VERSION: 0.7 - annotations: - screwdriver.cd/restrictPR: fork - screwdriver.cd/timeout: 30 - screwdriver.cd/cpu: HIGH - screwdriver.cd/ram: HIGH - screwdriver.cd/dockerEnabled: true - screwdriver.cd/dockerCpu: HIGH - screwdriver.cd/dockerRam: HIGH - screwdriver.cd/buildPeriodically: H 11 * * * - -jobs: - tests: - requires: [~commit,~pr] - steps: - - setup: | - export WORK_DIR=$SD_DIND_SHARE_PATH - export RESOURCES_DIR=$(pwd)/resources - - install-docker: | - dnf install -y dnf-plugins-core - dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo - dnf install -y docker-ce-cli git - docker system info - ls -la $SD_DIND_SHARE_PATH - - install-python: | - dnf install -y python39-pip - python3 -m pip install --upgrade pip - python3 -m pip install pytest - python3 -m pip install -e .[full] - - run-tests: | - pytest learntorank/test_*.py -s -v - - install-notebook-test-deps: | - python3 -m pip install notebook nbconvert runnb - - run-notebook-tests: | # Exclude some unfinished notebooks from testing - for notebook in `find notebooks -name '*.ipynb' -and \ - ! -name learning-to-rank-ignore.ipynb -and \ - ! -name image-search-scratch.ipynb -and \ - ! -path '*/.ipynb_checkpoints/*'`; \ - do echo -e "**********\n*** Running $notebook ***\n**********"; \ - runnb --allow-not-trusted $notebook || exit 1;\ - done