Skip to content

Commit 2e72a65

Browse files
committed
Update sanity check after upgrade to central portal
There is no staging with central portal, so the sanity check cannot be run after the Maven release command.
1 parent d5e3a21 commit 2e72a65

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,14 @@ jobs:
3838
path: './tls-gen'
3939
- name: Start broker
4040
run: ci/start-broker.sh
41-
- name: Set up JDK for sanity check and documentation generation
41+
- name: Stop broker
42+
run: docker stop rabbitmq && docker rm rabbitmq
43+
- name: Set up JDK for and documentation generation
4244
uses: actions/setup-java@v4
4345
with:
4446
distribution: 'temurin'
4547
java-version: '21'
4648
cache: 'maven'
47-
- name: Sanity Check
48-
run: |
49-
source ./release-versions.txt
50-
export RABBITMQ_LIBRARY_VERSION=$RELEASE_VERSION
51-
curl -Ls https://sh.jbang.dev | bash -s - src/test/java/SanityCheck.java
52-
- name: Stop broker
53-
run: docker stop rabbitmq && docker rm rabbitmq
5449
- name: Publish Documentation
5550
run: |
5651
git config user.name "rabbitmq-ci"

.github/workflows/sanity-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
workflow_dispatch:
55
inputs:
66
library_version:
7-
description: 'Library version (e.g. 0.1.0)'
7+
description: 'Library version (e.g. 0.6.0)'
88
required: true
99
type: string
10-
default: '0.1.0'
10+
default: '0.6.0'
1111

1212
jobs:
1313
build:
@@ -34,4 +34,4 @@ jobs:
3434
env:
3535
RABBITMQ_LIBRARY_VERSION: ${{ inputs.library_version }}
3636
- name: Stop broker
37-
run: docker stop rabbitmq && docker rm rabbitmq
37+
run: docker stop rabbitmq && docker rm rabbitmq

src/test/java/SanityCheck.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
///usr/bin/env jbang "$0" "$@" ; exit $?
2-
//REPOS mavencentral,ossrh-snapshot=https://oss.sonatype.org/content/repositories/snapshots,ossrh-staging=https://oss.sonatype.org/content/groups/staging/
32
//DEPS com.rabbitmq.client:amqp-client:${env.RABBITMQ_LIBRARY_VERSION}
43
//DEPS org.slf4j:slf4j-simple:1.7.36
54

0 commit comments

Comments
 (0)