Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP implementation and update #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

ENV := dev
CLUSTER_NAME := youtube-whisper-sbert
GCP_PROJECT := youtube-whisper-sbert
REGION := us-central1-a
SHELL := /bin/zsh
CWD:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))

ifeq ($(ENV), dev)
SKAFFOLD_DEFAULT_REPO := "us-docker.pkg.dev/youtube-whisper-sbert/containers"
endif

.PHONY: skaffold-build
skaffold-build:
gcloud auth configure-docker us-docker.pkg.dev
echo 'building container for: $(SKAFFOLD_DEFAULT_REPO)'
skaffold build --platform linux/amd64 --default-repo=$(SKAFFOLD_DEFAULT_REPO) --push
Empty file.
25 changes: 25 additions & 0 deletions components/sentence_transformer/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[tool.poetry]
name = "sentence_transformer"
version = "1.0.0"
description = "Sentence Transformer Implementation"
repository = ""
authors = [
"Josh Bottum <joshbottum@gmail.com>",
"Charles Adetiloye <charles@mavencode.com>",
]
readme = "readme.md"
classifiers = [
"DataPipeline :: Python :: 3",
]

[tool.poetry.dependencies]
python = "^3.10.0"
click = "^8.1.3"


[tool.poetry.dev-dependencies]
pytest = "^5.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Empty file.
Empty file.
Empty file.
25 changes: 25 additions & 0 deletions components/whisper_transcripter/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[tool.poetry]
name = "whispher_transcripter"
version = "1.0.0"
description = "Whispher Transcript Implementation"
repository = ""
authors = [
"Josh Bottum <joshbottum@gmail.com>",
"Charles Adetiloye <charles@mavencode.com>",
]
readme = "readme.md"
classifiers = [
"DataPipeline :: Python :: 3",
]

[tool.poetry.dependencies]
python = "^3.10.0"
click = "^8.1.3"


[tool.poetry.dev-dependencies]
pytest = "^5.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Empty file.
Empty file.
Empty file.
25 changes: 25 additions & 0 deletions components/youtube_downloader/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[tool.poetry]
name = "youtube_downloader"
version = "1.0.0"
description = "YouTube Downloader Implementation"
repository = ""
authors = [
"Josh Bottum <joshbottum@gmail.com>",
"Charles Adetiloye <charles@mavencode.com>",
]
readme = "readme.md"
classifiers = [
"DataPipeline :: Python :: 3",
]

[tool.poetry.dependencies]
python = "^3.10.0"
click = "^8.1.3"


[tool.poetry.dev-dependencies]
pytest = "^5.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Empty file.
Empty file.
File renamed without changes.
Empty file added readme.md
Empty file.
42 changes: 42 additions & 0 deletions skaffold.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
apiVersion: skaffold/v3alpha1
kind: Config
metadata:
name: skaffold-deployment
build:
tagPolicy:
gitCommit: { }
# defines where to find the code at build time and where to push the resulting image
artifacts:
- image: sentence_transformer
context: components/sentence_transformer
docker:
dockerfile: Dockerfile
# buildArgs:
# PARAM: ''
sync:
infer:
- '**/*'
platforms:
- "linux/amd64"
- image: whispher_transcripter
context: components/whispher_transcripter
docker:
dockerfile: Dockerfile
# buildArgs:
# PARAM: ''
sync:
infer:
- '**/*'
platforms:
- "linux/amd64"
- image: youtube_downloader
context: components/youtube_downloader
docker:
dockerfile: Dockerfile
# buildArgs:
# PARAM: ''
sync:
infer:
- '**/*'
platforms:
- "linux/amd64"