Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Latest upstream trunk cross platform #56

Draft
wants to merge 3 commits into
base: trunk
Choose a base branch
from
Draft
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
17 changes: 15 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,24 @@ jobs:
build-and-test:
name: Build & test Docker images with random user
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
strategy:
fail-fast: false
matrix:
use-random-user: [false, true]
platform: [linux/amd64, linux/arm64]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
- name: Output Docker info
run: docker info
- name: Set up Python
Expand All @@ -38,13 +51,13 @@ jobs:
- name: Sets build date
run: echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
- name: Build Docker images
run: VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make build
run: NAME=localhost:5000/selenium BUILD_ARGS="--platform ${{ matrix.platform }} --push" VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make build
- name: Test Docker images
uses: nick-invision/[email protected]
with:
timeout_minutes: 20
max_attempts: 3
command: |
USE_RANDOM_USER_ID=${USE_RANDOM_USER} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make test
USE_RANDOM_USER_ID=${USE_RANDOM_USER} SKIP_BUILD=true NAME=localhost:5000/selenium VERSION=${BRANCH} PLATFORM=${{ matrix.platform }} BUILD_DATE=${BUILD_DATE} make test
env:
USE_RANDOM_USER: ${{ matrix.use-random-user }}
99 changes: 0 additions & 99 deletions .github/workflows/deploy.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/helm-chart-release.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/workflows/helm-chart-test.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/label-commenter.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/lock.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/test-video.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/update-chart-changelog.yaml

This file was deleted.

Loading