-
Notifications
You must be signed in to change notification settings - Fork 518
[CI] Remove unused variables and cleanup #16233
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
base: main
Are you sure you want to change the base?
Conversation
| cleanup() { | ||
| echo "Deleting temporary files..." | ||
| rm -rf ${WORKSPACE}/${TMP_FOLDER_TEMPLATE_BASE}.* | ||
| echo "Done." | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, there is no folder created with mktemp with those variables as a template.
So I think this cleanup function can be deleted.
| export TMP_FOLDER_TEMPLATE_BASE="tmp.${REPO_NAME}" | ||
| export TMP_FOLDER_TEMPLATE="${TMP_FOLDER_TEMPLATE_BASE}.XXXXXXXXX" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were used in the past to create temporal folders to store the google_credentials.json file. But this was migrated in favor of using GCP OIDC (#13856)
This reverts commit 6656ead.
💔 Build Failed
Failed CI StepsHistory
cc @mrodm |
🚀 Benchmarks reportPackage
|
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
incident |
1067.24 | 857.49 | -209.75 (-19.65%) | 💔 |
vulnerability |
10204.08 | 8223.68 | -1980.4 (-19.41%) | 💔 |
Package o365 👍(1) 💚(0) 💔(1)
Expand to view
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
audit |
2159.83 | 1569.86 | -589.97 (-27.32%) | 💔 |
To see the full report comment with /test benchmark fullreport
Proposed commit message
Removed unused variables in Buildkite hooks.
The variables
TMP_FOLDER_TEMPLATEandTMP_FOLDER_TEMPLATE_BASEwere used before migrating to GCP OIDC #13856Tested failure in post-checkout hook: 6656ead
Checklist
changelog.ymlfile.Author's Checklist
TMP_FOLDER_TEMPLATEin.buildkite/scriptsfolderRelated issues