Skip to content

Commit

Permalink
remaining actions for aepg600m -> precipWeighing
Browse files Browse the repository at this point in the history
  • Loading branch information
covesturtevant committed Dec 18, 2024
1 parent 5f2fb75 commit 5bca42e
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/PROD_aepg600m_empty_files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: PROD-aepg600m-empty-files
on:
push:
branches:
- 'prod'
paths:
- 'empty_files/aepg600m/**'
workflow_dispatch: {} # Allows trigger of workflow from web interface
jobs:
put-file:
runs-on: arc-neon-gke
#runs-on: ubuntu-latest
env:
PACHD_ADDRESS: grpcs://pachyderm-prod.transitions.gcp.neoninternal.org:443
PACH_TOKEN: ${{ secrets.RepoOwnerPachydermProd }}
REPO: aepg600m_empty_files # Pachyderm repo
BRANCH: master
IN_PATHS: 'empty_files/aepg600m,empty_files/aepg600m_heated' # Comma-separated list (no spaces) to one or more paths or directories. Length must match OUT_PATHS. If directory, all files in directory will be placed in pachyderm at corresponding entry of OUT_PATHS.
OUT_PATHS: '/aepg600m,/aepg600m_heated' # Comma-separated list (no spaces) of corresponding path(s) to place the files(s) in Pachyderm. Must be same length as IN_PATHS. If corresponding entry in IN_PATHS is a file, specify to the file. If corresponding entry in IN_PATHS is a directory, specify to the directory.
steps:
- uses: actions/checkout@v4
- run: ls -la

- uses: actions/setup-python@v3
with:
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
cache: 'pip'
- run: pip install -r .github/workflow_scripts/put_files/requirements.txt
- run: python3 -u .github/workflow_scripts/put_files/put_files.py
29 changes: 29 additions & 0 deletions .github/workflows/PROD_precipWeighing_avro_schemas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: PROD-precipWeighing-avro-schemas
on:
push:
branches:
- 'prod'
paths:
- 'avro_schemas/precipWeighing/**'
workflow_dispatch: {} # Allows trigger of workflow from web interface
jobs:
put-file:
runs-on: arc-neon-gke
#runs-on: ubuntu-latest
env:
PACHD_ADDRESS: grpcs://pachyderm-prod.transitions.gcp.neoninternal.org:443
PACH_TOKEN: ${{ secrets.RepoOwnerPachydermProd }}
REPO: precipWeighing_avro_schemas # Pachyderm repo
BRANCH: master # Pachyderm branch
IN_PATHS: 'avro_schemas/precipWeighing' # Comma-separated list (no spaces) to one or more paths or directories. Length must match OUT_PATHS. If directory, all files in directory will be placed in pachyderm at corresponding entry of OUT_PATHS.
OUT_PATHS: '/precipWeighing' # Comma-separated list (no spaces) of corresponding path(s) to place the files(s) in Pachyderm. Must be same length as IN_PATHS. If corresponding entry in IN_PATHS is a file, specify to the file. If corresponding entry in IN_PATHS is a directory, specify to the directory.
steps:
- uses: actions/checkout@v4
- run: ls -la

- uses: actions/setup-python@v3
with:
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
cache: 'pip'
- run: pip install -r .github/workflow_scripts/put_files/requirements.txt
- run: python3 -u .github/workflow_scripts/put_files/put_files.py

0 comments on commit 5bca42e

Please sign in to comment.