From af2971771f095aa5441b69493bbd367549820e9e Mon Sep 17 00:00:00 2001
From: Marty T <120425148+tippmar-nr@users.noreply.github.com>
Date: Mon, 17 Jun 2024 15:02:29 -0500
Subject: [PATCH] ci: rework docker settings in dependabot (#46)
---
.github/dependabot.yml | 52 ++++++++++++++++++++++++++-
.github/{ => workflows}/scorecard.yml | 0
README.md | 4 +--
README_agent.md | 44 -----------------------
4 files changed, 53 insertions(+), 47 deletions(-)
rename .github/{ => workflows}/scorecard.yml (100%)
delete mode 100644 README_agent.md
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 169a959..537cf51 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -8,8 +8,58 @@ updates:
github-actions:
patterns:
- "*"
+
+ # scan Dockerfile for each language agent, in src and tests directories
- package-ecosystem: docker
- directory: /
+ directory: /src/dotnet
+ schedule:
+ interval: weekly
+ - package-ecosystem: docker
+ directory: /tests/dotnet
+ schedule:
+ interval: weekly
+
+ - package-ecosystem: docker
+ directory: /src/java
+ schedule:
+ interval: weekly
+ - package-ecosystem: docker
+ directory: /tests/java
+ schedule:
+ interval: weekly
+
+ - package-ecosystem: docker
+ directory: /src/nodejs
+ schedule:
+ interval: weekly
+ - package-ecosystem: docker
+ directory: /tests/nodejs
+ schedule:
+ interval: weekly
+
+ - package-ecosystem: docker
+ directory: /src/php
+ schedule:
+ interval: weekly
+ - package-ecosystem: docker
+ directory: /tests/php
schedule:
interval: weekly
+ - package-ecosystem: docker
+ directory: /src/python
+ schedule:
+ interval: weekly
+ - package-ecosystem: docker
+ directory: /tests/python
+ schedule:
+ interval: weekly
+
+ - package-ecosystem: docker
+ directory: /src/ruby
+ schedule:
+ interval: weekly
+ - package-ecosystem: docker
+ directory: /tests/ruby
+ schedule:
+ interval: weekly
diff --git a/.github/scorecard.yml b/.github/workflows/scorecard.yml
similarity index 100%
rename from .github/scorecard.yml
rename to .github/workflows/scorecard.yml
diff --git a/README.md b/README.md
index 648cd31..f51cfbc 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# New Relic Kubernetes Agent Operator Init Container Releases
-This repository contains init container's and GHA workflows to automatically release new Kubernetes Agent Operator agent init containers when a new version of an agent becomes available.
+This repository contains init containers and GHA workflows to automatically release new Kubernetes Agent Operator agent init containers when a new version of an agent becomes available.
## Installation
@@ -17,7 +17,7 @@ This repository contains init container's and GHA workflows to automatically rel
New Relic hosts and moderates an online forum where you can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads here:
->Add the url for the support thread here: discuss.newrelic.com
+https://forum.newrelic.com/s/
## Contribute
diff --git a/README_agent.md b/README_agent.md
deleted file mode 100644
index 208f410..0000000
--- a/README_agent.md
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-# [Name of Project] [build badges go here when available]
-
->[Brief description - what is the software and what value does it provide? How often should users expect to get releases? How is versioning set up? What are some next phases for the project or how will it evolve?]
-
-## Installing and using [project name]
-
-> [Link to the relevant information for this agent on docs.newrelic.com. Create a bulleted list with links to install, usage, and getting started info on docs. Avoid duplicating information from docs in the open source content to ensure there's no inconsistency between the two.]
-
-
-## Building
-
->[**Optional** - Include this section if users will need to follow specific instructions to build the software from source. Be sure to include any third-party build dependencies that need to be installed separately. As mentioned, link to docs for install info that's already included there. Remove this section if it's not needed.]
-
-## Testing
-
->[**Optional** - Include instructions on how to run tests if we include tests with the codebase. Remove this section if it's not needed.]
-
-## Support
-
-New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads here:
-
->[Add the url for the support thread here: discuss.newrelic.com]
-
-## Contribute
-
-We encourage your contributions to improve [project name]! Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.
-
-If you have any questions, or to execute our corporate CLA (which is required if your contribution is on behalf of a company), drop us an email at opensource@newrelic.com.
-
-**A note about vulnerabilities**
-
-As noted in our [security policy](../../security/policy), New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.
-
-If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through [HackerOne](https://hackerone.com/newrelic).
-
-If you would like to contribute to this project, review [these guidelines](./CONTRIBUTING.md).
-
-To all contributors, we thank you! Without your contribution, this project would not be what it is today. We also host a community project page dedicated to [Project Name]().
-
-## License
-[Project name] is licensed under the [Apache 2.0](http://apache.org/licenses/LICENSE-2.0.txt) License.
->[If applicable: The [project name] also uses source code from third-party libraries. Full details on which libraries are used and the terms under which they are licensed can be found in the third-party notices document.]