Skip to content

ci: execute git step in docker, validate version#35

Merged
venikkin merged 2 commits intoneo4j:mainfrom
venikkin:fix-release-pipeline
Nov 23, 2023
Merged

ci: execute git step in docker, validate version#35
venikkin merged 2 commits intoneo4j:mainfrom
venikkin:fix-release-pipeline

Conversation

@venikkin
Copy link
Contributor

@venikkin venikkin commented Nov 23, 2023

Fix few first identified issues:

  • Runners don't have permissions on apt - fixed by running apt + git scripts in docker
  • It's possible to start build with regular Run button having empty version despite of allowEmpty = false - not entirely fixed, but remediated by validating versions as early as possible.

@venikkin venikkin marked this pull request as ready for review November 23, 2023 10:34
@venikkin venikkin requested a review from ali-ince November 23, 2023 10:35
Copy link
Contributor

@ali-ince ali-ince left a comment

Choose a reason for hiding this comment

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

looks good, just had one minor comment.

git commit -m "build: release version %version%"
git push
""".trimIndent()

Copy link
Contributor

Choose a reason for hiding this comment

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

just thought if we should be specific on what we include in git add such as git add **/pom.xml not to accidentally commit other changes?

@ali-ince
Copy link
Contributor

maybe we have add the following parameters to the param() declaration to have TC to prompt?

display = ParameterDisplay.PROMPT, label = "version to release"

@venikkin venikkin merged commit 9f359d2 into neo4j:main Nov 23, 2023
@venikkin venikkin deleted the fix-release-pipeline branch November 23, 2023 11:53
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