Skip to content

Commit aa41450

Browse files
committed
ops: faster ci button?
1 parent 3c96eab commit aa41450

File tree

4 files changed

+57
-58
lines changed

4 files changed

+57
-58
lines changed

.github/workflows/chat-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- '.github/workflows/**'
1212
jobs:
1313
build-test:
14-
runs-on: ubuntu-latest
14+
runs-on: blacksmith-4vcpu-ubuntu-2204|
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Setting up
@@ -21,7 +21,7 @@ jobs:
2121
- name: Running lint
2222
run: yarn --cwd chat build
2323
eslint:
24-
runs-on: ubuntu-latest
24+
runs-on: blacksmith-4vcpu-ubuntu-2204|
2525
steps:
2626
- uses: actions/checkout@v2
2727
- name: Setting up

.github/workflows/push-server.yml

Lines changed: 51 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,52 @@
11
name: Create Docker Images
2-
on:
3-
workflow_call:
4-
secrets:
5-
DOCKER_USERNAME:
6-
required: true
7-
DOCKER_PASSWORD:
8-
required: true
9-
workflow_dispatch:
10-
push:
11-
branches:
12-
- 'main'
13-
14-
jobs:
15-
build_server:
16-
name: Building Server Docker Image
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Checkout the repo
20-
uses: actions/checkout@v4
21-
22-
- name: Setup buildx
23-
uses: docker/setup-buildx-action@v3
24-
25-
- name: Login to Docker Hub
26-
uses: docker/login-action@v3
27-
with:
28-
username: ${{ secrets.DOCKER_USERNAME }}
29-
password: ${{ secrets.DOCKER_PASSWORD }}
30-
31-
- name: Docker meta
32-
id: meta
33-
uses: docker/metadata-action@v5
34-
with:
35-
# list of Docker images to use as base name for tags
36-
images: |
37-
arguflow/search
38-
tags: |
39-
type=schedule
40-
type=ref,event=branch
41-
type=ref,event=pr
42-
type=sha
43-
44-
- name: Build and push Docker image
45-
uses: docker/build-push-action@v5
46-
with:
47-
cache-from: type=gha
48-
cache-to: type=gha,mode=max
49-
context: server/
50-
file: ./server/Dockerfile.no-ocr
51-
push: true
52-
tags: ${{ steps.meta.outputs.tags }}
53-
labels: ${{ steps.meta.outputs.labels }}
2+
# on:
3+
# workflow_call:
4+
# secrets:
5+
# DOCKER_USERNAME:
6+
# required: true
7+
# DOCKER_PASSWORD:
8+
# required: true
9+
# workflow_dispatch:
10+
# push:
11+
# branches:
12+
# - 'main'
13+
#
14+
# jobs:
15+
# build_server:
16+
# name: Building Server Docker Image
17+
# steps:
18+
# - name: Checkout the repo
19+
# uses: actions/checkout@v4
20+
#
21+
# - name: Setup buildx
22+
# uses: docker/setup-buildx-action@v3
23+
#
24+
# - name: Login to Docker Hub
25+
# uses: docker/login-action@v3
26+
# with:
27+
# username: ${{ secrets.DOCKER_USERNAME }}
28+
# password: ${{ secrets.DOCKER_PASSWORD }}
29+
#
30+
# - name: Docker meta
31+
# id: meta
32+
# uses: docker/metadata-action@v5
33+
# with:
34+
# # list of Docker images to use as base name for tags
35+
# images: |
36+
# arguflow/search
37+
# tags: |
38+
# type=schedule
39+
# type=ref,event=branch
40+
# type=ref,event=pr
41+
# type=sha
42+
#
43+
# - name: Build and push Docker image
44+
# uses: docker/build-push-action@v5
45+
# with:
46+
# cache-from: type=gha
47+
# cache-to: type=gha,mode=max
48+
# context: server/
49+
# file: ./server/Dockerfile.no-ocr
50+
# push: true
51+
# tags: ${{ steps.meta.outputs.tags }}
52+
# labels: ${{ steps.meta.outputs.labels }}

.github/workflows/rust-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- '.github/workflows/**'
1212
jobs:
1313
clippy_check:
14-
runs-on: ubuntu-latest
14+
runs-on: blacksmith-4vcpu-ubuntu-2204
1515
steps:
1616
- uses: actions/checkout@v1
1717
- run: rustup component add clippy
@@ -20,7 +20,7 @@ jobs:
2020
token: ${{ secrets.GITHUB_TOKEN }}
2121
args: --features runtime-env --manifest-path server/Cargo.toml
2222
redoc:
23-
runs-on: ubuntu-latest
23+
runs-on: blacksmith-4vcpu-ubuntu-2204
2424
steps:
2525
- uses: actions/checkout@v2
2626
- name: Installing Vaccum

.github/workflows/search-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- '.github/workflows/**'
1212
jobs:
1313
build-test:
14-
runs-on: ubuntu-latest
14+
runs-on: blacksmith-4vcpu-ubuntu-2204|
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Setting up
@@ -21,7 +21,7 @@ jobs:
2121
- name: Running lint
2222
run: yarn --cwd search build
2323
eslint:
24-
runs-on: ubuntu-latest
24+
runs-on: blacksmith-4vcpu-ubuntu-2204|
2525
steps:
2626
- uses: actions/checkout@v2
2727
- name: Setting up

0 commit comments

Comments
 (0)