Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v2.5.x) Fix CI upstream tests #1180

Conversation

abelsromero
Copy link
Member

Kind of change

  • Bug fix
  • New non-breaking feature
  • New breaking feature
  • Documentation update
  • Build improvement

Description

What is the goal of this pull request?

TLDR; Fix CI upstream tests, same as #1179 but for v2.5.x branch.

How does it achieve that?

Since we need compatibility with Java 8, this PR only does minimal changes (unlike #1179). Simply remove the gem packaging.

Also bump jruby version, not strictly necessary, but I'd rather be on latests versions, you can't never be too paranoid about security.

Are there any alternative ways to implement this?

Same considerations as in #1179.

Are there any implications of this pull request? Anything a user must know?

Yes, always keep your CI healthy green_circle

Issue

If this PR fixes an open issue, please add a line of the form:

Fixes #1178

Release notes

Please add a corresponding entry to the file CHANGELOG.adoc

@robertpanzer
Copy link
Member

I had to remove the pluginRepository to get it running locally:

diff --git a/ci/asciidoctor-gem-installer.pom b/ci/asciidoctor-gem-installer.pom
index e03ca15..67230bc 100644
--- a/ci/asciidoctor-gem-installer.pom
+++ b/ci/asciidoctor-gem-installer.pom
@@ -14,12 +14,6 @@
             <url>http://rubygems-proxy.torquebox.org/releases</url>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>rubygems-releases</id>
-            <url>https://rubygems-proxy.torquebox.org/releases</url>
-        </pluginRepository>
-    </pluginRepositories>
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>

@abelsromero abelsromero force-pushed the issue-1178-fix-upstream-tests-v2.5.x-branch branch from ad6224f to b7eb3d3 Compare April 16, 2023 16:26
@abelsromero abelsromero marked this pull request as draft April 16, 2023 20:26
@abelsromero
Copy link
Member Author

Nevermind this branch, I am looking at the main branch in my fork. It's driving me crazy the nightly scheduled run is successful but the PRs are not 💩

@abelsromero abelsromero force-pushed the issue-1178-fix-upstream-tests-v2.5.x-branch branch from b7eb3d3 to 1233333 Compare April 16, 2023 22:31
@abelsromero abelsromero mentioned this pull request Apr 16, 2023
5 tasks
@abelsromero abelsromero force-pushed the issue-1178-fix-upstream-tests-v2.5.x-branch branch from b1ecf11 to 87ac494 Compare April 17, 2023 22:42
@abelsromero
Copy link
Member Author

Main branch is completed (if only for improvements), back to this one, I will be testing in my fork, don't worry if there's no activity here. I'll mark as ready when ready.

@abelsromero abelsromero force-pushed the issue-1178-fix-upstream-tests-v2.5.x-branch branch from 87ac494 to 309fa58 Compare April 20, 2023 20:45
* Bump jruby used for gem installation to 9.2.21.0
* Use s4u/[email protected]
* test-asciidoctor-upstream formatting
@abelsromero abelsromero marked this pull request as ready for review April 20, 2023 21:07
@abelsromero
Copy link
Member Author

At the end ported the formatting improvements from main branch and it works fine now.

@robertpanzer
Copy link
Member

Thanks a lot!

@robertpanzer robertpanzer merged commit 00fb2bf into asciidoctor:v2.5.x Apr 21, 2023
@abelsromero abelsromero deleted the issue-1178-fix-upstream-tests-v2.5.x-branch branch April 21, 2023 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants