Commit 6616ffc
[ABLD-27] Prepare deployment of Agent v7.70+ for macOS (arm64/x86_64) (#664)
* Prepare deployment of Agent v7.70+ for macOS (arm64/x86_64)
This change is meant to take into account how agent deliverables for
macOS embed architecture qualifiers (name & metadata) starting from
version 7.70 and some of the practical implications.
A word of caution: I'm far from being fluent with `ansible`, let alone
with the local setup and conventions, so the change is unlikely to work
out of the box nor to be exhaustive.
Following upstream changes might be of interest to reviewers:
- architecture qualifiers:
- DataDog/omnibus-ruby#240
- DataDog/agent-release-management#364
- new build for AArch64/ARM64:
- DataDog/datadog-agent#37676
- DataDog/agent-release-management#365
* Fix CI-reported failures
Altogether:
- use method `GET` w/ `return_content: false` instead of `HEAD` (not
necessarily implemented)
- move `uri`-unsupported `retries` to upper level
- pass `status_code: 200` to populate
`datadog_macos_agent7_latest_arch_check.status`
- make `ansible-lint` happy (at the expense of readability)
* Apply Fanny's suggestion
To prevent an undefined variable error.
Co-authored-by: Fanny Jiang <fanny.jiang@datadoghq.com>
* Make `ansible-lint` happy again
Use a folded block scalar to overcome the 160-char line limitation.
---------
Co-authored-by: Fanny Jiang <fanny.jiang@datadoghq.com>1 parent e8eb161 commit 6616ffc
5 files changed
Lines changed: 35 additions & 7 deletions
File tree
- .circleci
- defaults
- tasks/pkg-macos
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
7 | 21 | | |
8 | 22 | | |
9 | | - | |
10 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
11 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments