Skip to content

Commit

Permalink
Document reason for deletion of ~/.m2/settings.xml in Beam experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
clayburn committed Sep 7, 2023
1 parent 0e8ed38 commit da2a149
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/run-experiments-apache-beam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Remove Maven Settings
# Beam uses the [gradle-maven-settings-plugin](https://github.com/mark-vieira/gradle-maven-settings-plugin/)
# to read repo authentication from Maven settings and use it in their Gradle build. It seems that plugin does not
# [support encrypted credentials](https://github.com/mark-vieira/gradle-maven-settings-plugin/issues/15),
# but this is what GitHub Actions provides by default. Deleting `settings.xml` is what Beam do in their own CI
# builds on GitHub Actions: https://github.com/apache/beam/blob/ca0345b8acc7dd5ebc0506d48faa6474fe0b3ca0/.github/workflows/java_tests.yml#L89
run: rm $HOME/.m2/settings.xml
- name: Ignore Test Failures
run: |
Expand Down

0 comments on commit da2a149

Please sign in to comment.