Skip to content

Commit 36f7f4c

Browse files
committed
move the azure pipelines files to .azurepipelines folder
1 parent c55bc2c commit 36f7f4c

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

build/stages/artifacts-test.yml renamed to .azurepipelines/artifacts-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
source: current
1919
path: $(Build.SourcesDirectory)
2020
artifact: storage
21-
- script: dotnet cake build.cake --bootstrap && dotnet cake build.cake --target=Artifacts-Test --docker_distro=$(DISTRO) --docker_dotnetversion=$(DOTNET_VERSION)
21+
- pwsh: dotnet cake build.cake --bootstrap; dotnet cake build.cake --target=Artifacts-Test --docker_distro=$(DISTRO) --docker_dotnetversion=$(DOTNET_VERSION)
2222
displayName: '[Docker Test Artifacts]'

build/stages/build.yml renamed to .azurepipelines/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ steps:
66
inputs:
77
versionSpec: '>= 2.5'
88
addToPath: true
9-
- script: dotnet cake build.cake --bootstrap && dotnet cake build.cake --target=Pack
9+
- pwsh: dotnet cake build.cake --bootstrap; dotnet cake build.cake --target=Pack
1010
displayName: '[Cake build & pack]'
1111
- publish: $(System.DefaultWorkingDirectory)
1212
displayName: 'Upload pipeline artifacts'

build/stages/common-steps.yml renamed to .azurepipelines/common-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ steps:
99
inputs:
1010
packageType: sdk
1111
version: 3.1.101
12-
- script: dotnet tool restore
12+
- pwsh: dotnet tool restore
1313
displayName: 'Install Cake tool'

build/stages/docker.yml renamed to .azurepipelines/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
source: current
1919
path: $(Build.SourcesDirectory)
2020
artifact: storage
21-
- script: dotnet cake build.cake --bootstrap && dotnet cake build.cake --target=Publish-DockerHub --docker_distro=$(DISTRO) --docker_dotnetversion=$(DOTNET_VERSION)
21+
- pwsh: dotnet cake build.cake --bootstrap; dotnet cake build.cake --target=Publish-DockerHub --docker_distro=$(DISTRO) --docker_dotnetversion=$(DOTNET_VERSION)
2222
displayName: '[Docker build]'
2323
env:
2424
DOCKER_USERNAME: $(DOCKER_USERNAME)
File renamed without changes.

build/stages/publish.yml renamed to .azurepipelines/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
source: current
1616
path: $(Build.SourcesDirectory)
1717
artifact: storage
18-
- script: dotnet cake build.cake --bootstrap && dotnet cake build.cake --target=Publish-${{ parameters.taskName }}
18+
- pwsh: dotnet cake build.cake --bootstrap; dotnet cake build.cake --target=Publish-${{ parameters.taskName }}
1919
displayName: '[Publish]'
2020
env:
2121
GITHUB_TOKEN: $(GITHUB_TOKEN)

build/stages/release.yml renamed to .azurepipelines/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ steps:
66
source: current
77
path: $(Build.SourcesDirectory)
88
artifact: storage
9-
- script: dotnet cake build.cake --bootstrap && dotnet cake build.cake --target=Release
9+
- pwsh: dotnet cake build.cake --bootstrap; dotnet cake build.cake --target=Release
1010
displayName: '[Release]'
1111
env:
1212
GITHUB_TOKEN: $(GITHUB_TOKEN)

build/stages/test.yml renamed to .azurepipelines/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ steps:
1717
echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH"
1818
sudo rm /Library/Frameworks/Mono.framework/Versions/Current
1919
sudo ln -s $MONOPREFIX /Library/Frameworks/Mono.framework/Versions/Current
20-
- script: dotnet cake build.cake --bootstrap && dotnet cake build.cake --target=Test
20+
- pwsh: dotnet cake build.cake --bootstrap; dotnet cake build.cake --target=Test
2121
displayName: '[Run Test]'
2222
env:
2323
ENABLED_UNIT_TESTS: $(ENABLED_UNIT_TESTS)

azure-pipelines.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ stages:
1717
pool:
1818
vmImage: $(VM_IMAGE)
1919
steps:
20-
- template: build/stages/build.yml
20+
- template: .azurepipelines/build.yml
2121
- stage: Test
2222
dependsOn: []
2323
jobs:
@@ -33,7 +33,7 @@ stages:
3333
pool:
3434
vmImage: $(VM_IMAGE)
3535
steps:
36-
- template: build/stages/test.yml
36+
- template: .azurepipelines/test.yml
3737

3838
- stage: Artifact_Test
3939
displayName: 'Artifacts test'
@@ -42,12 +42,12 @@ stages:
4242
- Test
4343
condition: succeeded()
4444
jobs:
45-
- template: build/stages/generate-job.yml
46-
- template: build/stages/artifacts-test.yml
45+
- template: .azurepipelines/generate-job.yml
46+
- template: .azurepipelines/artifacts-test.yml
4747
parameters:
4848
name: Linux
4949
vmImage: 'ubuntu-latest'
50-
# - template: build/stages/artifacts-test.yml
50+
# - template: .azurepipelines/artifacts-test.yml
5151
# parameters:
5252
# name: Windows
5353
# vmImage: 'windows-latest'
@@ -56,12 +56,12 @@ stages:
5656
dependsOn: Artifact_Test
5757
condition: succeeded()
5858
jobs:
59-
- template: build/stages/generate-job.yml
60-
- template: build/stages/docker.yml
59+
- template: .azurepipelines/generate-job.yml
60+
- template: .azurepipelines/docker.yml
6161
parameters:
6262
name: Linux
6363
vmImage: 'ubuntu-latest'
64-
# - template: build/stages/docker.yml
64+
# - template: .azurepipelines/docker.yml
6565
# parameters:
6666
# name: Windows
6767
# vmImage: 'windows-latest'
@@ -86,7 +86,7 @@ stages:
8686
Documentation:
8787
TASK_NAME: 'Documentation'
8888
steps:
89-
- template: build/stages/publish.yml
89+
- template: .azurepipelines/publish.yml
9090
parameters:
9191
taskName: $(TASK_NAME)
9292

@@ -100,4 +100,4 @@ stages:
100100
pool:
101101
vmImage: windows-latest
102102
steps:
103-
- template: build/stages/release.yml
103+
- template: .azurepipelines/release.yml

0 commit comments

Comments
 (0)