Skip to content

Conversation

@adoroszlai
Copy link
Contributor

@adoroszlai adoroszlai commented Nov 29, 2022

What changes were proposed in this pull request?

Minor addendum for #4004: the reusable workflow does not get the caller's secrets by default, so the coverage check is running into error.

SONAR_TOKEN environment variable should be set

https://github.com/apache/ozone/actions/runs/3574181477/jobs/6010427884#step:8:19

The coverage check is run only in Apache repo for push events, so it was not flagged in my fork, nor the PR.

Reference:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecretsinherit

https://issues.apache.org/jira/browse/HDDS-7540

How was this patch tested?

It will be tested when the PR is merged.

@adoroszlai adoroszlai self-assigned this Nov 29, 2022
@kerneltime
Copy link
Contributor

I was looking at the commit log and noticed the failure. Thank you for the fix!

@kerneltime
Copy link
Contributor

Should we add coverage to PRs?

@adoroszlai
Copy link
Contributor Author

Thanks @kerneltime for the review.

Should we add coverage to PRs?

It wouldn't have helped here, because the part that requires the token (upload to Sonar) is not applicable to PRs.

We can discuss possible ways to utilize coverage data for PRs later.

@adoroszlai adoroszlai merged commit 45778cc into apache:master Dec 1, 2022
@adoroszlai adoroszlai deleted the HDDS-7540 branch December 1, 2022 10:02
Galsza pushed a commit to Galsza/ozone that referenced this pull request Dec 7, 2022
errose28 added a commit to errose28/ozone that referenced this pull request Dec 12, 2022
* master: (110 commits)
  HDDS-7472. EC: Fix NSSummaryEndpoint#getDiskUsage for EC keys (apache#3987)
  HDDS-5704. Ozone URI syntax description in help content needs to mention about ozone service id (apache#3862)
  HDDS-7555. Upgrade Ratis to 2.4.2-8b8bdda-SNAPSHOT. (apache#4028)
  HDDS-7541. FSO recursive delete directory with hierarchy takes much time for cleanup (apache#4008)
  HDDS-7581. Fix update-jar-report for snapshot (apache#4034)
  HDDS-7253. Fix exception when '/' in key name (apache#4038)
  HDDS-7579. Use Netty 4.1.77 for consistency (apache#4031)
  HDDS-7562. Suppress warning about long filenames in tar (apache#4017)
  HDDS-7563. Add a handler for under replicated Ratis containers in RM (apache#4025)
  HDDS-7497. Fix mkdir does not update bucket's usedNamespace (apache#3969)
  HDDS-7567. Invalid entries in LICENSE (apache#4020)
  HDDS-7575. Correct showing of RATIS-THREE icon in Recon UI (apache#4026)
  HDDS-7540. Let reusable workflow inherit secrets (apache#4012)
  HDDS-7568. Bump copyright year in NOTICE (apache#4018)
  HDDS-7394. OM RPC FairCallQueue decay decision metrics list caller username in the metric (apache#3878)
  HDDS-7510. Recon: Return number of open containers in `/clusterState` endpoint (apache#3989)
  HDDS-7561. Improve setquota, clrquota CLI usage (apache#4016)
  HDDS-6615. EC: Improve write performance by pipelining encode and flush (apache#3994)
  HDDS-7554. Recon UI should show DORMANT in pipeline status filter (apache#4010)
  HDDS-7540. Separate scheduled CI from push/PR workflows (apache#4004)
  ...
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