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

414 Коммитов

Автор SHA1 Сообщение Дата
Manuel de la Pena 3f43eef35b
[CI] Add missing env. (#13570) 2021-12-15 08:55:01 -05:00
TJ Lambert b72ef031f7
[ApiDiff] Add Current PR Diffs in a similar style as API Diffs (#13512) 2021-12-14 22:19:36 -06:00
Manuel de la Pena 06bacc24a4
[CI] Allow to force a build to be usable for insertions. (#13563)
This change allows to have a parameter (false by default) that allows to
get a build to be able to do an insertion even when it is comming from a
not predefined branch.

Uses cases:

1. Trigger a buiild with no tests from a special branch to insert.
2. Work with the CI to test the deployment.
2021-12-14 18:08:59 -05:00
Manuel de la Pena 5c68aca748
[CI] Rearrange the parameters so that we have all booleans grouped. (#13564)
The UI uses the order in which the parmaeters are found in the file,
which makes it look ugly because it adds a text bos ni between all
options.
2021-12-14 17:19:33 -05:00
Manuel de la Pena bffe61eec2
[CI] Fix indentation mistake that made timeouts result in errors. (#13552) 2021-12-14 09:27:40 -05:00
Manuel de la Pena 97ca13a358
[CI] Do not use the ciBuild tag for cronjobs. (#13553)
The tag is used by the release pipeline to indentify builds that we can
release from. This will ensure we do not get releases from the cronjobs.
2021-12-14 09:27:18 -05:00
Manuel de la Pena bf26c64e72
[CI] Add missing import directive. (#13537) 2021-12-11 14:25:24 -05:00
Manuel de la Pena dee9381b4b
Revert "[CI] Use Build artifacts so that they are copied to the release pipeline. (#13501)" (#13538)
This reverts commit 3977d7531d.
2021-12-11 14:25:14 -05:00
Manuel de la Pena 9a07446244
[CI] Add a better comment when we add code in the static page. (#13528) 2021-12-10 08:25:09 +01:00
Manuel de la Pena 5c4db77a15
[CI] Increase timeouts so that we do not have failures. (#13529)
We have added more files and the API seems to take long sometimes,
increase the timeouts to avoid failures like in https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5532523&view=logs&j=704af8c3-a112-593d-cee6-636e1ea22709&t=62b5d5ee-dc4f-530c-7279-a3bef6bd6bc7
2021-12-10 08:24:42 +01:00
Manuel de la Pena eb7bb62b6b
[CI] Check that the mac tests are indeed present. (#13510)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2021-12-08 17:14:19 -05:00
Manuel de la Pena aff9d1902c
[CI] Remove all macOS Mohave. (#13508) 2021-12-07 14:41:06 -05:00
Manuel de la Pena 3977d7531d
[CI] Use Build artifacts so that they are copied to the release pipeline. (#13501) 2021-12-07 12:11:08 -05:00
Manuel de la Pena 8ec686c333
[CI] If we could not create a gist do not throw an error. (#13483) 2021-12-03 17:41:29 -05:00
Manuel de la Pena d0f5e32862
[CI] Move to use the job not the stage. (#13495) 2021-12-03 13:36:33 -05:00
Manuel de la Pena d48ee5a585
[CI] Do call the isnertion tempalte on release pipelines. (#13438) 2021-11-29 11:14:00 -05:00
Rolf Bjarne Kvinge 6ce8ac93c0 Merge remote-tracking branch 'origin/main' into src-remove-legacy-maccatalyst 2021-11-25 08:11:32 +01:00
Manuel de la Pena 2022a93cce
[CI] Allow to manually skip governance tests when triggering a build by hand. (#13379) 2021-11-22 15:23:22 -05:00
Manuel de la Pena e192be9465
[CI] Renable the steps to run the device tests (#13407) 2021-11-22 10:05:26 -05:00
Rolf Bjarne Kvinge 72c369ad7e
[devops] Install our provisioning profiles before the actual build as well. (#13412)
Install our test provisioning profiles + certificates before the build,
because we might need them during the build for the hotrestart prebuilt app.

Ref: https://github.com/xamarin/xamarin-macios/issues/13355.
2021-11-22 08:13:55 +01:00
Manuel de la Pena ee77d2ee11
[CI] Add display names so that we understand the ui better. (#13382) 2021-11-18 09:36:31 -05:00
Manuel de la Pena e29867c2b8
[CI] Move the signature to ESRP (#13376)
Move to use the ESRP service to perform the signing of the frameworks and pkgs.
2021-11-17 10:28:46 -05:00
Manuel de la Pena 4f8a0e624a
[CI] Remove a OS check not longer needed after the bots have been updated. (#13345) 2021-11-11 17:59:34 -05:00
Rolf Bjarne Kvinge 2d9b9a1004
[devops] Add a 30/60 minute timeout to the steps to install dependencies + run macOS tests. (#13341) 2021-11-11 20:07:43 +01:00
Manuel de la Pena bc3df9ec21
[CI] Do not try to find the minor version until a bug is fixed. (#13334)
The agent is not reporting the OS version property and returns only
11.0. This has been fixed in:

https://github.com/microsoft/azure-pipelines-agent/pull/3605

But this was not yet landed.
2021-11-10 16:05:45 -05:00
Manuel de la Pena b34cb0f384
[CI] Remove 10.13 tests (#13326)
The internal image is not longer supported and we do not have
self-hosted bots for the version of the OS.

We remove the tests since they wont pick up any agent.
2021-11-09 16:00:35 -05:00
tj_devel709 0865c816ce [ApiDiff] Remove other MacCatalyst references 2021-11-09 10:58:10 -06:00
Manuel de la Pena 62b66735df
[CI] Provide the stage that does the different steps to prepare for an insertion. (#13313) 2021-11-09 07:33:29 -05:00
Manuel de la Pena b94f6f5e4a
[CI] Download all the artifacts based on a triggered build. (#13311) 2021-11-08 17:21:03 -05:00
Manuel de la Pena 9469f5780b
[CI] Do not set the stage to failure on mac tests fails. (#13285)
We want to use release pipelines but they do not like failing tests. In
device tests we set those in the pipeline to green yet we add a comment,
we do the same with the mac tests.
2021-11-08 17:20:27 -05:00
Manuel de la Pena 308750e473
[CI] Use images for older macOS. (#13284) 2021-11-08 17:19:32 -05:00
Rolf Bjarne Kvinge c038879251
[devops] Add a download link to the Html Report entry in the GH summary comment. (#13302)
Sometimes you just need the whole thing.
2021-11-08 21:03:20 +01:00
Manuel de la Pena 303019509d
[CI] Request min version for device tests in the host os. (#13286) 2021-11-08 11:41:18 -05:00
Manuel de la Pena 2db351bab5
[CI] Use a vimage for 10.15 since we do not have actual bots. (#13259) 2021-11-04 11:54:08 -04:00
Mike Bond 606908acd6
[CI] M1 - Mac Big Sur (11.5): Agent pool update (#13095) 2021-10-26 14:01:15 -07:00
TJ Lambert 560d777b92
[ApiDiffs] Applying the New Dotnet ApiDiffs to Github (#13027) 2021-10-22 10:25:33 -05:00
Rolf Bjarne Kvinge 7339b27a43
[devops] Show a better message when ESRP fails (#12934)
* Show a better error in the GitHub comment if ESRP signing failed.
* Show a better message when supposedly signed packages fail signature validation.
2021-10-08 08:02:24 +02:00
Manuel de la Pena ed3d9fd74c
[CI] Add empty insertion pipeline to be used in release. (#12888) 2021-10-07 11:54:54 -04:00
Manuel de la Pena d86d23fdf5
[CI] Fix path to script. (#12949) 2021-10-07 07:30:41 +02:00
Rolf Bjarne Kvinge 7a6c6fcf80
[devops] Return a non-zero exit code if tests fail on older macOS versions. (#12937)
Return a non-zero exit code if tests fail on older macOS versions, but keep
running tests. This way the step shows up as orange if something fails (and
not green, which is confusing).
2021-10-06 18:56:40 +02:00
Rolf Bjarne Kvinge 63de01c21c
[tests] Fix packaging of Xamarin.Mac tests. (#12776)
I recently deleted the generated makefile support for building and running our
test suites. It turned out that it was used for building the packaged
Xamarin.Mac tests, so it wasn't as unused as I thought.

So fix the building and packaging of Xamarin.Mac tests to not use the
(non-existent) makefile targets, but instead replicate it with manual make
code.

Also take the opportunity to add packaging and execution of the .NET versions
of these test suites we execute on other macOS versions (both for macOS and
the Mac Catalyst).

* [devops] Use stricter matching when finding the Xamarin.Mac pkg link.

Otherwise the branch name in any package could end up matching the pattern we
were looking for:

	XM_PACKAGE=https://bosstoragemirror.blob.core.windows.net/wrench/tests-package-xamarin-mac-tests/15759261d425ae08494b0a26862a0b1356c5f8ec/5268864/package/Microsoft.iOS.Bundle.15.0.101-ci.tests-package-xamarin-mac-tests.68.pkg

is just clearly wrong.
2021-10-06 08:10:07 +02:00
Manuel de la Pena 3e3baf1463
[CI] Rollback changes. (#12931) 2021-10-04 18:37:17 -04:00
Manuel de la Pena c6106d87e1
[CI] Service connections cannot be variables. 2021-10-04 18:22:00 -04:00
Manuel de la Pena 36185fac8a [CI] Move auth to a template. 2021-10-04 18:19:12 -04:00
Manuel de la Pena 68747ec1de
[CI] YAML gets confused by the $() syntax. 2021-10-04 18:10:38 -04:00
Manuel de la Pena c096a7ba59
[CI] Use correct var everywhere. 2021-10-04 18:05:10 -04:00
Manuel de la Pena 2565328c0e
[CI] Pass var correctly. 2021-10-04 18:03:20 -04:00
Manuel de la Pena e7f6c454d1
[CI] Fix if to ensure we can execute in the public instance. 2021-10-04 17:59:35 -04:00
Manuel de la Pena f343ee7ade
[CI] Cannot use condition. (#12930)
Using a condition will result in the template being generated which
results in the security check to run. We need to use a template and not
a condition to avoid it.
2021-10-04 17:51:31 -04:00
Manuel de la Pena c737ce8aff
[CI] Fix map with else. 2021-10-04 17:43:16 -04:00