Skip to content

Commit 9069674

Browse files
authored
Merge branch 'main' into other/migrate-legacy-mongodb-consolemf
2 parents 7b43926 + ae1a436 commit 9069674

78 files changed

Lines changed: 87 additions & 2349 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/all_solutions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
name: Run Linux Container Tests
148148
needs:
149149
- build-fullagent-msi
150-
uses: ./.github/workflows/run_linux_container_tests.yml
150+
uses: ./.github/workflows/linux_container_tests.yml
151151
secrets: inherit
152152

153153
build-integration-tests:

.github/workflows/nuget_slack_notifications.yml renamed to .github/workflows/dotty.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check for new core technologies
1+
name: Dotty - Check for new core technologies
22

33
on:
44
schedule:
@@ -21,7 +21,7 @@ permissions:
2121
contents: read
2222

2323
jobs:
24-
nuget-slack-notifications:
24+
run-dotty:
2525
name: Check for core technology package updates
2626
runs-on: ubuntu-latest
2727
permissions:
@@ -30,8 +30,8 @@ jobs:
3030
continue-on-error: false
3131

3232
env:
33-
scan-tool-path: ${{ github.workspace }}/.github/workflows/scripts/nugetSlackNotifications
34-
scan-tool-publish-path: ${{ github.workspace }}/publish
33+
dotty-path: ${{ github.workspace }}/build/Dotty
34+
dotty-publish-path: ${{ github.workspace }}/publish
3535

3636
steps:
3737
- name: Harden Runner
@@ -44,28 +44,28 @@ jobs:
4444
with:
4545
fetch-depth: 0
4646

47-
- name: Add agent via nuget and then build the tool
47+
- name: Add agent via nuget and then build Dotty
4848
run: |
49-
cd ${{ env.scan-tool-path }}
50-
dotnet add nugetSlackNotifications.csproj package NewRelic.Agent
51-
dotnet publish -o ${{ env.scan-tool-publish-path }}
49+
cd ${{ env.dotty-path }}
50+
dotnet add Dotty.csproj package NewRelic.Agent
51+
dotnet publish -o ${{ env.dotty-publish-path }}
5252
5353
- name: Find timestamp of most recent run of this workflow and set as an environment variable
5454
if: inputs.daysToSearch == '0' || github.event_name == 'schedule'
5555
env:
5656
GH_TOKEN: ${{ github.token }}
5757
run: |
58-
echo "LAST_RUN_TIMESTAMP=$(gh run list --workflow nuget_slack_notifications.yml --branch main --status completed --limit 1 --json updatedAt | jq -r '.[0].updatedAt')" >> $GITHUB_ENV
58+
echo "LAST_RUN_TIMESTAMP=$(gh run list --workflow dotty.yml --branch main --status completed --limit 1 --json updatedAt | jq -r '.[0].updatedAt')" >> $GITHUB_ENV
5959
shell: bash
6060

6161
- name: Check for updates to core technology packages
6262
env:
6363
DOTTY_WEBHOOK: ${{ secrets.SLACK_NUGET_NOTIFICATIONS_WEBHOOK }}
6464
DOTTY_TOKEN: ${{ secrets.DOTNET_AGENT_GH_TOKEN }}
6565
CORECLR_ENABLE_PROFILING: 1
66-
CORECLR_NEW_RELIC_HOME: ${{ env.scan-tool-publish-path }}/newrelic
66+
CORECLR_NEW_RELIC_HOME: ${{ env.dotty-publish-path }}/newrelic
6767
CORECLR_PROFILER: "{36032161-FFC0-4B61-B559-F6C5D41BAE5A}"
68-
CORECLR_PROFILER_PATH: ${{ env.scan-tool-publish-path }}/newrelic/libNewRelicProfiler.so
68+
CORECLR_PROFILER_PATH: ${{ env.dotty-publish-path }}/newrelic/libNewRelicProfiler.so
6969
NEW_RELIC_APP_NAME: Dotty
7070
NEW_RELIC_HOST: staging-collector.newrelic.com
7171
NEW_RELIC_LICENSE_KEY: ${{ secrets.STAGING_LICENSE_KEY }}
@@ -79,7 +79,7 @@ jobs:
7979
if [ "${{ inputs.testMode }}" == "true" ]; then
8080
export DOTTY_TEST_MODE="True"
8181
fi
82-
cd ${{ env.scan-tool-publish-path }}
83-
dotnet ./nugetSlackNotifications.dll
82+
cd ${{ env.dotty-publish-path }}
83+
dotnet ./Dotty.dll
8484
shell: bash
8585

File renamed without changes.

.github/workflows/multiverse_run.yml

Lines changed: 0 additions & 127 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Release Please
2+
13
on:
24
push:
35
branches:
@@ -9,8 +11,6 @@ permissions:
911
contents: write
1012
pull-requests: write
1113

12-
name: Release Please
13-
1414
jobs:
1515
release-please:
1616
runs-on: ubuntu-latest

.github/workflows/workflows.sln

Lines changed: 0 additions & 30 deletions
This file was deleted.

build/ArtifactBuilder/Artifacts/AzureSiteExtension.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ private SortedSet<string> GetExpectedComponents(string installedFilesRoot)
8585
// images folder - New Relic icon
8686
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, Path.Combine(installedFilesRoot, "images"), "icon.png");
8787

88+
// README
89+
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, installedFilesRoot, "README.md");
90+
8891
// content folder - installation items
8992
var contentFolder = Path.Combine(installedFilesRoot, "content");
9093
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, contentFolder, "applicationHost.xdt");
@@ -103,6 +106,7 @@ private static SortedSet<string> GetUnpackedComponents(string installedFilesRoot
103106
{
104107
var unpackedComponents = ValidationHelpers.GetUnpackedComponents(Path.Combine(installedFilesRoot, "content"));
105108
unpackedComponents.UnionWith(ValidationHelpers.GetUnpackedComponents(Path.Combine(installedFilesRoot, "images")));
109+
unpackedComponents.Add(Path.Combine(installedFilesRoot, "README.md"));
106110

107111
return unpackedComponents;
108112
}

build/ArtifactBuilder/Artifacts/NugetAgent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ private SortedSet<string> GetExpectedComponents(string installedFilesRoot)
142142
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, toolsFolder, "install.ps1");
143143
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, toolsFolder, "NewRelicHelper.psm1");
144144

145+
// README
146+
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, installedFilesRoot, "README.md");
145147
// content folder - framework agent (x64 and x86)
146148
AddAllFrameworkAgentComponents(expectedComponents, Path.Combine(installedFilesRoot, "content", "newrelic"));
147149

@@ -194,6 +196,7 @@ private static SortedSet<string> GetUnpackedComponents(string installedFilesRoot
194196
unpackedComponents.UnionWith(ValidationHelpers.GetUnpackedComponents(Path.Combine(installedFilesRoot, "contentFiles")));
195197
unpackedComponents.UnionWith(ValidationHelpers.GetUnpackedComponents(Path.Combine(installedFilesRoot, "images")));
196198
unpackedComponents.UnionWith(ValidationHelpers.GetUnpackedComponents(Path.Combine(installedFilesRoot, "tools")));
199+
unpackedComponents.Add(Path.Combine(installedFilesRoot, "README.md"));
197200

198201
return unpackedComponents;
199202
}

build/ArtifactBuilder/Artifacts/NugetAgentApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ private SortedSet<string> GetExpectedComponents(string installedFilesRoot)
8383
// root folder
8484
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents,installedFilesRoot, "LICENSE.txt");
8585
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, installedFilesRoot, "THIRD_PARTY_NOTICES.txt");
86+
ValidationHelpers.AddSingleFileToCollectionWithNewPath(expectedComponents, installedFilesRoot, "README.md");
8687

8788
return expectedComponents;
8889
}

0 commit comments

Comments
 (0)