Skip to content

add elasticsearch repository snapshot method on s3 #79

add elasticsearch repository snapshot method on s3

add elasticsearch repository snapshot method on s3 #79

Workflow file for this run

name: Test building data on PR
on: pull_request
jobs:
test:
name: locally
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v2
- name: 🏃 Run small dataset
#if: steps.extract_branch.outputs.branch == 'master' || steps.extract_branch.outputs.branch == 'dev'
run: |
make all FILES_TO_PROCESS=${FILES_TO_PROCESS} \
REPOSITORY_BUCKET=${REPOSITORY_BUCKET} \
CHUNK_SIZE=${CHUNK_SIZE} ES_THREADS=${ES_THREADS} RECIPE_THREADS=${RECIPE_THREADS} ES_MEM=${ES_MEM}
env:
FILES_TO_PROCESS: deces-2020-m01.txt.gz
REPOSITORY_BUCKET: fichier-des-personnes-decedees-elasticsearch-dev
CHUNK_SIZE: 5000
ES_THREADS: 2
RECIPE_THREADS: 2
ES_MEM: 4000m
STORAGE_ACCESS_KEY: ${{ secrets.STORAGE_ACCESS_KEY }}
STORAGE_SECRET_KEY: ${{ secrets.STORAGE_SECRET_KEY }}