Граф коммитов

36 Коммитов

Автор SHA1 Сообщение Дата
Wes Haggard 240c5e2551
Remove default sub config sub-config-azure-cloud-test-resources (#9229)
* Remove default sub config sub-config-azure-cloud-test-resources

We no longer want to default the configuration and instead
default from the service connection which had the info we need.

* Fix quoting
2024-10-21 20:10:26 -07:00
Wes Haggard 612f36ae80
Update macos image from 11 to latest (#8457)
* Update macos image from 11 to latest

* unpin pester now that 5.6.0 is on the agent
2024-06-17 12:03:58 -07:00
Jose Alvarez dc052c104f
Removed `cleanup` flag from code snippet (#8088) 2024-04-15 16:02:39 +00:00
Ben Broderick Phillips c8a76c18ee
Change playground deletion lifespan to 10 days (#7970)
* Change playground deletion lifespan to 10 days

* user debug
2024-03-30 02:22:16 -04:00
Ben Broderick Phillips 3ecd831c04
Support resolving environment variable references in matrix config (#7682)
* Support resolving environment variable references in matrix config

* Improve type and null handling

* Fix reference bug

* Change behavior on missing env vars to throw
2024-02-29 21:42:10 +00:00
Anton Kolesnyk bd039a7b82
Fix typo (#7334)
* Fix typo

* Update Cadl-Project-Generate.ps1

* Update Cadl-Project-Generate.ps1

* Update TypeSpec-Project-Generate.ps1

* Update TypeSpec-Project-Scripts.md
2023-11-29 18:17:02 +00:00
Ben Broderick Phillips 2336198a4c
Add max lifespan parameter to resource groups (#7160)
* Add max lifespan parameter to resource groups

* Update docs

* Only delete ARM deployments containing outputs

* Delete arm deployments in main test sub

* Fix up immutability policy clean up for blobs

* Flexible deletion timing
2023-10-20 13:49:18 -04:00
Ray Chen 684c2b9ce0
Update typespec common scripts (#6468)
* Update typespec common scripts

* Revert change of specCloneDir variable
2023-07-11 11:52:01 +08:00
Ben Broderick Phillips e11986243d
Remove access doc in favor of wiki (#6381) 2023-06-21 18:00:58 -04:00
Ben Broderick Phillips 21bdea04a3
Add common engsys breaking changes doc (#5938)
* Add common engsys breaking changes doc

* Update doc to clarify purpose and add collapsed sections
2023-06-14 15:13:39 -04:00
Ben Broderick Phillips 2cfe329ddc
Add openapi hub redirect doc landing page (#6274) 2023-06-12 20:34:51 -04:00
Scott Beddall 81667b192f
Add `Scan` functionality for assets-maintenance-tool (#6269)
* Add new project `assets-maintenance-tool`. Implement `scan` functionality within. `backup` and `cleanup` still to come.
* Add integration tests for new assets-maintenance tool.
* Move original `asset-sync` powershell proto script into `tools/assets-automation/` folder
* Move `eng/scripts/python/assets-automation/` under `tools/assets-automation/assets-reporting/`
* Add ci.yml and tests.yml to invoke integration tests against the azure-sdk-assets-integration

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-06-08 13:42:55 -07:00
Ray Chen ab4ae712ca
Updated doc about typespec common scripts (#6271)
* Updated doc about typespec common scripts

* Apply suggestions from code review

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-06-01 16:01:21 -07:00
m-nash 591da95830
Move the cleanup config to -SaveInputs parameter on the cli (#6197)
* move the cleanup config to -SaveInputs parameter on the cli

* fix error in doc changes

* address feedback
2023-05-22 14:22:21 -07:00
Ray Chen 4eb9eb336b
Adding initial commit of TypeSpecE2E common script (#6202)
* Adding initial commit of TypeSpecE2E common script

* add TODO comment

* Updated per feedback
2023-05-21 22:09:13 +08:00
James Suplizio c971ac6c1c
Eng workflows sync and branch cleanup additions (#6061) 2023-05-04 15:20:53 -07:00
Konrad Jamrozik 80de661dc5
Update Ubuntu `18.04` to `2X.04` ; update `MMSUbuntu2X.04` to `ubuntu-2X.04` (#6004)
* Migrate Ubuntu 18.04 to 20.04 or 22.04, as appropriate

* MMSUbuntu22.04 -> ubuntu22.04

* MMSUbuntu20.04 --> ubuntu-20.04

* revert sdk-testgen ci.yml to MMSUbuntu22
2023-04-19 22:26:17 -07:00
Ray Chen f106f2c421
Update Typespec-Project-Scripts.md (#5888)
Fixed typo in doc.
2023-04-05 13:15:24 -07:00
Crystal YU f25c0d001e
typespec renaming (#5691)
- renaming cadl to typespec
2023-03-16 03:32:58 +00:00
Konrad Jamrozik 381c10f94d
Where applicable, update Windows pools used to `azsdk-pool-mms-win-2022-general` and rename `vmImage` to the `windows-20xx` format (#5493)
Where applicable, update Windows pools used to `azsdk-pool-mms-win-2022-general` and rename `vmImage` to the `windows-20xx` format.

This discussion explains why chose given `vmImage` format:

[Mike Harder: 1ES Hosted Pool image name changes](https://teams.microsoft.com/l/message/19:59dbfadafb5e41c4890e2cd3d74cc7ba@thread.skype/1676491855184?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&parentMessageId=1676491855184&teamName=Azure%20SDK&channelName=Engineering%20System%20%F0%9F%9B%A0%EF%B8%8F&createdTime=1676491855184)
posted in Azure SDK / Engineering System 🛠️ at Wednesday, February 15, 2023 12:10 PM

For further context, please see:
- https://github.com/Azure/azure-sdk-tools/issues/3407

Note that:
- searching for `MMS2021` returned no results
- searching for `azsdk-pool-mms-win-2019` returned no result except in a tool whose goal is to migrate such strings, hence nothing to do.
2023-02-17 02:42:16 +00:00
m-nash a490f0cb31
Add documentation for cadl sync and generate (#5272) 2023-01-31 22:51:58 +00:00
Sima Zhu 617ea82530
Adding test pipeline for common-tests (#5040)
Our powershell scripts currently missed test coverage. The goal is trying to add test coverage as many as possible. The PR is to add test pipeline to cover all tests under `common-tests`

Testing pipeline: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2088942&view=logs&j=c7677f77-9c7a-5d06-5685-83acb5683895&t=358adba7-a1e6-5484-d654-f81d8812d6aa
2023-01-09 06:34:37 +00:00
Konrad Jamrozik b7ae5932aa
Update `doc/common/matrix_generator.md`: review and rewrite for clarity
https://github.com/Azure/azure-sdk-tools/pull/5023
2023-01-04 20:37:30 -08:00
Konrad Jamrozik ee399734c0
Move supporting matrix generator assets out of `eng/common` (#5027)
This PR contributes to addressing:
- #4995 

by moving out of `eng/common/scripts/job-matrix` assets that should not be mirrored to language repos. These assets include documentation, samples, and tests.

## Changes made

- Moved contents of `eng/common/scripts/job-matrix/README.md` to newly introduced `doc/common/matrix_generator.md`;
- Replaced contents of `eng/common/scripts/job-matrix/README.md` with a pointer to `doc/common/matrix_generator.md`;
- Moved contents of `eng/common/scripts/job-matrix/scripts` and `eng/common/scripts/job-matrix/tests` to corresponding directories in newly introduced directory of 
`eng/common-tests/matrix-generator`.

Note the introduced directory and doc file use `matrix generator` as name, not `job matrix`. This matches the terminology used in the documentation.

## Changes NOT made

- The contents of files moved from `scripts` and `tests` directories have not been updated at all. The files have been moved unchanged.
- The contents of the moved `README.md` have not been updated, even though they should, as they refer to paths that have changed as a result of the move. To keep the PR diff clean, I will instead update them in a separate PR:
  - #5023
2023-01-05 03:07:06 +00:00
Konrad Jamrozik 081519fd0a
Update doc/common/common_engsys.md (#4950)
See https://github.com/Azure/azure-sdk-tools/pull/4950
2022-12-12 22:10:04 -08:00
Ben Broderick Phillips 5c2f2fb0c6
Add DeleteAfter tags to non-compliant resource groups in main testing subscription (#4111)
* Add DeleteAfter tags to non-compliant resource groups in main testing subscription

* Support static DoNotDelete tag
2022-09-15 16:15:44 -04:00
Ben Broderick Phillips 37b0516ec8
Add powershell coding guidelines (#3582)
* Add powershell coding guidelines

* Add link to unit testing section

* Add script/func documentation section

* PR comment updates
2022-09-08 16:14:14 -04:00
Ben Broderick Phillips c72b19c1cd
Merge test resource cleanup scripts. Support owner tags, CI and interactive modes. (#2847)
This PR merges both subscription resource cleanup scripts into one that can be called in CI or interactively. The script
has been updated to implement the [resource management
guidelines document](https://github.com/Azure/azure-sdk-tools/blob/main/doc/engsys_resource_management.md).

Resolves #2714
2022-03-21 19:40:04 +00:00
Ben Broderick Phillips 8704aa850c
Add github alias rules to resource management guidelines (#2936) 2022-03-21 14:14:28 -04:00
Ben Broderick Phillips 9d05b726db
Add subscription resource management guidelines (#2663)
* Add subscription resource management guidelines

* Add TOC

* Add small grammar/writing improvements

Co-authored-by: Jesse Squire <jesse.squire@gmail.com>

* Add UpdateTestResources.ps1 examples for extending DeleteAfter lease

* Add ISO8601 links and duplicate DeleteAfter lease guidance for playground and test subscriptions

* Normalize capitalization of resource tag names

* Normalize capitalization of markdown headings

* Apply suggestions from code review

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Add details on cleanup pipeline schedule

* Merge playground and test subscription instructions

* Apply suggestions from code review

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Add quick start summary for creating test resource groups

Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2022-02-08 16:04:48 -05:00
Daniel Jurek 850afdc33f
Add spell check docs (#1945)
* Add spell check docs

* Add instructions for replicating CI behavior
2021-10-27 10:00:02 -07:00
Chidozie Ononiwu 2a8c2c95b5
Update links with master to use main (#1716)
Updating master references to main.
The changes here are not much so am doing it as a PR.
2021-06-21 19:19:55 +00:00
Chidozie Ononiwu e905f9cb0c
Make RELEASE_TITLE_REGEX more specific (#1524)
* Make RELEASE_TITLE_REGEX more specific

* Update eng/common/scripts/ChangeLog-Operations.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Add note to common_engsys regarding C and C++

* Update release REGEX

* tighten up changelog verification

* Ensure releaseDate is in the appriopriate format.

* Update error messages.

* Retrun false after error

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-05-03 13:45:54 -07:00
Sima Zhu d67e4000dc
Support default branch for the workflow. Part 1 (#1493) 2021-03-26 10:29:51 -07:00
Wes Haggard 9217638f36
Fix link to common 2021-01-28 08:44:39 -08:00
Chidozie Ononiwu 2c58ce43e5
Refactor eng/common/README.md (#1178)
Move Common Engineering System Doc to main README.md Doc.
Add information for how to structure unique language logic.
2020-11-10 05:39:59 +00:00