Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test feed #20583

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dae205a
test feed
merlynomsft Oct 21, 2024
b8e24c2
update feed to PipelineTools-test
merlynomsft Oct 23, 2024
75c488d
update feed to DistributedTasks-test
merlynomsft Oct 23, 2024
dd9e4ed
enable localpackage
merlynomsft Oct 23, 2024
317cc8b
build fix
merlynomsft Oct 23, 2024
288616d
Fix for new buildconfigs - we need to retain package-lock.json from b…
merlynomsft Oct 23, 2024
02ea7af
fix task source changes mismatch
merlynomsft Oct 23, 2024
5caea91
temp fix (wip)
merlynomsft Oct 24, 2024
f83b7c6
DeployVisualStudioTestAgentV2 doesn't build
merlynomsft Oct 24, 2024
d570c1f
Merge remote-tracking branch 'origin/master' into dev/merlynop/localp…
merlynomsft Oct 24, 2024
831c7c4
add package-lock.json and npm-shrinkwrap for LocalPackages
merlynomsft Oct 24, 2024
d6268f7
fix
merlynomsft Oct 24, 2024
e338486
add option to skip tests
merlynomsft Oct 25, 2024
2966c02
skiptests
merlynomsft Oct 25, 2024
ef23020
collect test errors
merlynomsft Oct 25, 2024
351018c
handle test errors
merlynomsft Oct 25, 2024
360f224
fix
merlynomsft Oct 25, 2024
f37f61a
fix
merlynomsft Oct 25, 2024
ef07bdb
increase build timeout (due to time needed to build all tasks)
merlynomsft Oct 25, 2024
8695de1
formatfix for build all tasks when forceCourtesyPush == true
merlynomsft Oct 26, 2024
3a6351c
for LocalPackage config, place updted package-lock, npm-shrinkwrap in…
merlynomsft Oct 28, 2024
435ede2
move package-lock.json, etc artifacts to _generated
merlynomsft Oct 29, 2024
6439ab5
Merge remote-tracking branch 'origin/master' into dev/merlynop/localp…
merlynomsft Oct 29, 2024
d5acd26
timeout
merlynomsft Oct 29, 2024
1cbd3b0
Update to automatically update globalversion.txt. Note: globalversio…
merlynomsft Oct 30, 2024
f451668
update globalversion
merlynomsft Oct 30, 2024
9cffed8
updating out-of-sync files
merlynomsft Oct 30, 2024
8d0b1ad
updates
merlynomsft Oct 30, 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
Prev Previous commit
Next Next commit
formatfix for build all tasks when forceCourtesyPush == true
merlynomsft committed Oct 26, 2024

Verified

This commit was signed with the committer’s verified signature.
SergeyKopienko Sergey Kopienko
commit 8695de165ac822c6fb77549546116c890b76a399
5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -64,6 +64,11 @@ variables:
value: 'true'
${{ else }}:
value: 'false'
- name: DEPLOY_ALL_TASKSVAR
${{ if eq(parameters.deploy_all_tasks, true) }}:
value: 'true'
${{ else }}:
value: 'false'

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
5 changes: 4 additions & 1 deletion ci/filter-tasks.js
Original file line number Diff line number Diff line change
@@ -222,6 +222,7 @@ var setTaskVariables = function(tasks, tasksForDowngradingCheck) {
var buildReason = process.env['BUILD_REASON'].toLowerCase();
var forceCourtesyPush = process.env['FORCE_COURTESY_PUSH'] && process.env['FORCE_COURTESY_PUSH'].toLowerCase() === 'true';
var taskNameIsSet = process.env['TASKNAMEISSET'] && process.env['TASKNAMEISSET'].toLowerCase() === 'true';
var deployAllTasks = process.env['DEPLOY_ALL_TASKSVAR'] && process.env['DEPLOY_ALL_TASKSVAR'].toLowerCase() === 'true';

if (taskNameIsSet) {
var taskName = process.env['TASKNAME'];
@@ -240,7 +241,9 @@ const ciBuildReasonList = [AzpBuildReason.Individualci, AzpBuildReason.Batchedci

async function filterTasks () {
try {
if (ciBuildReasonList.includes(buildReason) || (forceCourtesyPush && !taskNameIsSet)) {
if (deployAllTasks) {
setTaskVariables(makeOptions.tasks, makeOptions.tasks);
} else if (ciBuildReasonList.includes(buildReason) || (forceCourtesyPush && !taskNameIsSet)) {
// If CI, we will compare any tasks that have updated versions.
const tasks = await getTasksToBuildForCI();
setTaskVariables(tasks, tasks);