Skip to content

Bump opentelemetry.version from 1.30.1 to 1.31.0 #345

Bump opentelemetry.version from 1.30.1 to 1.31.0

Bump opentelemetry.version from 1.30.1 to 1.31.0 #345

Workflow file for this run

name: Test against RabbitMQ 3.12 stable
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Checkout tls-gen
uses: actions/checkout@v4
with:
repository: rabbitmq/tls-gen
path: './tls-gen'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Start cluster
run: ci/start-cluster.sh
- name: Get dependencies
run: make deps
- name: Test with NIO
run: |
./mvnw verify -P '!setup-test-cluster,use-nio' -Drabbitmqctl.bin=DOCKER:rabbitmq \
-Dtest-broker.A.nodename=rabbit@$(hostname) -Dtest-broker.B.nodename=hare@$(hostname) \
-Dmaven.javadoc.skip=true \
-Dtest-client-cert.password= -Dtest-tls-certs.dir=rabbitmq-configuration/tls \
--no-transfer-progress
- name: Test with blocking IO
run: |
./mvnw verify -P '!setup-test-cluster' -Drabbitmqctl.bin=DOCKER:rabbitmq \
-Dtest-broker.A.nodename=rabbit@$(hostname) -Dtest-broker.B.nodename=hare@$(hostname) \
-Dmaven.javadoc.skip=true \
-Dtest-client-cert.password= -Dtest-tls-certs.dir=rabbitmq-configuration/tls \
--no-transfer-progress
- name: Stop broker A
run: docker stop rabbitmq && docker rm rabbitmq
- name: Stop broker B
run: docker stop hare && docker rm hare
- name: Publish snapshot
if: ${{ github.event_name != 'pull_request' }}
run: ./mvnw clean deploy -Psnapshots -DskipITs -DskipTests --no-transfer-progress
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}