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

[improve][ci] Replace handmade action to configure Gradle Enterprise #20218

Merged

Conversation

clayburn
Copy link
Contributor

@clayburn clayburn commented May 3, 2023

Motivation

After the PR #20187, the custom action at .github/actions/gradle-enterprise/action.yml simply sets the GRADLE_ENTERPRISE_ACCESS_KEY environment variable. Since this is the only step performed by this action, it makes sense to remove it to simplify workflows.

This was mentioned in the review for #20187: #20187 (review)

Modifications

  • Remove the custom gradle-enterprise action
  • Use the built in env configuration to set the GRADLE_ENTERPRISE_ACCESS_KEY where needed

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 3, 2023
@tisonkun
Copy link
Member

tisonkun commented May 3, 2023

Thanks for taking care of this @clayburn!

@@ -721,11 +706,6 @@ jobs:
- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Configure Gradle Enterprise
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't believe this was needed. This job does not seem to run a Maven build.

@@ -1208,11 +1177,6 @@ jobs:
- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Configure Gradle Enterprise
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't believe this was needed. This job does not seem to run a Maven build.

@clayburn
Copy link
Contributor Author

clayburn commented May 3, 2023

Thanks for taking care of this @clayburn!

No problem @tisonkun! Very fast approval, before I could even add a couple of explanatory comments 🙂.

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contribution @clayburn

@nodece
Copy link
Member

nodece commented May 4, 2023

/pulsarbot rerun-failure-checks

@codecov-commenter
Copy link

Codecov Report

Merging #20218 (eec8562) into master (a22700d) will increase coverage by 35.25%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #20218       +/-   ##
=============================================
+ Coverage     37.66%   72.92%   +35.25%     
- Complexity      345    31952    +31607     
=============================================
  Files          1691     1868      +177     
  Lines        129004   138539     +9535     
  Branches      14071    15246     +1175     
=============================================
+ Hits          48592   101028    +52436     
+ Misses        74114    29469    -44645     
- Partials       6298     8042     +1744     
Flag Coverage Δ
inttests 24.19% <ø> (-0.03%) ⬇️
systests 24.76% <ø> (-0.12%) ⬇️
unittests 72.21% <ø> (+39.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1430 files with indirect coverage changes

@tisonkun tisonkun merged commit 010bd50 into apache:master May 4, 2023
48 checks passed
@poorbarcode poorbarcode added this to the 3.1.0 milestone May 7, 2023
lhotari pushed a commit that referenced this pull request May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants