Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasagra authored Sep 2, 2021
2 parents c305012 + 9835e8f commit 057d8b0
Show file tree
Hide file tree
Showing 55 changed files with 2,082 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-aiplatform_manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
Expand All @@ -40,4 +40,5 @@ jobs:
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ github.event.inputs.version }}-${{ github.event.inputs.language_model }}
no-cache: true
build-args: |
DOWNLOAD_MODELS=${{ github.event.inputs.language_model }}
DOWNLOAD_MODELS=${{ github.event.inputs.language_model }}
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_en-bert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - en-BERT
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-en-BERT
no-cache: true
build-args: |
DOWNLOAD_MODELS=en-BERT
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_en-spacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - en-SPACY
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-en-SPACY
no-cache: true
build-args: |
DOWNLOAD_MODELS=en-SPACY
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_es-spacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - es-SPACY
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-es-SPACY
no-cache: true
build-args: |
DOWNLOAD_MODELS=es-SPACY
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_fr-spacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - fr-SPACY
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-fr-SPACY
no-cache: true
build-args: |
DOWNLOAD_MODELS=fr-SPACY
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_pt_br-bert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - pt_br-BERT
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-pt_br-BERT
no-cache: true
build-args: |
DOWNLOAD_MODELS=pt_br-BERT
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_pt_br-spacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - pt_br-SPACY
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-pt_br-SPACY
no-cache: true
build-args: |
DOWNLOAD_MODELS=pt_br-SPACY
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_ru-spacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - ru-SPACY
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-ru-SPACY
no-cache: true
build-args: |
DOWNLOAD_MODELS=ru-SPACY
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_xx-bert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - xx-BERT
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-xx-BERT
no-cache: true
build-args: |
DOWNLOAD_MODELS=xx-BERT
39 changes: 39 additions & 0 deletions .github/workflows/build-develop-aiplatform_xx-spacy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build develop AI-Platform NLP - xx-SPACY
on:
push:
tags:
- 'develop-v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
ref: develop
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GCR
uses: docker/login-action@v1
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./aiplatform.Dockerfile
push: true
tags: us.gcr.io/bothub-273521/bothub-nlp-ai-platform:${{ steps.vars.outputs.tag }}-xx-SPACY
no-cache: true
build-args: |
DOWNLOAD_MODELS=xx-SPACY
Loading

0 comments on commit 057d8b0

Please sign in to comment.