Skip to content

Conversation

@jiangxb1987
Copy link
Contributor

What changes were proposed in this pull request?

release-build.sh fail to publish release under dry run mode with the following error message:

/opt/spark-rm/release-build.sh: line 429: pushd: spark-repo-g4MBm/org/apache/spark: No such file or directory

We need to at least run the mvn clean install command once to create the $tmp_repo path, but now those steps are all skipped under dry-run mode. This PR fixes the issue.

How was this patch tested?

Tested locally.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @jiangxb1987 .
To reviewers, the logic is correct because local installation is okay with Dry Run.
Merged to master/2.4.

dongjoon-hyun pushed a commit that referenced this pull request Oct 30, 2019
`release-build.sh` fail to publish release under dry run mode with the following error message:
```
/opt/spark-rm/release-build.sh: line 429: pushd: spark-repo-g4MBm/org/apache/spark: No such file or directory
```

We need to at least run the `mvn clean install` command once to create the `$tmp_repo` path, but now those steps are all skipped under dry-run mode. This PR fixes the issue.

Tested locally.

Closes #26329 from jiangxb1987/dryrun.

Authored-by: Xingbo Jiang <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 155a67d)
Signed-off-by: Dongjoon Hyun <[email protected]>
@jiangxb1987
Copy link
Contributor Author

Thanks @dongjoon-hyun !

@SparkQA
Copy link

SparkQA commented Oct 30, 2019

Test build #112962 has finished for PR 26329 at commit 0041a72.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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.

3 participants