Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up repository resources #12892

Merged
merged 1 commit into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions eng/common/pipelines/templates/steps/daily-dev-build-variable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This script fragment is used across our repos to set a variable "SetDevVersion" which
# is used when this pipeline is going to be generating and publishing daily dev builds.

steps:
- pwsh: |
$setDailyDevBuild = "false"
if (('$(Build.Reason)' -eq 'Schedule') -and ('$(System.TeamProject)' -eq 'internal')) {
$setDailyDevBuild = "true"
}
echo "##vso[task.setvariable variable=SetDevVersion]$setDailyDevBuild"
displayName: "Setup Versioning Properties"
condition: eq(variables['SetDevVersion'], '')
8 changes: 0 additions & 8 deletions eng/pipelines/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
trigger:
- master

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
ref: refs/tags/azure-sdk-tools_20200618.1

variables:
DefaultOptions: '--batch-mode --fail-at-end -Dmaven.wagon.http.pool=false --settings eng/settings.xml'
LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Expand Down
12 changes: 2 additions & 10 deletions eng/pipelines/docindex.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: azure/azure-sdk-tools
ref: refs/tags/azure-sdk-tools_20200618.1
endpoint: azure

jobs:
- job: CreateDocIndex
variables:
Expand All @@ -18,7 +10,7 @@ jobs:
inputs:
versionSpec: '3.6'

- template: eng/pipelines/templates/scripts/replace-relative-links.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/replace-relative-links.yml
parameters:
TargetFolder: .
RootFolder: .
Expand All @@ -39,7 +31,7 @@ jobs:
displayName: 'Use Python 3.6'
inputs:
versionSpec: '3.6'
- template: eng/pipelines/templates/scripts/mashup-doc-index.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/mashup-doc-index.yml
parameters:
SourceDirectory: $(Build.SourcesDirectory)
- task: CopyFiles@2
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
inputs:
versionSpec: '3.6'

- template: tools/daily-dev-build-variable/daily-dev-build-variable.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/daily-dev-build-variable.yml

- ${{ each artifact in parameters.Artifacts }}:
- script: |
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
inputs:
versionSpec: '3.6'

- template: tools/daily-dev-build-variable/daily-dev-build-variable.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/daily-dev-build-variable.yml

- ${{ each artifact in parameters.Artifacts }}:
- script: |
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-pom-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
inputs:
versionSpec: '3.6'

- template: tools/daily-dev-build-variable/daily-dev-build-variable.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/daily-dev-build-variable.yml

- script: |
pip install setuptools wheel
Expand Down
5 changes: 0 additions & 5 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resources:
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20200618.4
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
ref: refs/tags/azure-sdk-tools_20200618.1

parameters:
- name: Artifacts
Expand Down
5 changes: 0 additions & 5 deletions eng/pipelines/templates/stages/archetype-sdk-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resources:
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20200618.4
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
ref: refs/tags/azure-sdk-tools_20200618.1

parameters:
- name: Artifacts
Expand Down
5 changes: 0 additions & 5 deletions eng/pipelines/templates/stages/archetype-sdk-pom-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resources:
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20200618.4
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
ref: refs/tags/azure-sdk-tools_20200618.1

parameters:
- name: Artifacts
Expand Down
5 changes: 0 additions & 5 deletions eng/pipelines/templates/stages/cosmos-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ resources:
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20200618.4
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
ref: refs/tags/azure-sdk-tools_20200618.1

parameters:
- name: Artifacts
Expand Down