Skip to content

Commit f00e076

Browse files
author
David Thrower
committed
Decouple docker build from automerge.
1 parent b2ca906 commit f00e076

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

.github/workflows/automerge.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ jobs:
3535
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3636
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3737
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
38-
- name: Build Docker Image
39-
run: docker build -t davidt101/cerebros-llm:0001 .
40-
- name: Run Smoke Test
41-
run: docker run --rm davidt101/cerebros-llm:0001
4238
4339
# - name: Train Cerebros Composite LLM
4440
# run: python3 temp-train-a-generative-llm.py

.github/workflows/docker-build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Python application
5+
6+
on:
7+
push:
8+
9+
branches: [ "main", "309-from-307-dockerize-the-best-run-from-hpo-study" ]
10+
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
# container:
19+
# image: python:33.11.9
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Test Cerebros
23+
uses: actions/setup-python@v3
24+
with:
25+
python-version: "3.12" # "3.11"
26+
- name: Build Docker Image
27+
run: docker build -t davidt101/cerebros-llm:0001 .
28+
- name: Run Smoke Test
29+
run: docker run --rm davidt101/cerebros-llm:0001

0 commit comments

Comments
 (0)