fix: Update APT repo configuration steps in dotnet linux recipe - #1227
Conversation
|
@shashank-reddy-nr Hi, this is Alex from the .NET agent team. I see that the CI for this PR is failing because I did it from a fork. However, I don't have permissions to push a branch directly to this repo. Can I get permissions to do that? Thanks. |
|
Hey @nr-ahemsath This repo has 90+ integration tests which will spin up EC2s always you change sometime in recipes. So, in-order to restrict integration tests to run without our notice, we only allow integration tests to run from non forked branches. As this repo is managed by self serve tool. If we want to add individuals to repos. Its not possible and we need to add your team as maintainers to repo. We generally add frequent contributors as maintainers to this repo using selfserve tool. So, we ask to raise pr to forked-PRs branch and we merge it directly, then we raise a PR to main branch from forked-PRs to main. I have raised a PR to main branch. |
…Monitoring (#1240) * fix: Update APT repo configuration steps in dotnet linux recipe (#1227) * feat: Added CLI changes for MySQL RDS Query Performance Monitoring (#1217) * feat: Added minor enhancements to MySQL recipe (#1189) * feat: Added minor enhancements to db query analysis * fix: Empty commit * fix: minor fixes * fix: minor enhancements * fix:Added minor enhancements * fix:Added check for schema and store procedure creation * feat: Added CLI changes for MySQL RDS Query Performance Monitoring * feat: Added minor enhancements * feat: Added minor enhancements * feat: Removed duplicate file * feat: Docs link update * feat: fixed PROCEDURE enable_essential_consumers_and_instruments does not exist * Revert "feat: Added minor enhancements to MySQL recipe (#1189)" (#1212) This reverts commit 3bf473e. * feat: Added processMatch * feat: Added install targets and discoveryMode --------- Co-authored-by: Pulipelly Shashank Reddy <spulipelly@newrelic.com> Co-authored-by: Nandu-pns <100915954+Nandu-pns@users.noreply.github.com> Co-authored-by: vagrawal-newrelic <vagrawal@newrelic.com> * feat: Added Guided Install (CLI) for Postgres On-Host and RDS Query Monitoring(#1211) * feat: Added Guided Install (CLI) for Postgres On-Host and RDS Query Monitoring * fix: Updated RDS flag and config file * fix: Added is_rds flag in the config file * Removed OS versions regex --------- Co-authored-by: vagrawal-newrelic <vagrawal@newrelic.com> * feat: Add new eBPF Installation Recipe for Ubuntu (#1228) * Initial commit - eBPF agent recipe * Create default config file and minor bug fixes * Add GPG key verification * Set discoveryMode to targeted * Remove test code * Remove version 21 from platformVersion list * Update postInstall info message * Increase certificate expiry to 2 years * Remove linux header installation task * Remove unit test case * Point APT source to production --------- Co-authored-by: Pulipelly Shashank Reddy <spulipelly@newrelic.com> * Revert "feat: Add new eBPF Installation Recipe for Ubuntu (#1228)" (#1244) This reverts commit d6b1c69. --------- Co-authored-by: Alex Hemsath <57361211+nr-ahemsath@users.noreply.github.com> Co-authored-by: Pulipelly Shashank Reddy <spulipelly@newrelic.com> Co-authored-by: spathlavath <spathlavath@newrelic.com> Co-authored-by: Nandu-pns <100915954+Nandu-pns@users.noreply.github.com> Co-authored-by: pkudikyala <105910179+pkudikyala@users.noreply.github.com> Co-authored-by: Kapil Khandelwal <kkhandelwal@newrelic.com>
* fix: Update APT repo configuration steps in dotnet linux recipe (#1227) * feat: Added CLI changes for MySQL RDS Query Performance Monitoring (#1217) * feat: Added minor enhancements to MySQL recipe (#1189) * feat: Added minor enhancements to db query analysis * fix: Empty commit * fix: minor fixes * fix: minor enhancements * fix:Added minor enhancements * fix:Added check for schema and store procedure creation * feat: Added CLI changes for MySQL RDS Query Performance Monitoring * feat: Added minor enhancements * feat: Added minor enhancements * feat: Removed duplicate file * feat: Docs link update * feat: fixed PROCEDURE enable_essential_consumers_and_instruments does not exist * Revert "feat: Added minor enhancements to MySQL recipe (#1189)" (#1212) This reverts commit 3bf473e. * feat: Added processMatch * feat: Added install targets and discoveryMode --------- Co-authored-by: Pulipelly Shashank Reddy <spulipelly@newrelic.com> Co-authored-by: Nandu-pns <100915954+Nandu-pns@users.noreply.github.com> Co-authored-by: vagrawal-newrelic <vagrawal@newrelic.com> * feat: Added Guided Install (CLI) for Postgres On-Host and RDS Query Monitoring(#1211) * feat: Added Guided Install (CLI) for Postgres On-Host and RDS Query Monitoring * fix: Updated RDS flag and config file * fix: Added is_rds flag in the config file * Removed OS versions regex --------- Co-authored-by: vagrawal-newrelic <vagrawal@newrelic.com> * feat: Add new eBPF Installation Recipe for Ubuntu (#1228) * Initial commit - eBPF agent recipe * Create default config file and minor bug fixes * Add GPG key verification * Set discoveryMode to targeted * Remove test code * Remove version 21 from platformVersion list * Update postInstall info message * Increase certificate expiry to 2 years * Remove linux header installation task * Remove unit test case * Point APT source to production --------- Co-authored-by: Pulipelly Shashank Reddy <spulipelly@newrelic.com> * Revert "feat: Add new eBPF Installation Recipe for Ubuntu (#1228)" (#1244) This reverts commit d6b1c69. * feat: Add new eBPF Installation Recipe for Ubuntu (#1245) * Initial commit - eBPF agent recipe * Create default config file and minor bug fixes * Add GPG key verification * Set discoveryMode to targeted * Remove test code * Remove version 21 from platformVersion list * Update postInstall info message * Increase certificate expiry to 2 years * Remove linux header installation task * Remove unit test case * Point APT source to production --------- * Update OTLP_ENDPOINT dynamically based on environment --------- Co-authored-by: Kapil Khandelwal <kkhandelwal@newrelic.com>
* fix: Update APT repo configuration steps in dotnet linux recipe (newrelic#1227) * feat: Added CLI changes for MySQL RDS Query Performance Monitoring (newrelic#1217) * feat: Added minor enhancements to MySQL recipe (newrelic#1189) * feat: Added minor enhancements to db query analysis * fix: Empty commit * fix: minor fixes * fix: minor enhancements * fix:Added minor enhancements * fix:Added check for schema and store procedure creation * feat: Added CLI changes for MySQL RDS Query Performance Monitoring * feat: Added minor enhancements * feat: Added minor enhancements * feat: Removed duplicate file * feat: Docs link update * feat: fixed PROCEDURE enable_essential_consumers_and_instruments does not exist * Revert "feat: Added minor enhancements to MySQL recipe (newrelic#1189)" (newrelic#1212) This reverts commit 3bf473e. * feat: Added processMatch * feat: Added install targets and discoveryMode --------- Co-authored-by: Pulipelly Shashank Reddy <spulipelly@newrelic.com> Co-authored-by: Nandu-pns <100915954+Nandu-pns@users.noreply.github.com> Co-authored-by: vagrawal-newrelic <vagrawal@newrelic.com> * feat: Added Guided Install (CLI) for Postgres On-Host and RDS Query Monitoring(newrelic#1211) * feat: Added Guided Install (CLI) for Postgres On-Host and RDS Query Monitoring * fix: Updated RDS flag and config file * fix: Added is_rds flag in the config file * Removed OS versions regex --------- Co-authored-by: vagrawal-newrelic <vagrawal@newrelic.com> * feat: Add new eBPF Installation Recipe for Ubuntu (newrelic#1228) * Initial commit - eBPF agent recipe * Create default config file and minor bug fixes * Add GPG key verification * Set discoveryMode to targeted * Remove test code * Remove version 21 from platformVersion list * Update postInstall info message * Increase certificate expiry to 2 years * Remove linux header installation task * Remove unit test case * Point APT source to production --------- Co-authored-by: Pulipelly Shashank Reddy <spulipelly@newrelic.com> * Revert "feat: Add new eBPF Installation Recipe for Ubuntu (newrelic#1228)" (newrelic#1244) This reverts commit d6b1c69. * feat: Add new eBPF Installation Recipe for Ubuntu (newrelic#1245) * Initial commit - eBPF agent recipe * Create default config file and minor bug fixes * Add GPG key verification * Set discoveryMode to targeted * Remove test code * Remove version 21 from platformVersion list * Update postInstall info message * Increase certificate expiry to 2 years * Remove linux header installation task * Remove unit test case * Point APT source to production --------- * Update OTLP_ENDPOINT dynamically based on environment --------- Co-authored-by: Kapil Khandelwal <kkhandelwal@newrelic.com>
This PR updates the .NET agent Linux install recipe to use a new public signing key and also replace the use of
apt-key add(which is deprecated) with the current best practice of saving the key to a specific file and configuring the APT repo definition to be signed by that file.Note: this is in draft status until the .NET agent does it's next release, which we plan to do early this week.