From bb9b5688c0929b073fc81b1c77d2ad42a07db715 Mon Sep 17 00:00:00 2001 From: Zwart Date: Wed, 28 Feb 2024 11:57:04 -0800 Subject: [PATCH] removing scores and submissions processing actions --- .github/workflows/scoring.yaml | 38 ------------------------------ .github/workflows/submissions.yaml | 29 ----------------------- 2 files changed, 67 deletions(-) delete mode 100644 .github/workflows/scoring.yaml delete mode 100644 .github/workflows/submissions.yaml diff --git a/.github/workflows/scoring.yaml b/.github/workflows/scoring.yaml deleted file mode 100644 index 765d56a80b..0000000000 --- a/.github/workflows/scoring.yaml +++ /dev/null @@ -1,38 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: - schedule: - - cron: '0 0 */3 * *' - workflow_dispatch: - -name: scoring - -jobs: - docker: - #runs-on: ubuntu-latest - runs-on: self-hosted - timeout-minutes: 1440 - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - OSN_KEY: ${{ secrets.OSN_KEY }} - OSN_SECRET: ${{ secrets.OSN_SECRET }} - #container: eco4cast/rocker-neon4cast:latest - steps: - - uses: actions/checkout@v3 - with: - ref: prod - - - name: Install - shell: Rscript {0} - run: | - remotes::install_deps(".", dep=TRUE) - - - name: Generate scores - shell: Rscript {0} - run: | - source("scoring/scoring.R") - - - name: Update inventory - shell: Rscript {0} - run: | - source("scoring/build_score_inventory.R") diff --git a/.github/workflows/submissions.yaml b/.github/workflows/submissions.yaml deleted file mode 100644 index 659484af44..0000000000 --- a/.github/workflows/submissions.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: - schedule: - - cron: '0 0 */3 * *' - workflow_dispatch: - - -name: process-submissions - -jobs: - docker: - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - AWS_ACCESS_KEY_SUBMISSIONS: ${{ secrets.AWS_ACCESS_KEY_SUBMISSIONS }} - AWS_SECRET_ACCESS_KEY_SUBMISSIONS: ${{ secrets.AWS_SECRET_ACCESS_KEY_SUBMISSIONS }} - OSN_KEY: ${{ secrets.OSN_KEY }} - OSN_SECRET: ${{ secrets.OSN_SECRET }} - container: eco4cast/rocker-neon4cast:latest - steps: - - uses: actions/checkout@v3 - with: - ref: prod - - - name: Process submissions - shell: Rscript {0} - run: | - source("submission_processing/process_submissions.R")