Skip to content

Merge pull request #8 from NEONScience/NC_updates #1

Merge pull request #8 from NEONScience/NC_updates

Merge pull request #8 from NEONScience/NC_updates #1

name: DEV-leveltroll500-empty-files
on:
push:
branches:
- 'master'
paths:
- 'empty_files/leveltroll500/**'
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: leveltroll500_empty_files # Pachyderm repo
BRANCH: master
IN_PATH: 'empty_files/leveltroll500' # Single path to local file or directory. If directory, all files in directory will be place in pachyderm at OUT_PATH.
OUT_PATH: '/leveltroll500' # Path to place the file(s) in Pachyderm. If IN_PATH is a file, specify to the file. If IN_PATH 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