-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 1.49 KB
/
DEV_groundwaterPhysical_avro_schemas.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: DEV-groundwaterPhysical-avro-schemas
on:
push:
branches:
- 'master'
paths:
- 'avro_schemas/groundwaterPhysical/**'
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-dev.transitions-nonprod.gcp.neoninternal.org:443
PACH_TOKEN: ${{ secrets.RepoOwnerPachydermDev }}
REPO: groundwaterPhysical_avro_schemas # Pachyderm repo
BRANCH: master
IN_PATHS: 'avro_schemas/groundwaterPhysical' # 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: '/groundwaterPhysical' # 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