Skip to content

Commit

Permalink
Merge branch 'master' into snyk-fix-f6ac1cd94c1eef6488ffb732cad29aeb
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwalKathwate authored Jan 27, 2025
2 parents 8966b06 + b22f990 commit 5f4a383
Show file tree
Hide file tree
Showing 172 changed files with 6,403 additions and 1,791 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
command: sudo apt-get update && sudo apt-get -y install libnuma1
- run:
name: Maven Test
command: mvn test
command: mvn test -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- store_artifacts:
path: test.log

Expand All @@ -58,7 +58,11 @@ workflows:
mysql: "5.7"
requires: [ "build" ]
- test:
name: "test-8.0"
mysql: "8.0"
name: "test-8.4"
mysql: "8.4"
requires: [ "build" ]
- test:
name: "test-mariadb"
mysql: "mariadb"
requires: [ "build" ]

33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI to Zendesk Dockerhub

on:
push:
tags:
- v*.*.*

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: zendesk/checkout@v2
with:
fetch-depth: '1'
- name: Set up QEMU
run: |-
QEMU_IMAGE=tonistiigi/binfmt:latest
docker pull $QEMU_IMAGE
docker image inspect $QEMU_IMAGE
docker run --rm --privileged $QEMU_IMAGE --install all
- name: Set up Docker Buildx
id: buildx
uses: zendesk/[email protected]
with:
install: true
- name: Docker Build and push
run: |-
set -eu -o pipefail
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login --username=${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
set -x
current_tag=zendesk/maxwell:"${GITHUB_REF##refs/tags/}"
latest_tag=zendesk/maxwell:latest
docker buildx build --platform=linux/arm64,linux/amd64 --file=Dockerfile --push --tag="$current_tag" --tag="$latest_tag" .
Loading

0 comments on commit 5f4a383

Please sign in to comment.