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

PMM-12899 Use module and build cache for PMM Client #2871

Closed
wants to merge 0 commits into from

Conversation

ademidoff
Copy link
Member

@ademidoff ademidoff commented Mar 5, 2024

PMM-12899

Link to the Feature Build: SUBMODULES-3589

  • Links to related pull requests (optional).

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.27%. Comparing base (927c2d1) to head (bb728ea).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2871      +/-   ##
==========================================
- Coverage   42.27%   42.27%   -0.01%     
==========================================
  Files         396      396              
  Lines       50122    50123       +1     
==========================================
  Hits        21188    21188              
- Misses      26931    26932       +1     
  Partials     2003     2003              
Flag Coverage Δ
admin 11.60% <ø> (ø)
agent 53.33% <ø> (-0.01%) ⬇️
managed 42.80% <ø> (ø)
vmproxy 68.57% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ademidoff ademidoff force-pushed the PMM-12899-use-module-and-build-cache branch from 34ddc26 to 6052a6e Compare March 6, 2024 16:42
@ademidoff
Copy link
Member Author

@pmmbot rebuild

@ademidoff ademidoff force-pushed the PMM-12899-use-module-and-build-cache branch from 563e7a3 to 224eefe Compare March 17, 2024 13:31
@@ -481,8 +490,6 @@ if [ "$TARBALL" = '1' -o "$SOURCE" = '1' ]; then
fi

check_workdir
get_system
Copy link
Member Author

Choose a reason for hiding this comment

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

These two functions already get executed a few lines above.

fi
}

main() {
rm -rf ${source_tarball}
mkdir -p ${source_dir}/ $(dirname ${source_tarball}) || :
echo "PMM_SUBMODULES_COMMIT=$(git rev-parse --short HEAD)" > ${client_properties}
Copy link
Member Author

Choose a reason for hiding this comment

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

This was unused.

@ademidoff ademidoff force-pushed the PMM-12899-use-module-and-build-cache branch from 653b5a8 to 00a7c96 Compare March 17, 2024 19:51
@@ -143,8 +143,8 @@ jobs:
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_TOKEN_PMM_CI }}
SLACK_CHANNEL: "pmm-ci"
SLACK_USERNAME: "PR pipelines bot"
SLACK_ICON_EMOJI: ":chestnut:"
Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, I couldn't resist - octocat seems to be a bit more to the point here :)

@@ -133,7 +131,6 @@ get_sources(){
echo "MongoExp_BRANCH_NAME=${MongoExp_BRANCH_NAME}" >> $VERSION_FILE
echo "MysqlExp_BRANCH_NAME=${MysqlExp_BRANCH_NAME}" >> $VERSION_FILE
echo "ProxysqlExp_BRANCH_NAME=${ProxysqlExp_BRANCH_NAME}" >> $VERSION_FILE
echo "QAN_BRANCH_NAME=${QAN_BRANCH_NAME}" >> $VERSION_FILE
Copy link
Member Author

Choose a reason for hiding this comment

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

These removed variables were not used at all.

@ademidoff ademidoff force-pushed the PMM-12899-use-module-and-build-cache branch 2 times, most recently from ed6ea92 to bb728ea Compare March 20, 2024 23:11
@ademidoff ademidoff closed this Mar 20, 2024
@ademidoff ademidoff force-pushed the PMM-12899-use-module-and-build-cache branch from bb728ea to 4879e9c Compare March 20, 2024 23:29
@ademidoff ademidoff deleted the PMM-12899-use-module-and-build-cache branch March 20, 2024 23:34
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.

1 participant