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

76 Коммитов

Автор SHA1 Сообщение Дата
Denis Nikulin e738e1d682
Fixed a string comparison (#4983) 2024-09-09 18:49:41 +04:00
Denis Nikulin 5f971778c7
Add .NET 8 target framework for building the agent (#4943) 2024-09-09 17:12:22 +04:00
Dmitrii Bobreshev d08ab52fa2
Fix pathes in agent publish step (#4977) 2024-09-04 10:50:13 +02:00
Dmitrii Bobreshev 406f4f828c
Fix path for Get-ChildItem (#4976) 2024-09-03 15:08:46 +00:00
Dmitrii Bobreshev 3aed854dbe
run AzurePowershell task using pwsh ti prevent stackoverflow (#4975) 2024-09-03 11:43:34 +00:00
Aleksandr Levochkin 85c4030e6f
Test branch cleanup for release pipeline (#4894)
* Fix paths filter. Add stage for test release branch cleanup

* Fix condition

* Fix cleanup stage

* Disable sign param temporarily

* Move stage earlier in the pipeline

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Small tweak

* Fix

* Fix

* Re-enable sign parameter

* Fix dryrun

* Fix dryrun

* Remove logs
2024-07-29 11:32:06 +02:00
Aleksandr Levochkin ddc249f76a
Add e2e test for agent release (#4882)
* Use dry-run option in createAdoPrs script

* Add CI trigger to release pipeline to be able to test it

* Temporarily comment out some steps

* Test change

* Test change

* Fix issue with git commands and releaseId variable

* Change test agent version

* Disable signing for tests

* Fix branch cleanup step

* Add test git status

* Comment out publish steps. Change test version schema

* Fix issue with comment block

* Change conditions

* Change container name

* Change container name assignment

* Change condition

* Testing

* Testing change

* Fix

* Test

* Test

* Fix

* Fix

* Add variable sign

* Fix

* Enable sign parameter
2024-07-12 15:19:38 +02:00
Denis Rumyantsev 00f479daeb
remove ADO PAT for PRs (#4864) 2024-06-24 14:53:35 +02:00
Konstantin Tyukalov 0d3d0553d0
Revert "Skip checkout for Set_variables job (#4706)" (#4807)
This reverts commit 57947b0ed6.
2024-06-04 21:17:12 +04:00
Martin Toman abbe484d9f
switched Service Connection (#4818) 2024-05-27 13:59:12 +00:00
Konstantin Tyukalov 57947b0ed6
Skip checkout for Set_variables job (#4706) 2024-03-14 18:02:51 +04:00
Dmitrii Bobreshev 2b80cee166
1ES Pipelines Template Adoption (#4670)
* 1ES Pipelines Template Adoption

- Added 1Es templates ci
- Changed pools for Windows/Ubuntu to 1ES pools
- Disabled sign validation

* 1ES Pipelines Template Adoption

- Added baseline
- Added pool to proxy tests

* 1ES Pipelines Template Adoption

- Restored sign validation

* 1ES Pipelines Template Adoption

- replaced pipelineArtifacts with buildArtifacts
- changed artifact conditions

* 1ES Pipelines Template Adoption

- Skip CG
- Add mariner pool

* 1ES Pipelines Template Adoption

- Skip CG
- Add mariner pool

* 1ES Pipelines Template Adoption

- Skip CG
- Add mariner pool

* 1ES Pipelines Template Adoption

- Add parameter for notifications

* 1ES Pipelines Template Adoption

- Add parameter for notifications

* 1ES Pipelines Template Adoption

- Add parameter for notifications

* 1ES Pipelines Template Adoption

- Add arm pool

* 1ES Pipelines Template Adoption

- changed to dnf

* 1ES Pipelines Template Adoption

- changed to dnf

* 1ES Pipelines Template Adoption

- changed to dnf

* 1ES Pipelines Template Adoption

- changed to dnf

* 1ES Pipelines Template Adoption

- replaced mariner pool with 1ES-ABTT-Shared-Pool

* 1ES Pipelines Template Adoption

- Restore release conditions

* 1ES Pipelines Template Adoption

- Temporary set agent's version

* 1ES Pipelines Template Adoption

- Skip directories when copying hashes

* 1ES Pipelines Template Adoption

- Skip directories when copying hashes

* 1ES Pipelines Template Adoption

- Change os to unix

* 1ES Pipelines Template Adoption

- Restore agent version
2024-02-28 13:41:50 +01:00
İsmayıl İsmayılov 0db26b2e18
Change Agent release pipeline pool (#4660)
Remove RMAgentsProdAME pool and use SC instead
2024-02-26 13:54:25 +04:00
Aleksandr Levochkin fdac1ad6f7
Change pool name (#4640) 2024-02-08 14:02:12 +01:00
Denis Rumyantsev 4dff9a5a90
pwsh for release (#4638)
Co-authored-by: Aleksandr Levochkin <107044793+aleksandrlevochkin@users.noreply.github.com>
2024-02-07 19:51:32 +01:00
Denis Rumyantsev 7b66aa3ed7
fix switch to target branch ci step (#4636) 2024-02-07 09:56:58 +01:00
Konstantin Tyukalov 7d151585ae
Fix agent release 'build stage only' option (#4635)
* Fix buildStageOnly failure

* Remove old switch-branch template

* Add branch condition from template
2024-02-06 20:08:05 +04:00
Konstantin Tyukalov f87750b36c
Move agent release notifications to separate stage (#4580)
* Move notifications to separate stage

* Add job attempt check for notifications
2023-12-21 16:06:51 +04:00
Konstantin Tyukalov 5e0594eabc
Add missed variable (#4574) 2023-12-14 21:15:57 +04:00
Konstantin Tyukalov f51c5c9db6
Added check for existing agent versions in scheduled releases (#4575)
* Add check for existing agent releases

* Make code check safe from infinity loop
2023-12-14 20:01:48 +04:00
Konstantin Tyukalov 2200876040
Added release notifications (#4525)
* Add notifications stage

* Move notifications into create PRs stage + some fixes

* Move agent pool into stage
2023-11-23 14:28:37 +04:00
Konstantin Tyukalov f6050c9e57
Agent release by schedule (#4480)
* Add scheduled release by sprint

* Bring back whitespace EoF

* Rename verify stage

* Fix release condition

* Add version param validation at runtime
2023-11-08 14:09:33 +04:00
Denis Rumyantsev 9a7c35804c
Remove RHEL from the agent CI (#4408)
* remove rhel from ci

* remove dockerfile

* update config script
2023-09-01 13:43:19 +04:00
Denis Rumyantsev dbdb54d392
fix agent CI - create AzureDevOps PRs (#4396) 2023-08-21 17:30:47 +02:00
Denis Rumyantsev 4978a18892
Run build stage only from the master branch (#4348)
* fix ci buildStageOnly on master

* disable test agent proxy

---------

Co-authored-by: Kirill Ivlev <v-kivlev@microsoft.com>
2023-07-13 08:01:51 +02:00
Denis Rumyantsev 19b688b921
Test Proxy Agent (#4335)
* test proxy agent

* canary branch parameter
2023-06-28 18:04:23 +02:00
Roman-Shchukin 18080a24fa
Add option to skip rhel6 in pipeline and ci (#4121)
* skipRhelRelease parameter added

* skipRhelRelease parameter fixed

* releaseRhelOnly parameter added

* Logic of removing not filling lines from releaseNote

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Fix pipeline with test releaseNote job

* Removed test logs

* Added clear empty lines logic

* Commented code for test. Test changes in pipeline

* Removed test changes

* skipRhelRelease parametr added to ci pipeline
2023-01-23 17:57:09 +04:00
Konstantin Tyukalov 2ed3a2ee13
Bump ubuntu image version to 20.04 (#4079) 2022-12-12 14:43:13 +04:00
Denis Rumyantsev 967954c7e8
Upload to Azure Blob - remove condition (#4026) 2022-11-04 13:59:45 +01:00
Denis Rumyantsev 11142efbf4
fix vsts release conditions (#4024) 2022-11-03 13:55:03 +01:00
Roman-Shchukin e68ce86b81
Migration powershell script of release pipeline for Az 1.0.0 (#4010) 2022-11-02 10:03:55 +01:00
Konstantin Tyukalov d191ee5d18
Add onlyGitHubRelease param for the release pipeline (#3990)
* Add onlyGitHubRelease param for release pipeline

* Change to condition syntax

* Disable uploading to azure blob of github only

Co-authored-by: Kirill Ivlev <102740624+kirill-ivlev@users.noreply.github.com>
2022-10-17 22:59:18 +04:00
Daniil Shmelev 09d3392bae
Separate email and user in publish script (#3557)
* separate email and user in publish script

* change env variables names
2022-02-02 12:26:57 +03:00
Daniil Shmelev acff23a012
Filling publish script with hashes (#3529)
* add publish script template filling logic

* small fixes

* query current sprint version from whatsprintis.it

* switch from node-fetch to got

* minor labels changes
2021-09-10 18:57:32 +03:00
Daniil Shmelev 154a701d3e
Add agent package hashes to metadata and release notes (#3517)
* add hashing to agent package and release notes

* fixes

* whoops

* extract release notes filling into separate script

returned old stage order too

* rework artifacts logic & naming

* fix invalid BuildArtifacts task params

* simplify util.getHashes()

* add jsdoc comments

* add displayName to release notes filling step
2021-09-02 11:48:55 +03:00
Danny McCormick cd2c840d17
Use AME deployment pool for releases (#3341) 2021-03-22 11:40:44 -04:00
Mark Roghelia 2e58e82585
Work around missing PowerShell profile (#3300)
Enable-AzureRmAlias wants this file to exist, but it
doesn't always on our prod agents, leading to inconsistent
failures.
2021-03-03 16:34:28 -05:00
Danny McCormick e9ba9c461e
Force Npm 6 (#3251) 2021-02-08 13:55:17 -05:00
Danny McCormick cc99348f4f
Try the new prod deployment pool (#3208) 2021-01-13 14:39:32 -05:00
Mark Roghelia 4bc06fbcee
Add pipelines-agent-* packages without Node 6 (#3170)
Add pipelines-agent-* packages without Node 6

These packages should not yet be used by most people yet, as many tasks still require Node 6.
2020-12-16 10:49:30 -05:00
Mark Roghelia 8a663a0f20
Update the list of 3rd party dlls to sign (#3089)
This fixes the release build following the latest
update of vss-api-netcore in #3061.

Also updates the release pipeline to support a
"buildStageOnly" flag that makes it easier
to test such changes in the future without having
to temporarily comment out parts of the build.

Co-authored-by: maroghel <maroghel@microsoft.com>
2020-08-20 16:13:39 -04:00
Mark Roghelia c25985e441
Release PR fixes (#3009)
* Fix displayName of task.

* Stop (for now) doing a sparse checkout. There is a regression in Git
  2.27 that breaks sparse checkouts with the --no-checkout clone option.

Co-authored-by: maroghel <maroghel@microsoft.com>
2020-06-08 15:52:24 -04:00
Mark Roghelia 010c0e2e84
Remove config change PR (#2999) 2020-06-03 15:00:01 -04:00
Mark Roghelia b477c957e6
Separate targets flags and add skipTests (#2950) 2020-04-29 14:09:32 -04:00
Mark Roghelia a68ca214bb
Re-work pipelines YAML using extends and parameters (#2915) 2020-04-08 13:42:44 -04:00
Mark Roghelia e033b2f1a5
Disable ARM64 jobs (#2897)
Co-authored-by: azure-pipelines-bot <azure-pipelines-bot@microsoft.com>
2020-04-02 15:23:57 -04:00
Matt Cooper abe7f98e72
include arm64 agent in releases (#2882) 2020-03-31 14:51:06 -04:00
Matt Cooper ea34833f3c
Add an ARM64 agent (#2881)
* add an ARM64 agent
* add ARM64 agent to release def
* break dependency on libcurl for ARM
* only layout the requested RID to save time
* fixup a few relevant strings and dependencies
2020-03-31 12:53:47 -04:00
Danny McCormick 382c9db178
Bump releases arm timeout (#2854) 2020-03-12 16:52:18 -04:00
Danny McCormick 68b73fd469
Enable hotfixing from release branch (#2841)
Co-authored-by: Tommy Petty <tommy.petty@microsoft.com>
2020-03-06 11:59:15 -05:00