-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from gusztavvargadr/feature/update-to-hcl2-244
Update to HCL2
- Loading branch information
Showing
562 changed files
with
4,540 additions
and
8,140 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-linux/community-ubuntu-server/hyperv.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: ubuntu-server.2204-lts.hyperv | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-linux | ||
image: community-ubuntu-server | ||
provider: hyperv |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-linux/community-ubuntu-server/virtualbox.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: ubuntu-server.2204-lts.virtualbox | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-linux | ||
image: community-ubuntu-server | ||
provider: virtualbox |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-linux/community-ubuntu-server/vmware.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: ubuntu-server.2204-lts.vmware | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-linux | ||
image: community-ubuntu-server | ||
provider: vmware |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-windows/community-windows-server-core/hyperv.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard-core.hyperv | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-windows | ||
image: community-windows-server-core | ||
provider: hyperv |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-windows/community-windows-server-core/virtualbox.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard-core.virtualbox | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-windows | ||
image: community-windows-server-core | ||
provider: virtualbox |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-windows/community-windows-server-core/vmware.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard-core.vmware | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-windows | ||
image: community-windows-server-core | ||
provider: vmware |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-windows/community-windows-server/hyperv.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard.hyperv | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-windows | ||
image: community-windows-server | ||
provider: hyperv |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-windows/community-windows-server/virtualbox.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard.virtualbox | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-windows | ||
image: community-windows-server | ||
provider: virtualbox |
14 changes: 14 additions & 0 deletions
14
.azure-pipelines/docker-windows/community-windows-server/vmware.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard.vmware | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: docker-windows | ||
image: community-windows-server | ||
provider: vmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard-core.hyperv | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: iis | ||
image: windows-server-core | ||
provider: hyperv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard-core.virtualbox | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: iis | ||
image: windows-server-core | ||
provider: virtualbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard-core.vmware | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: iis | ||
image: windows-server-core | ||
provider: vmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard.hyperv | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: iis | ||
image: windows-server | ||
provider: hyperv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard.virtualbox | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: iis | ||
image: windows-server | ||
provider: virtualbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: windows-server.2022-standard.vmware | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: iis | ||
image: windows-server | ||
provider: vmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
parameters: | ||
sample: '' | ||
image: '' | ||
provider: '' | ||
build: '' | ||
|
||
jobs: | ||
- job: build | ||
displayName: Build ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} | ||
|
||
pool: | ||
name: default | ||
demands: | ||
- VSTS_AGENT_CAP_VIRTUALIZATION_PROVIDER -equals ${{ parameters.provider }} | ||
|
||
workspace: | ||
clean: all | ||
|
||
timeoutInMinutes: 150 | ||
|
||
variables: | ||
sourcePipelineArtifactsPath: $[ replace(variables['resources.pipeline.source.pipelineName'], '.', '/') ] | ||
|
||
steps: | ||
- checkout: self | ||
submodules: recursive | ||
|
||
- script: | | ||
dotnet --info | ||
dotnet tool restore | ||
displayName: Initialize .NET | ||
- script: | | ||
packer --version | ||
displayName: Initialize Packer | ||
- script: | | ||
vagrant --version | ||
vagrant plugin list | ||
vagrant box list | ||
vagrant global-status --prune | ||
displayName: Initialize Vagrant | ||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target init | ||
displayName: Init | ||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target restore --exclusive | ||
displayName: Restore | ||
- ${{ if eq(parameters.build, 'native') }}: | ||
- task: DownloadPipelineArtifact@2 | ||
inputs: | ||
source: specific | ||
artifact: native-build | ||
targetPath: ./artifacts/$(sourcePipelineArtifactsPath)/native | ||
project: $(System.TeamProjectId) | ||
pipeline: $(resources.pipeline.source.pipelineID) | ||
runVersion: latestFromBranch | ||
runBranch: $(Build.SourceBranch) | ||
displayName: Download artifacts | ||
condition: and(succeeded(), ne(variables['resources.pipeline.source.pipelineID'], '')) | ||
|
||
- ${{ if eq(parameters.build, 'vagrant') }}: | ||
- task: DownloadPipelineArtifact@2 | ||
inputs: | ||
source: current | ||
artifact: native-build | ||
targetPath: ./artifacts/${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/native | ||
displayName: Download artifacts | ||
|
||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target build --exclusive | ||
displayName: Build | ||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target test --exclusive | ||
displayName: Test | ||
- publish: ./artifacts/${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} | ||
artifact: ${{ parameters.build }}-build | ||
displayName: Publish artifacts | ||
|
||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target clean | ||
displayName: Clean | ||
condition: always() | ||
- ${{ if eq(parameters.build, 'vagrant') }}: | ||
- job: publish | ||
displayName: Publish ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} | ||
dependsOn: build | ||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) | ||
|
||
pool: | ||
vmImage: ubuntu-22.04 | ||
|
||
variables: | ||
- group: environment-vagrantcloud | ||
|
||
steps: | ||
- checkout: self | ||
submodules: recursive | ||
|
||
- script: | | ||
df -h | ||
sudo rm -Rf /usr/local/lib/android | ||
sudo rm -Rf /usr/local/lib/node_modules | ||
df -h | ||
displayName: Initialize agent | ||
- script: | | ||
dotnet --info | ||
dotnet tool restore | ||
displayName: Initialize .NET | ||
- script: | | ||
packer --version | ||
displayName: Initialize Packer | ||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target init | ||
displayName: Init | ||
- task: DownloadPipelineArtifact@2 | ||
inputs: | ||
source: current | ||
artifact: vagrant-build | ||
targetPath: ./artifacts/${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/vagrant | ||
displayName: Download artifacts | ||
|
||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target publish --exclusive | ||
displayName: Publish | ||
env: | ||
VAGRANT_CLOUD_TOKEN: $(environment-vagrant-cloud-token) | ||
- script: | | ||
dotnet cake --configuration ${{ parameters.sample }}/${{ parameters.image }}/${{ parameters.provider }}/${{ parameters.build }} --target clean | ||
displayName: Clean | ||
condition: always() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trigger: none | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: source | ||
source: ubuntu-server.2204-lts.hyperv | ||
|
||
stages: | ||
- template: ../../stages.yml | ||
parameters: | ||
sample: kitchen-ubuntu | ||
image: "2204" | ||
provider: hyperv |
Oops, something went wrong.