-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fixing bm deployment DO-659 #21
Changes from 90 commits
b7a3fa0
cf671f2
d027bde
ed59afa
80976ad
cece22b
fabbb46
1c0f6bb
2189f48
628f3b0
a99e5d2
3f404bd
cf40198
80c80ed
707f3fe
3455537
8f155d1
c095e2a
d016549
1c64a72
6f311d6
a5bd9d9
1069546
e4bbca0
2bab275
efb567d
f4b9b8e
fd73b78
bafffdd
3303454
9d432dc
66e8615
bb6635f
e430814
f9a1839
9625fe8
c23ac55
173e26a
c6086df
90e8e42
8deab7c
15b3b3b
d18cfc1
b2481c7
1a340cf
db18f85
0c5a7d5
9f5d772
a4bef36
1bfb99d
b32dee2
97db366
cf6f44e
6b102d3
d41c72f
754f949
89483d3
b848c3f
2610d66
b7461a0
5df7874
d86a75d
0f12c32
4f93033
0aec69c
e969aab
05bf8b3
cdb952a
08e1b76
6c347c6
6f77493
7134497
0b1abea
a6637e6
a1a3db7
62764b5
bef7955
dd2c723
4bf420e
1479883
9f68b69
a978abd
bf99fe8
0366427
e38949b
3921af4
9e1b87d
43a1515
69ca58a
81bbbfd
c437fbc
d82a8db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,36 @@ | ||
--- | ||
- name: Downlaod Xcode v{{ xcode_version }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ansible-lint] reported by reviewdog 🐶 |
||
ansible.builtin.shell: > | ||
jf rt dl | ||
--flat | ||
--fail-no-op | ||
--retries=100 | ||
--url="https://artifactory.ccdc.cam.ac.uk/artifactory" | ||
--user={{ ansible_deployment_artifactory_user }} | ||
--props="XCODE_VERSION={{ xcode_version }}" | ||
--password="{{ ansible_deployment_artifactory_key }}" | ||
"ccdc-3rdparty-macos-xcode-installers/" | ||
/tmp/xcode-{{ xcode_version }}.xip | ||
environment: | ||
PATH: "/usr/local/bin:/usr/bin" | ||
CI: "true" | ||
JFROG_CLI_OFFER_CONFIG: "false" | ||
args: | ||
creates: /tmp/xcode-{{ xcode_version }}.xip | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [yamllint] reported by reviewdog 🐶 |
||
|
||
- name: Install Xcode v{{ xcode_version }} # noqa: name[template] | ||
Check failure on line 21 in tasks/Darwin.yml GitHub Actions / Lintingcommand-instead-of-shell
Check notice on line 21 in tasks/Darwin.yml GitHub Actions / ansible-lint[ansible-lint] tasks/Darwin.yml#L21
Raw output
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ansible-lint] reported by reviewdog 🐶 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ansible-lint] reported by reviewdog 🐶 |
||
ansible.builtin.shell: | | ||
XCODES_USERNAME={{ lookup("env", "CCDC_APPLE_ID_USERNAME") }} \ | ||
XCODES_PASSWORD={{ lookup("env", "CCDC_APPLE_ID_PASSWORD") }} \ | ||
xcodes install {{ xcode_version }} --experimental-unxip --select | ||
ansible.builtin.shell: | ||
cmd: /usr/local/bin/xcodes install {{ xcode_version }} --path /tmp/xcode-{{ xcode_version }}.xip --experimental-unxip | ||
args: | ||
creates: "/Applications/Xcode_{{ xcode_version }}.app" | ||
creates: "/Applications/Xcode-{{ xcode_version }}.app" | ||
environment: | ||
PATH: /usr/local/bin:{{ ansible_env.PATH }} | ||
|
||
- name: Set CLI tools path | ||
Check failure on line 29 in tasks/Darwin.yml GitHub Actions / Lintingno-changed-when
Check notice on line 29 in tasks/Darwin.yml GitHub Actions / ansible-lint[ansible-lint] tasks/Darwin.yml#L29
Raw output
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ansible-lint] reported by reviewdog 🐶 |
||
ansible.builtin.command: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [yamllint] reported by reviewdog 🐶 |
||
cmd: xcode-select -s /Applications/Xcode-{{ xcode_version }}.app/Contents/Developer | ||
become: true | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [yamllint] reported by reviewdog 🐶 |
||
- name: Accept Xcode licence # noqa: no-changed-when | ||
ansible.builtin.command: xcodebuild -license accept | ||
become: true | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[ansible-lint] reported by reviewdog 🐶
no-changed-when Commands should not change things if nothing needs doing