Skip to content

Commit

Permalink
Implement separate test for Connect
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpittwood committed Apr 5, 2024
1 parent a464776 commit 9fefe59
Show file tree
Hide file tree
Showing 11 changed files with 162 additions and 958 deletions.
42 changes: 31 additions & 11 deletions .github/workflows/build-bake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,40 @@ on:
- dev
pull_request:

name: Build Docker Images with Bake
name: Bake Docker Images
jobs:
build:
runs-on: ubuntu-latest-4x
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/bake-action@v4
with:
targets: "build-test"
push: false
- name: Set up Just
uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/bake-action@v4
with:
targets: "build-test"
push: false

- name: Test Connect (privileged container)
run: |
just -f build.justfile test-connect
- name: Build and push
if: github.ref == 'refs/heads/main'
uses: docker/bake-action@v4
with:
targets: "build"
push: true

215 changes: 0 additions & 215 deletions .github/workflows/build-content.yaml

This file was deleted.

Loading

0 comments on commit 9fefe59

Please sign in to comment.