Skip to content
Merged
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
18 changes: 9 additions & 9 deletions .github/workflows/agentk-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
test:
name: Unit test
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: 'read'
defaults:
Expand Down Expand Up @@ -61,8 +61,10 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v2
with:
cache-key: go/kubernetes-agent/hack/docker/Dockerfile.agentk
- name: Login to GHCR
uses: docker/login-action@v3
with:
Expand All @@ -76,16 +78,14 @@ jobs:
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
uses: useblacksmith/build-push-action@v2
with:
context: go
file: go/kubernetes-agent/hack/docker/Dockerfile.agentk
tags: ${{ env.REGISTRY_IMAGE }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platforms.platform }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
GIT_COMMIT=${{ github.sha }}
VERSION=${{ steps.meta.outputs.version }}
Expand All @@ -106,7 +106,7 @@ jobs:
publish:
name: Publish image
needs: [image]
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: 'read'
packages: 'write'
Expand All @@ -128,8 +128,8 @@ jobs:
with:
username: mjgpluralsh
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/agentk-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ jobs:
type=ref,event=pr
type=ref,event=branch
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v2
with:
cache-key: go/kubernetes-agent/hack/docker/Dockerfile.agentk
- name: Login to Container registry
uses: docker/login-action@v3
with:
Expand All @@ -68,15 +70,13 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
uses: useblacksmith/build-push-action@v2
with:
context: go
file: go/kubernetes-agent/hack/docker/Dockerfile.agentk
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platforms.platform }}
outputs: type=image,name=ghcr.io/${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
VERSION=v0.0.0-${{ env.IMAGE_SHA }}
GIT_COMMIT=${{ env.IMAGE_SHA }}
Expand All @@ -97,7 +97,7 @@ jobs:
publish:
name: Publish image
needs: [build-image]
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: 'read'
packages: 'write'
Expand All @@ -108,8 +108,8 @@ jobs:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ai-proxy-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ env:
jobs:
test:
name: Unit test
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
Expand Down Expand Up @@ -85,20 +85,20 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v2
with:
cache-key: go/ai-proxy/Dockerfile
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
uses: useblacksmith/build-push-action@v2
with:
context: "."
file: "./go/ai-proxy/Dockerfile"
tags: ${{ env.REGISTRY_IMAGE }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platforms.platform }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
GIT_COMMIT=${{ github.sha }}
VERSION=${{ steps.meta.outputs.version }}
Expand All @@ -118,7 +118,7 @@ jobs:
publish-image:
name: Publish ai-proxy image
needs: [ build-image ]
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: 'read'
id-token: 'write'
Expand Down Expand Up @@ -157,8 +157,8 @@ jobs:
with:
username: mjgpluralsh
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ai-proxy-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
test:
name: Unit test
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
Expand All @@ -30,7 +30,7 @@ jobs:
- run: yarn test
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
publish:
name: Publish helm chart
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
id-token: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
check-pr-body:
name: Ensure PR Body Format
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: 'read'
pull-requests: read
Expand Down
40 changes: 23 additions & 17 deletions .github/workflows/cloud-query-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
jobs:
test:
name: Unit test
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
Expand Down Expand Up @@ -98,22 +98,28 @@ jobs:
with:
username: mjgpluralsh
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Login to Docker Hardened Images
uses: docker/login-action@v3
with:
registry: dhi.io
username: mjgpluralsh
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v2
with:
cache-key: go/cloud-query/db.Dockerfile
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
uses: useblacksmith/build-push-action@v2
with:
context: "./go/cloud-query"
file: "./go/cloud-query/db.Dockerfile"
tags: ${{ env.REGISTRY_IMAGE_DB }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platforms.platform }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
GIT_COMMIT=${{ github.sha }}
VERSION=${{ steps.meta.outputs.version }}
Expand Down Expand Up @@ -186,20 +192,20 @@ jobs:
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v2
with:
cache-key: go/cloud-query/Dockerfile
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
uses: useblacksmith/build-push-action@v2
with:
context: "./go/cloud-query"
file: "./go/cloud-query/Dockerfile"
tags: ${{ env.REGISTRY_IMAGE }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platforms.platform }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
GIT_COMMIT=${{ github.sha }}
VERSION=${{ steps.meta.outputs.version }}
Expand Down Expand Up @@ -230,7 +236,7 @@ jobs:
- ghcr.io/pluralsh/cloud-query-db
- gcr.io/pluralsh/cloud-query-db
- docker.io/pluralsh/cloud-query-db
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Download digests
uses: actions/download-artifact@v7
Expand Down Expand Up @@ -258,8 +264,8 @@ jobs:
with:
username: mjgpluralsh
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -293,7 +299,7 @@ jobs:
- ghcr.io/pluralsh/cloud-query
- gcr.io/pluralsh/cloud-query
- docker.io/pluralsh/cloud-query
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Download digests
uses: actions/download-artifact@v7
Expand Down Expand Up @@ -321,8 +327,8 @@ jobs:
with:
username: mjgpluralsh
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloud-query-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
Expand All @@ -35,7 +35,7 @@ jobs:
- run: PATH=$PATH:$GOPATH/bin make build
test:
name: Unit test
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: read
security-events: write
name: CodeQL
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compatability-matrices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
sync-to-s3:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compatibility-schema-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:

jobs:
validate-compatibility-schemas:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down
Loading
Loading