Skip to content

Commit 32c7e37

Browse files
authored
chore: Cleanup Github workflows (#3053)
1 parent 47655e6 commit 32c7e37

17 files changed

Lines changed: 23 additions & 53 deletions

.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/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/BuildTools.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReleaseNotesBuilder", "Rele
1515
EndProject
1616
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NugetVersionDeprecator", "NugetVersionDeprecator\NugetVersionDeprecator.csproj", "{77685AF5-5FD7-483E-B589-BDE4E2F1769C}"
1717
EndProject
18-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "nugetSlackNotifications", "..\.github\workflows\scripts\nugetSlackNotifications\nugetSlackNotifications.csproj", "{3BFD6F0E-1B3E-4D5D-BFD7-465743CE0A3D}"
18+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dotty", "Dotty\Dotty.csproj", "{3BFD6F0E-1B3E-4D5D-BFD7-465743CE0A3D}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution

.github/workflows/scripts/nugetSlackNotifications/CsprojHandler.cs renamed to build/Dotty/CsprojHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.Xml.Serialization;
88
using Serilog;
99

10-
namespace nugetSlackNotifications
10+
namespace Dotty
1111
{
1212
public class CsprojHandler
1313
{

.github/workflows/scripts/nugetSlackNotifications/nugetSlackNotifications.csproj renamed to build/Dotty/Dotty.csproj

File renamed without changes.

.github/workflows/scripts/nugetSlackNotifications/NugetVersionData.cs renamed to build/Dotty/NugetVersionData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace nugetSlackNotifications
3+
namespace Dotty
44
{
55
public class NugetVersionData
66
{

0 commit comments

Comments
 (0)