Skip to content

Commit

Permalink
Merge branch 'ai-video' into pr/3200
Browse files Browse the repository at this point in the history
  • Loading branch information
JJassonn69 committed Oct 26, 2024
2 parents b6dea6e + 4d966f8 commit b0fb366
Show file tree
Hide file tree
Showing 50 changed files with 7,049 additions and 2,622 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
push:
branches:
# - master
- ai-video
tags:
- "v*"
Expand Down Expand Up @@ -70,7 +69,7 @@ jobs:
id: go
uses: actions/setup-go@v5
with:
go-version: 1.21.5
go-version: 1.23.2
cache: true
cache-dependency-path: go.sum

Expand Down Expand Up @@ -172,7 +171,7 @@ jobs:
id: go
uses: actions/setup-go@v5
with:
go-version: 1.21.5
go-version: 1.23.2
cache: true
cache-dependency-path: go.sum

Expand Down Expand Up @@ -338,7 +337,7 @@ jobs:
destination: "build.livepeer.live/${{ github.event.repository.name }}/ai-video/stable"
parent: false
process_gcloudignore: false

# Update the latest branch manifest
- name: Upload branch manifest file to Google Cloud stable folder
id: upload-manifest-latest
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Trigger test suite

on:
# pull_request:
# branches:
# - master
pull_request:
branches:
- master
- ai-video
push:
branches:
- master
Expand Down Expand Up @@ -43,7 +44,7 @@ jobs:
id: go
uses: actions/setup-go@v5
with:
go-version: 1.21.5
go-version: 1.23.2
cache: true
cache-dependency-path: go.sum

Expand Down Expand Up @@ -94,9 +95,9 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.52.2
version: v1.61.0
skip-pkg-cache: true
args: '--disable-all --enable=gofmt --enable=vet --enable=golint --deadline=4m pm verification'
args: '--out-format=colored-line-number --disable-all --enable=gofmt --enable=govet --enable=revive --timeout=4m pm verification'

- name: Run Revive Action by building from repository
uses: docker://morphy/revive-action:v2
Expand Down
1 change: 1 addition & 0 deletions cmd/livepeer/livepeer.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func parseLivepeerConfig() starter.LivepeerConfig {
cfg.HevcDecoding = flag.Bool("hevcDecoding", *cfg.HevcDecoding, "Enable or disable HEVC decoding")

// AI:
cfg.AIServiceRegistry = flag.Bool("aiServiceRegistry", *cfg.AIServiceRegistry, "Set to true to use an AI ServiceRegistry contract address")
cfg.AIWorker = flag.Bool("aiWorker", *cfg.AIWorker, "Set to true to run an AI worker")
cfg.AIModels = flag.String("aiModels", *cfg.AIModels, "Set models (pipeline:model_id) for AI worker to load upon initialization")
cfg.AIModelsDir = flag.String("aiModelsDir", *cfg.AIModelsDir, "Set directory where AI model weights are stored")
Expand Down
Loading

0 comments on commit b0fb366

Please sign in to comment.