Commit graph

181 commits

Author SHA1 Message Date
Matt Mitchell
8dc41755cb
Switch repo to use native AzDO container support (#14541)
* Switch repo to use native AzDO container support

This is a major refactor of the YAML used by the installer repo. The goal is to utilize the native container support that AzDO provides, rather than building containers on the fly and issuing commands using custom infrastructure. To do this, the YAML requires a bit of a refactor. The matrix strategy approach used by the repo to build a ton of different OS's does not work with containers, because a matrix strategy only changes the variables available to each build command. It cannot change the AzDO host environment. In order to resolve this, I refactored build.yml to take and use optional container names. In the process of doing this, I discovered a number of other things about the old YAML that just happened to 'accidentally' work and fixed them or did general cleanup. Including:

- This construct, used in build.yml, does not work as you might expect. If the parameter is not declared as a boolean (or not declared at all), this evaluates to "does this parameter exist", not "is it true":

    ```
    ${{ if parameters.pgoInstrument }}:
    ```
- I fully specified all the parameters and their types to avoid issues in the future.
- Build pool selection was moved to build.yml
- Removed some unused parameters.
- There was a **very** subtle indentation change here: 762d2966ee/.vsts-ci.yml (L275-L281). This meant that this leg ran in both PR and official builds. I have no idea whether this was the intention or not, but I kept it this way and reorganized the file.

**One change of note:** One of the upsides of the original matrix based approach is that job dependencies are simple. The jobs generated by the matrix are referred to in `dependsOn` lists only by the original job that contains the matrix. That keeps the dependsOn list small even if the number of jobs generated is large. Installer has a large set of independently addressable jobs now. Normally, we would solve this by using the arcade jobs template. The jobs template takes a set of jobs and automatically adds dependsOn for the publishing jobs. BUT, AzDO does not allow templates to be passed as parameters to other templates. This would mean that you couldn't use the build.yml template in conjunction with the jobs template and would have to list all the installer jobs as dependencies. This list would be hard to keep up to date. To avoid this, I used a new feature of publishing (`publishAssetsImmediately`) which uses the Publish To Build Asset Registry job to do the actual publishing call, and put it in a separate phase, then eliminated the post-build.yml call. This means that the publishing stage depends on all jobs in the build stage, and does not need to address them individually. Eliminating the post-build.yml stage may seem odd, but this is what actually happens when `publishAssetsImmediately` is set to true anyway.
2022-09-27 11:15:12 -07:00
Marc Paine
74c63daf99
Fix the pgo internal pool 2022-09-16 15:45:05 -07:00
Matt Mitchell
27efed82d1
Remove native tools node (#14512)
Version doesn't even support what is needed by this repo, and the repo already assumes that cmake is on the path.
2022-09-16 20:53:24 +00:00
Matt Mitchell
0490cee5fe
[release/7.0.1xx] Inbuild sign on (#14471)
* In build sign enable

* Update arcade
2022-09-13 19:26:52 +00:00
Alex Perovich
9fa1de95e5 Update public pool names 2022-08-31 17:18:10 -07:00
Matt Galbraith
37e97fadfe Use -svc pool provider in release branches 2022-08-24 15:17:39 -07:00
Jason Zhai
4e54708d9b Merge branch 'release/6.0.4xx' 2022-08-03 01:19:32 -07:00
Marc Paine
9d5facb590
Merge branch 'release/6.0.4xx' into merge/release/6.0.3xx-to-release/6.0.4xx 2022-08-02 17:11:45 -07:00
Marc Paine
91727aeb14
Merge branch 'release/6.0.3xx' into merge/release/6.0.1xx-to-release/6.0.3xx 2022-08-02 12:55:16 -07:00
Marc Paine
3faa96e7bf
Merge pull request #14198 from dotnet/v-wuzhai/UpdateFedora
Update fedora docker image tag to latest one
2022-08-02 12:50:11 -07:00
Jason Zhai
a38d1090fc Update fedora docker image tag to latest one 2022-07-25 23:08:53 -07:00
Marc Paine
0597b72e1b
Fix yml 2022-07-15 22:27:55 -07:00
Marc Paine
5f48021fe9
Fix yml failure 2022-07-15 16:04:02 -07:00
Marc Paine
9b8f47e0f2
Update .vsts-ci.yml 2022-07-15 13:07:12 -07:00
Marc Paine
a6bce923c7 Fix the pgo removal
Switch the windows debug tests to run on x64
Switch x86 and arm64 to only run in CI.
2022-07-15 12:04:38 -07:00
Marc Paine
793661118d Simplify our PR builds.
- Remove winarm from PR and CI
- Remove all pgo legs from PR
- remove all arm from PR
- remove specific targeted linux legs from PR
- rhel and centos PR legs were identical other than config
2022-07-15 10:26:12 -07:00
Jason Zhai
d4e56d9a54 Merge branch 'release/6.0.4xx' into main 2022-07-06 19:54:56 -07:00
Jason Zhai
ff9ad3ef23 Update alpine.3.13 to the new one 2022-07-05 00:38:26 -07:00
Drew Scoggins
cd0ad85d13 Add Windows and Linux Arm64 PGO instrumented SDKs 2022-06-15 15:51:43 -07:00
Marc Paine
d62c7a24e4
Update format of multiple /p parameters 2022-06-10 13:23:02 -07:00
Marc Paine
28948923ce
Update format of multiple /p parameters 2022-06-10 13:22:26 -07:00
Marc Paine
6b997876cb
Update .vsts-ci.yml 2022-06-10 12:32:49 -07:00
Marc Paine
df9d0b48b1
Update .vsts-ci.yml 2022-06-10 12:28:33 -07:00
Jason Zhai
732667a98a Merge branch 'release/6.0.4xx' into main 2022-06-09 02:49:42 -07:00
Marc Paine
fd0c042c55
Merge pull request #13864 from dotnet/marcpopMSFT-fixdebbuild
Fix the deb build
2022-06-08 13:05:42 -07:00
Marc Paine
92f9b7b00d
Merge pull request #13908 from dotnet/marcpopMSFT-fixdebbuild
Remove the external docker files and fix the debbuild
2022-06-08 13:05:34 -07:00
Marc Paine
8b16a6268f
Only run the deb build on specific legs 2022-06-03 09:12:24 -07:00
Jason Zhai
7eddb0b635 Merge branch 'release/6.0.4xx' into main 2022-06-01 03:13:48 -07:00
Jason Zhai
7c36f6abfd Merge branch 'release/6.0.4xx' into main 2022-05-26 00:04:33 -07:00
Marc Paine
4ba8c44fad Remove the old docker files 2022-05-25 16:35:08 -07:00
Marc Paine
2cd1eed21f
Revert "Remove 16.04 ubuntu legs and old docker files." (#13862) 2022-05-24 15:40:53 -07:00
Marc Paine
167d8e1013
Revert "Remove 16.04 ubuntu legs and old docker files." (#13861) 2022-05-24 15:40:47 -07:00
Daniel Plaisted
67f3a63ac0
Switch to centos to create ARM64/Mariner RPMs
See 278ef25433
2022-05-17 08:55:03 -07:00
Jason Zhai
6e89ea62c7 Merge branch 'release/6.0.1xx' into release/6.0.3xx 2022-05-15 21:30:09 -07:00
Marc Paine
61e33031c5 Remove 16.04 ubuntu legs and old docker files. 2022-05-09 16:04:51 -07:00
Jason Zhai
ba17ad6b29 Merge branch 'release/6.0.4xx' into main 2022-05-05 19:42:03 -07:00
Daniel Plaisted
604e870a20 Add Mariner 2.0 and Arm64 RHEL builds 2022-05-03 18:36:09 -03:00
Daniel Plaisted
e78caf9137 Add Mariner 2.0 and Arm64 RHEL builds 2022-04-27 11:31:41 -03:00
Logan Bussell
ca04284533
[main] Re-enable Source Build Tarball Build CI and disable all repo builds (#13605)
* re-enable tarball build in C

* remove all projects except SBRP from known-good

* disable smoke tests until more repos are building

Co-authored-by: Michael Simons <msimons@microsoft.com>
2022-04-18 10:44:38 -07:00
Jason Zhai
61d316d9df Merge branch 'release/6.0.3xx' into main 2022-03-14 02:50:13 -07:00
Jason Zhai
9fa0019355 Merge branch 'release/6.0.3xx' into main 2022-03-10 23:36:54 -08:00
Michael Simons
ec5ed63d8c
Merge branch 'release/6.0.2xx' into merge/release/6.0.1xx-to-release/6.0.2xx 2022-03-09 19:31:32 -06:00
Sean Reeser
2186b8b250 Merge commit '02d5242ed7ca7c3747fc89196cf67aeff260c6ac' into internal-merge-6.0.1xx-2022-02-08-1019 2022-02-08 10:19:26 -08:00
Marc Paine
3faaf05d9f Merge remote-tracking branch 'ADO/release/6.0.2xx' into dev/marcpop/mergepublic 2022-02-06 10:48:16 -08:00
Marc Paine
11de58ddc5
Update .vsts-ci.yml 2022-02-06 09:41:11 -08:00
Marc Paine
9049a306f6
Update .vsts-ci.yml 2022-02-06 09:40:53 -08:00
Marc Paine
e0993bd73c Switch to lowercase to match other cases. 2022-02-05 06:33:35 +00:00
Marc Paine
2551ba7164 Merge remote-tracking branch 'ADO/internal/release/6.0.1xx' into darc-internal/release/6.0.2xx-389814c1-2f80-453e-b83c-7ad00843a34c 2022-02-04 15:32:31 -08:00
dotnet-bot
aa50e0d7a4 Merge in 'release/6.0.1xx' changes 2022-02-02 22:52:07 +00:00
Marc Paine
cfe37ec6f2
Update .vsts-ci.yml 2022-01-31 13:51:01 -08:00