unixPB: adds roles xcode_offline and brew to Unix_Playbook
The new Xcode_offline role will install xcode from an offline copy in /files dire. The brew role also will install brew on macos. Both rely on installing python on mac machine in advance.
Checklist
- [x] commit message has one of the standard prefixes
@mahdipub linter failures.
@mahdipub linter failures.
Seems all resolved now.
@mahdipub Ansible linter fixes needed by the looks.
@mahdipub Ansible linter fixes needed by the looks.
Lint removed. Could you please try again?
I might be missing something but the current roles already support this.
https://github.com/adoptium/infrastructure/blob/137a3f3c81769787c7aea0ebb2d13cc27958b50a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode15/tasks/main.yml#L25-L28
checks for the xcode.xip file to see if it exists already in the tmp directory before attempting to fetch it from the Azure Blob store?
I might be missing something but the current roles already support this.
https://github.com/adoptium/infrastructure/blob/137a3f3c81769787c7aea0ebb2d13cc27958b50a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode15/tasks/main.yml#L25-L28
checks for the
xcode.xipfile to see if it exists already in thetmpdirectory before attempting to fetch it from the Azure Blob store?
This PR, meant to support wider range of xcode version and architecture. If we decided to merge this PR, it might be better to remove the one you mentioned.
We have quite a few roles that are sourcing third party things from a directory called
/Vendor_Filesif it exists (A similar example being this for the XLC compiler on AIX) - would it be possible to do the same for this situation instead of requiring it to be a directory inside the checked out git tree? This way of operations means we can support the/Vendor_Filesdirectory being stored on the ansible tower/AWX server that is used to deploy to our machines.
@sxa that is done.
New VPC run: https://ci.adoptium.net/job/VagrantPlaybookCheck/2147/
/thaw