Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3998971
initial phase of the refactor
scbedd May 29, 2024
a5fce29
removing original infra, pasting into new 1es compatible stack. takin…
scbedd May 29, 2024
79a074a
get the primary build into a good stage
scbedd May 29, 2024
3d37ef6
alignment update in oav.yml
scbedd May 29, 2024
3cb3e67
and thus>
scbedd May 29, 2024
c720453
call 1es redirect
scbedd May 29, 2024
ff597f7
correct variable ref
scbedd May 29, 2024
a652f07
build handles long paths on SDL
scbedd May 29, 2024
f4c2db8
updates for regressions
scbedd May 29, 2024
11bb86e
remove dependency on the old publishbuildArtifact usage
scbedd May 30, 2024
cd73ac5
add pr triggers
scbedd May 30, 2024
c9554cc
remove paths
scbedd May 30, 2024
4cf9e08
adjust spacing
scbedd May 30, 2024
a3f6c84
ensure the standard jobs run
scbedd May 30, 2024
75cfeeb
fix the reason that the regression jobs don't run properly
scbedd May 30, 2024
d3cad43
lint fix applied
scbedd May 30, 2024
3aa27e7
tests don't play well in parallel, but they're really debuggable inte…
scbedd May 30, 2024
2d40fea
should be able to actually test the release stage now
scbedd May 30, 2024
3c4be3f
pool was already defined
scbedd May 30, 2024
37a8878
release build now generating which tag should be set
scbedd May 30, 2024
5b926d1
update the naming convention
scbedd May 30, 2024
d222208
try a couple SDL updates, and also turn off the real publishing so we…
scbedd May 30, 2024
75468c0
ensure that regression snapshot patch gets published properly
scbedd May 30, 2024
73c242a
disable submodules
scbedd May 30, 2024
d1f02ab
ensure we never stomp on each other
scbedd May 30, 2024
1afa0c9
bump newman dependency so we have a true OAV version to test publish
scbedd May 31, 2024
2a62506
make mkdirsync recursive!
scbedd May 31, 2024
f32b2c7
Revert "bump newman dependency so we have a true OAV version to test …
scbedd May 31, 2024
f44449c
revert the package update that causes the build failure
scbedd May 31, 2024
8a116e9
working version with update core util and core logger
scbedd May 31, 2024
8d1ded8
touch changelog
scbedd May 31, 2024
abd09c4
repair the problem with the broken publish job
scbedd May 31, 2024
d0bbe0e
the local directory locations have changed!
scbedd May 31, 2024
5115403
reference the actual file name
scbedd May 31, 2024
8066ae2
we don't need to get the submodules when checking out for publishing
scbedd May 31, 2024
281997c
updating publishing solution
scbedd May 31, 2024
d48a7a1
updating further
scbedd May 31, 2024
1bd1a15
update the slow test regressions to align with new folder structure
scbedd May 31, 2024
68b79bd
settle on where the artifacts actually are
scbedd May 31, 2024
39aafa6
get just the artifact that we will publish in a solo directory
scbedd May 31, 2024
e68b7f4
correct a typo. missing param
scbedd May 31, 2024
a2a6331
disable submodule
scbedd May 31, 2024
4607fe4
remove the credscan suppresion file
scbedd May 31, 2024
a676f89
enable ESRP release phase
scbedd May 31, 2024
1f63ec3
bringing in mikes updates from develop
scbedd Jun 3, 2024
9aeefcf
update package lock
scbedd Jun 3, 2024
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
50 changes: 0 additions & 50 deletions .ci/validate-examples-regression-sample.yml

This file was deleted.

3 changes: 2 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Change Log - oav

## 05/31/2024 3.3.6
## 06/03/2024 3.3.6

- Support all current LTS Node versions (>=18.0.0)
- Bump `newman` dependency to `~6.0.0`.

## 05/7/2024 3.3.5

Expand Down
79 changes: 0 additions & 79 deletions azure-pipelines-securitytasks.yml

This file was deleted.

61 changes: 0 additions & 61 deletions azure-pipelines.yml

This file was deleted.

17 changes: 17 additions & 0 deletions ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
trigger:
branches:
include:
- develop
- hotfix/*
- release/*

pr:
branches:
include:
- develop
- feature/*
- hotfix/*
- release/*

extends:
template: /eng/templates/stages/oav.yml
9 changes: 0 additions & 9 deletions credScanSuppressions.json

This file was deleted.

19 changes: 19 additions & 0 deletions eng/scripts/determine-release-tag.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Read the package.json file
$packageJsonPath = "$PSScriptRoot/../../package.json"
$packageJson = Get-Content $packageJsonPath -Raw | ConvertFrom-Json

# Function to check if a version is non-GA
function Is-NonGA($version) {
return $version -match "-(alpha|beta|rc|pre)"
}


$pkgVersion = $packageJson.version

if (Is-NonGA($pkgVersion)) {
Write-Host "##vso[task.setvariable variable=Tag;]beta"
}
else {
Write-Host "##vso[task.setvariable variable=Tag;]latest"
}

File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/testNetwork.ts → eng/scripts/testNetwork.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as oav from "../index";
import * as oav from "../../index";
//import * as fs from "fs"
//import * as path from "path"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# TODO: refactor the hilariously common jobs

parameters:
- name: BeforeVersion
type: string
Expand All @@ -8,9 +6,13 @@ parameters:
type: string
default: 'LOCAL' #specialcase value that will install the local version of oav

variables:
- template: /eng/templates/variables/image.yml

pool:
name: azsdk-pool-mms-ubuntu-2004-general
vmImage: MMSUbuntu20.04
name: $(LINUXPOOL)
image: $(LINUXVMIMAGE)
os: linux

jobs:
- job: RegressionASpecs
Expand All @@ -22,7 +24,7 @@ jobs:
timeoutInMinutes: 360
displayName: Run ${{ parameters.BeforeVersion }} Specs
steps:
- template: ./regression-steps.yml
- template: ../steps/deep-regression-steps.yml
parameters:
TargetVersion: ${{ parameters.BeforeVersion }}
Type: "validate-spec"
Expand All @@ -36,7 +38,7 @@ jobs:
timeoutInMinutes: 360
displayName: Run ${{ parameters.BeforeVersion }} Examples
steps:
- template: ./regression-steps.yml
- template: ../steps/deep-regression-steps.yml
parameters:
TargetVersion: ${{ parameters.BeforeVersion }}
Type: "validate-example"
Expand All @@ -50,7 +52,7 @@ jobs:
timeoutInMinutes: 360
displayName: Run ${{ parameters.AfterVersion }} Specs
steps:
- template: ./regression-steps.yml
- template: ../steps/deep-regression-steps.yml
parameters:
TargetVersion: ${{ parameters.AfterVersion }}
Type: "validate-spec"
Expand All @@ -64,7 +66,7 @@ jobs:
timeoutInMinutes: 360
displayName: Run ${{ parameters.AfterVersion }} Examples
steps:
- template: ./regression-steps.yml
- template: ../steps/deep-regression-steps.yml
parameters:
TargetVersion: ${{ parameters.AfterVersion }}
Type: "validate-example"
Expand Down
64 changes: 64 additions & 0 deletions eng/templates/stages/1es-redirect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
- repository: 1ESPipelineTemplatesCanary
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/canary

parameters:
- name: stages
type: stageList
default: []
- name: Use1ESOfficial
type: boolean
default: true
- name: oneESTemplateTag
type: string
default: release

extends:
${{ if and(parameters.Use1ESOfficial, eq(parameters.oneESTemplateTag, 'canary')) }}:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplatesCanary
${{ elseif eq(parameters.oneESTemplateTag, 'canary') }}:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplatesCanary
${{ elseif and(parameters.Use1ESOfficial, eq(variables['System.TeamProject'], 'internal')) }}:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
${{ else }}:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
${{ if eq(parameters.oneESTemplateTag, 'canary') }}:
# Enable 1es template team to verify validation has been run on canary
customBuildTags:
- 1ES.PT.Tag-refs/tags/canary
settings:
skipBuildTagsForGitHubPullRequests: true
sdl:
git:
longpaths: true
submodules: false
sourceRepositoriesToScan:
include:
- repository: self
submodule: false
runInSingleJob: true
sourceAnalysisPool:
name: azsdk-pool-mms-win-2022-general
image: azsdk-pool-mms-win-2022-1espt
os: windows
eslint:
enabled: false
justificationForDisabling: "ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azur 19 e-sdk/internal/_build/results?buildId=3556850"
codeql:
compiled:
enabled: false
justificationForDisabling: "CodeQL times our pipelines out by running for 2+ hours before being force canceled."
psscriptanalyzer:
compiled: true
break: true
policy: M365

stages: ${{ parameters.stages }}
Loading