Skip to content

mirrored queue does not mirror replication queues (#25) #20

mirrored queue does not mirror replication queues (#25)

mirrored queue does not mirror replication queues (#25) #20

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
# See the NOTICE file distributed with this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing
# permissions and limitations under the License.
name: run full suite of tests and automations
on:
push:
branches:
- 'feature/replicationPlugin'
jobs:
release:
name: push current changes to ${{ matrix.branch }}
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
branch: [ 'activemq-5.17.3.crdr' ]
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
- name: read in sync sha from ${{ matrix.branch }}
id: sync_data
run: |
echo "SYNC_SHA=$(cat ci.data)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: generating diff from base ${{ github.ref }}
run: |
/usr/bin/git fetch || true
export REMOTE_HEAD=$(/usr/bin/git rev-parse ${{ github.ref }})
echo "REMOTE_HEAD=${REMOTE_HEAD}" >> $GITHUB_OUTPUT
/usr/bin/git diff ${{ steps.sync_data.outputs.SYNC_SHA }}..$REMOTE_HEAD > /tmp/${{ matrix.branch }}-diff.patch
id: get_diff
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
fetch-depth: 0
- run: |
/usr/bin/git apply --reject --whitespace=fix --exclude=.github* /tmp/${{ matrix.branch }}-diff.patch
export REMOTE_HEAD=${{ steps.get_diff.outputs.REMOTE_HEAD }}
echo $REMOTE_HEAD > ci.data
/usr/bin/git status
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "auto commit from feature/replicationPlugin branch"
full_test_suite:
name: Run full suite tests on new changes
runs-on: self-hosted
timeout-minutes: 1440
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'corretto'
cache: maven
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.2
- name: run full tests
run: mvn -s .github/maven-settings.xml -B -e -fae test -Dsurefire.rerunFailingTestsCount=3