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

35 Коммитов

Автор SHA1 Сообщение Дата
Aleksandr Levochkin f9728a300c
Fix for release pipeline (#4925)
Co-authored-by: v-levockina <undefined>
2024-08-05 17:02:17 +04: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
Ivan Duplenskikh b575d90646
Add updating UpdateAgentPackage.xml in Release CI (#4796)
* Add UpdateAgentPackage file to an ADO PR
2024-05-16 12:23:22 +02: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
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 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 4d08ee6f6e
Fix release npm dependencies (#4293)
* Move dependencies to dev dependencies

* Remove extra metadata

* Remove all unused metadata
2023-09-20 22:29:40 +04:00
Denis Rumyantsev dbdb54d392
fix agent CI - create AzureDevOps PRs (#4396) 2023-08-21 17:30:47 +02:00
Kirill Ivlev c21b0c63a1
Bump azure pipelines task lib to 4.2.0 (#4155) 2023-02-14 14:59:42 +04: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
dependabot[bot] 7abc9c2fd3
Bump minimatch and azure-pipelines-task-lib in /release (#4059)
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.5 and updates ancestor dependency [azure-pipelines-task-lib](https://github.com/Microsoft/azure-pipelines-task-lib). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.0.5
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.5)

Updates `azure-pipelines-task-lib` from 3.1.10 to 3.3.1
- [Release notes](https://github.com/Microsoft/azure-pipelines-task-lib/releases)
- [Commits](https://github.com/Microsoft/azure-pipelines-task-lib/commits)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: azure-pipelines-task-lib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Konstantin Tyukalov <52399739+KonstantinTyukalov@users.noreply.github.com>
2022-11-23 22:17:05 +04:00
AndreyIvanov42 750c4268fd
Added check for a response from whatsprintis.it (#3925)
Co-authored-by: Andrey Ivanov <v-andivanov@microsoft.com>
2022-08-04 15:52:30 +02:00
Maxim Zaytsev 16bbf768f7
Fixed package-lock. Used node 14.15.1 (#3826) 2022-04-28 14:31:54 +02:00
Max Podriezov 8667509b38
Updated azure-devops-node-api npm package so it can update its depedencydot-prop. The version used has prototype pollution vulnerability (#3823) 2022-04-26 09:55:15 +02:00
Anatoly Bolshakov 0271074140
Release scripts - npm audit fix (#3749)
* npm audit fox

* shelljs update - task-lib
2022-02-18 11:24:31 +03: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
Mark Roghelia 92b39a64c0
Update node-fetch dependency (#3229) 2021-01-28 12:05:41 -05: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 dbd4d2cade
branch in createReleaseBranch.js was undefined (#2949)
The branch option was dropped in the migration from
the previous version of the script and the undefined
opt.options.branch resulted in no PRs being found in the
call to the GitHub API.
2020-04-29 13:22:51 -04:00
Mark Roghelia 356402a8f9
Fix undefined vars in createReleaseBranch.js (#2895)
Also use the dedicated octo method for getting
the latest release.

Co-authored-by: azure-pipelines-bot <azure-pipelines-bot@microsoft.com>
2020-04-02 12:23:40 -04:00
Danny McCormick fda8e9a969
Remove mkrelease and move createReleaseBranch to octokit (#2890)
* Remove mkrelease and move createReleaseBranch to octokit

* nits

* Update usage
2020-04-02 10:30:57 -04:00
Mark Roghelia 4e79c05162
Pass the dryrun option through (#2884)
Co-authored-by: azure-pipelines-bot <azure-pipelines-bot@microsoft.com>
2020-03-31 16:59:28 -04:00
Danny McCormick 7b15bc0755
Add typed-rest-client back (#2826) 2020-02-27 21:20:22 -05:00
Danny McCormick fd55305520
Move release into pipeline (#2820)
* Automate agent release

* Automate agent release

* Automate agent release

* Persist creds

* Get right branch

* Try embedding pat

* Try embedding pat

* Try embedding pat

* Fix conditions

* Double commit

* Double commit

* Conditions

* Conditions

* Unneeded variable

* Checkout correct repos

* Comment out unneeded changes

* Shallow fetch and try creating PRs

* Debug info

* Rename createADOPRs.js to createAdoPrs.js

* Add username

* Make integration files before pr, not release branch

* Propogate errors correctly

* Update package-lock

* Add config option

* Creds

* Update how auth works

* Create PR

* Install node-api

* Fix pr logic

* Fix pr logic

* Need refs/heads/ prefix

* Cleanup/lint

* Syntax

* gitignore

* Fix bad reference

* Correct prefix

* Fix auth

* Clean up

* Uncomment release things

* Move to seperate stage

* Feedback

Co-authored-by: Tommy Petty <tommy.petty@microsoft.com>
2020-02-27 11:59:48 -05:00
Tommy Petty 3558a89d20
Added initial rollrelease script to perform per-ring steps (#2796)
* Added initial rollrelease script to perform per-ring steps

Also, converted mkrelease to use octokit
Also, fixed strings in mkrelease

* cleaned up dependencies

* added option for specifying branch to look for PRs from
2020-02-26 16:27:02 -05:00
Tommy Petty e91d293bb0
Look at PR labels to auto-categorize for release notes (#2790)
* Look at PR labels to auto-categorize for release notes

* Fixes from review
2020-02-13 09:51:57 -05:00
Tommy Petty a7f82e7c85
Update release process to use sparse checkout (#2779)
* Require minimum git version

* Updated to use sparse checkout and require minimum node version

* Consistent version comparison methods

* Made node version check a warning
2020-02-12 16:37:13 -05:00
Danny McCormick b4134c06a7
Fix release on windows (#2753)
* Fix release on windows

* Updated to use vscode as the default editor and wait for user to close it
2020-01-27 12:15:29 -05:00
Tommy Petty 2c105b4c8e
Forgot --depth on pull (#2743) 2020-01-22 17:10:32 -05:00
Tommy Petty 1d85e09799
Minor updates to fix release process (#2742)
* Minor updates to fix release process

* typo
2020-01-22 14:15:12 -05:00
Tommy Petty 27b52d0e52
Converted mkrelease script to node (#2733)
* Updates to release process

* Converted release script to node

* Added --derivedFrom option to make fetching PRs from !latest easier

Also, some other minor bug fixes

* Update from review feedback

* Removed call to rm -rf

* updates from review
2020-01-21 21:26:51 -05:00