forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'k8s-configuration' into create_flux_v1_deprecate
- Loading branch information
Showing
10,494 changed files
with
5,432,497 additions
and
1,748,718 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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,50 @@ | ||
resources: | ||
- repo: self | ||
|
||
trigger: none | ||
|
||
pr: | ||
branches: | ||
include: | ||
- '*' | ||
|
||
variables: | ||
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml | ||
|
||
jobs: | ||
- job: BreakingChangeTest | ||
displayName: "Breaking Change Test" | ||
pool: | ||
name: ${{ variables.ubuntu_pool }} | ||
steps: | ||
- checkout: self | ||
fetchDepth: 0 | ||
fetchTags: true | ||
persistCredentials: true | ||
- task: UsePythonVersion@0 | ||
displayName: 'Use Python 3.10' | ||
inputs: | ||
versionSpec: 3.10 | ||
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/azdev_setup.yml | ||
- bash: | | ||
set -ev | ||
. env/bin/activate | ||
python scripts/ci/breaking_change_test.py | ||
breakingChangeTest='false' | ||
if [[ -f '/$(HOME)/.azdev/env_config/mnt/vss/_work/1/s/env/breaking_change_test.json' ]]; then | ||
breakingChangeTest='true' | ||
fi | ||
echo "##vso[task.setvariable variable=breakingChangeTest]$breakingChangeTest" | ||
displayName: "Breaking Change Test" | ||
env: | ||
PR_SRC_BRANCH: $(System.PullRequest.SourceBranch) | ||
PR_TARGET_BRANCH: $(System.PullRequest.TargetBranch) | ||
PULL_REQUEST_NUMBER: $(System.PullRequest.PullRequestNumber) | ||
JOB_NAME: "breaking_change_test" | ||
- task: PublishBuildArtifacts@1 | ||
condition: and(succeededOrFailed(), eq(variables.breakingChangeTest, 'true')) | ||
inputs: | ||
# /mnt/vss/.azdev/env_config/mnt/vss/_work/1/s/env/breaking_change_test.json | ||
PathtoPublish: '/$(HOME)/.azdev/env_config/mnt/vss/_work/1/s/env/breaking_change_test.json' | ||
ArtifactName: 'breaking_change_test' | ||
publishLocation: 'Container' |
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,25 @@ | ||
parameters: | ||
- name: CLIRepoPath | ||
type: string | ||
default: '../azure-cli' | ||
- name: CLIExtensionRepoPath | ||
type: string | ||
default: './' | ||
steps: | ||
- bash: | | ||
set -ev | ||
python -m venv env | ||
chmod +x env/bin/activate | ||
source ./env/bin/activate | ||
# clone azure-cli | ||
git clone -q --single-branch -b dev https://github.com/Azure/azure-cli.git ../azure-cli | ||
python -m pip install -U pip | ||
pip install azdev | ||
azdev --version | ||
azdev setup -c $CLI_REPO_PATH -r $CLI_EXT_REPO_PATH --debug | ||
pip list -v | ||
az --version | ||
displayName: 'azdev setup' | ||
env: | ||
CLI_REPO_PATH: ${{ parameters.CLIRepoPath }} | ||
CLI_EXT_REPO_PATH: ${{ parameters.CLIExtensionRepoPath }} |
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,4 @@ | ||
variables: | ||
ubuntu_pool: 'pool-ubuntu-2004' | ||
windows_pool: 'pool-windows-2019' | ||
ubuntu_arm64_pool: 'ubuntu-arm64-2004-pool' |
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
Validating CODEOWNERS rules …
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.