Skip to content

Commit

Permalink
Rename batch-ensembler module and mentions with pyfunc-ensembler-job
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Feb 15, 2022
1 parent 0d7fe79 commit d5b9a40
Show file tree
Hide file tree
Showing 32 changed files with 26 additions and 26 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/batch-ensembler.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: engines/batch-ensembler
name: engines/pyfunc-ensembler-job

on:
# Automatically run CI on Release and Pre-Release tags and main branch
# (only if there are changes to relevant paths)
push:
tags:
- "batch-ensembler/v[0-9]+.[0-9]+.[0-9]+*"
- "pyfunc-ensembler-job/v[0-9]+.[0-9]+.[0-9]+*"
branches:
- main
paths:
- ".github/workflows/batch-ensembler.yaml"
- "engines/batch-ensembler/**"
- ".github/workflows/pyfunc-ensembler-job.yaml"
- "engines/pyfunc-ensembler-job/**"
- "sdk/**"

# Automatically run CI on branches, that have active PR opened
pull_request:
branches:
- main
paths:
- ".github/workflows/batch-ensembler.yaml"
- "engines/batch-ensembler/**"
- ".github/workflows/pyfunc-ensembler-job.yaml"
- "engines/pyfunc-ensembler-job/**"
- "sdk/**"

# To make it possible to trigger e2e CI workflow for any arbitrary git ref
Expand Down Expand Up @@ -50,13 +50,13 @@ jobs:
- name: Cache Conda environment
uses: actions/cache@v2
with:
path: engines/batch-ensembler/env
path: engines/pyfunc-ensembler-job/env
key: |
conda-${{ hashFiles('engines/batch-ensembler/environment.yaml') }}-${{ hashFiles('engines/batch-ensembler/requirements.txt') }}-${{ hashFiles('engines/batch-ensembler/requirements.dev.txt') }}
conda-${{ hashFiles('engines/pyfunc-ensembler-job/environment.yaml') }}-${{ hashFiles('engines/pyfunc-ensembler-job/requirements.txt') }}-${{ hashFiles('engines/pyfunc-ensembler-job/requirements.dev.txt') }}
restore-keys: conda-

- name: Run Tests
working-directory: engines/batch-ensembler
working-directory: engines/pyfunc-ensembler-job
run: |
make setup
make test
Expand All @@ -70,7 +70,7 @@ jobs:
- id: release-rules
uses: ./.github/actions/release-rules
with:
prefix: batch-ensembler/
prefix: pyfunc-ensembler-job/

publish:
# Automatically publish release and pre-release artifacts.
Expand Down Expand Up @@ -103,13 +103,13 @@ jobs:

- name: Build Docker Image
id: build
working-directory: engines/batch-ensembler
working-directory: engines/pyfunc-ensembler-job
env:
DOCKER_REGISTRY: ghcr.io/${{ github.repository }}
run: |
set -o pipefail
make build-image | tee output.log
echo "::set-output name=ensembler-image::$(sed -n 's%Building docker image: \(.*\)%\1%p' output.log)"
echo "::set-output name=pyfunc-ensembler-job::$(sed -n 's%Building docker image: \(.*\)%\1%p' output.log)"
- name: Publish Batch Ensembler Docker Image
run: docker push ${{ steps.build.outputs.ensembler-image }}
- name: Publish Pyfunc Ensembler Job Docker Image
run: docker push ${{ steps.build.outputs.pyfunc-ensembler-job }}
8 changes: 4 additions & 4 deletions .github/workflows/turing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ on:
- main
paths-ignore:
- "docs/**"
- "engines/batch-ensembler/**"
- "engines/pyfunc-ensembler-job/**"
- "sdk/**"
- ".github/workflows/batch-ensembler.yaml"
- ".github/workflows/pyfunc-ensembler-job.yaml"
- ".github/workflows/sdk.yaml"
- ".github/workflows/helm-chart.yaml"
- ".github/workflows/cluster-init.yaml"
Expand All @@ -23,9 +23,9 @@ on:
- main
paths-ignore:
- "docs/**"
- "engines/batch-ensembler/**"
- "engines/pyfunc-ensembler-job/**"
- "sdk/**"
- ".github/workflows/batch-ensembler.yaml"
- ".github/workflows/pyfunc-ensembler-job.yaml"
- ".github/workflows/sdk.yaml"
- ".github/workflows/helm-chart.yaml"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ BatchEnsemblingConfig:
BuildNamespace: default
BuildTimeoutDuration: 20m
DestinationRegistry: ghcr.io
BaseImageRef: ghcr.io/gojek/turing/batch-ensembler:latest
BaseImageRef: ghcr.io/gojek/turing/pyfunc-ensembler-job:latest
KanikoConfig:
BuildContextURI: git://github.com/gojek/turing.git#refs/heads/main
DockerfileFilePath: engines/batch-ensembler/app.Dockerfile
DockerfileFilePath: engines/pyfunc-ensembler-job/app.Dockerfile
Image: gcr.io/kaniko-project/executor
ImageVersion: v1.6.0
ResourceRequestsLimits:
Expand Down
4 changes: 2 additions & 2 deletions api/config-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ BatchEnsemblingConfig:
BuildNamespace: default
BuildTimeoutDuration: 20m
DestinationRegistry: ghcr.io
BaseImageRef: ghcr.io/gojek/turing/batch-ensembler:latest
BaseImageRef: ghcr.io/gojek/turing/pyfunc-ensembler-job:latest
KanikoConfig:
BuildContextURI: git://github.com/gojek/turing.git#refs/heads/main
DockerfileFilePath: engines/batch-ensembler/app.Dockerfile
DockerfileFilePath: engines/pyfunc-ensembler-job/app.Dockerfile
Image: gcr.io/kaniko-project/executor
ImageVersion: v1.6.0
ResourceRequestsLimits:
Expand Down
4 changes: 2 additions & 2 deletions api/turing/config/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ BatchEnsemblingConfig:
BuildNamespace: default
BuildTimeoutDuration: 20m
DestinationRegistry: ghcr.io
BaseImageRef: ghcr.io/gojek/turing/batch-ensembler:latest
BaseImageRef: ghcr.io/gojek/turing/pyfunc-ensembler-job:latest
KanikoConfig:
BuildContextURI: git://github.com/gojek/turing.git#refs/heads/main
DockerfileFilePath: engines/batch-ensembler/app.Dockerfile
DockerfileFilePath: engines/pyfunc-ensembler-job/app.Dockerfile
Image: gcr.io/kaniko-project/executor
ImageVersion: v1.6.0
ResourceRequestsLimits:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: batch-ensembler
name: pyfunc-ensembler-job
dependencies:
- python=3.8
- pip=21.0.1
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
]

setuptools.setup(
name='batch-ensembler',
name='pyfunc-ensembler-job',
packages=setuptools.find_packages(),
install_requires=requirements,
dev_requirements=dev_requirements,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d5b9a40

Please sign in to comment.