Skip to content

Conversation

@tsweckard
Copy link

@tsweckard tsweckard commented Jan 6, 2026

Our current workflow after PR 21 get's merged requires manually downloading the JAR file built from the build pipeline, creating a new branch in the DevOps GraphHopper repository, copying the JAR over and submitting a PR.

This updates our build pipeline to do all of this for us by accessing the Azure DevOps repo, copying the built JAR and creating a PR with Chan and I as reviewers.

@tsweckard tsweckard changed the title test: connection to azure devops Automate GH JAR Upload to DevOps Jan 7, 2026
@tsweckard tsweckard requested a review from chansbtran January 7, 2026 19:05
Base automatically changed from us/15789-build-pipeline to master January 7, 2026 19:15
@tsweckard tsweckard requested a review from Brant26 January 7, 2026 19:18
git add resources/
git commit -m "Update GraphHopper JAR from GitHub build - ${{ steps.jar-info.outputs.date }}" \
-m "Built from commit: ${{ github.sha }}" \
-m "Java version: 25"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: sometimes when we merge from GH main, the Java version is updated. How were you thinking about handling that?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a good way of dynamically updating this. I thought we could read it from a pom.xml file but it's only being updated in this build yml so we'll have to ensure that when we merge main, we update the values in this pipeline.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll want some sort of documentation in order to store these steps so that we don't need to remember all of the processes. Then we can update the values as we're merging in main.

Since we're likely not merging our fork back in, what are your thoughts on adding some documentation in this repo? @payneBrandon

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that just needed to run the JAR file in our VM? It'd be fine to add in some documentation to it I think

Copy link
Collaborator

@chansbtran chansbtran Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think some documentation on keeping this build.yml updated, how to keep the secrets updated, and briefly how it works. Since we're updating it to build the jar automatically, we don't need to document how to compile and build it as much.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added documentation

@tsweckard tsweckard requested a review from chansbtran January 12, 2026 20:00
Copy link
Collaborator

@chansbtran chansbtran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just an open comment for Brandon regarding documentation.

Copy link

@payneBrandon payneBrandon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a couple questions, all makes sense to me so far!

Copy link

@payneBrandon payneBrandon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm w/documentation comment

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

tsweckard and others added 3 commits January 19, 2026 09:06
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

4 participants