infrastructure icon indicating copy to clipboard operation
infrastructure copied to clipboard

unixPB: adds roles xcode_offline and brew to Unix_Playbook

Open mahdipub opened this issue 1 year ago • 9 comments

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

mahdipub avatar Feb 27 '24 13:02 mahdipub

@mahdipub linter failures.

karianna avatar Mar 02 '24 21:03 karianna

@mahdipub linter failures.

Seems all resolved now.

mahdipub avatar Mar 05 '24 16:03 mahdipub

@mahdipub Ansible linter fixes needed by the looks.

karianna avatar Mar 07 '24 20:03 karianna

@mahdipub Ansible linter fixes needed by the looks.

Lint removed. Could you please try again?

mahdipub avatar Mar 12 '24 22:03 mahdipub

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?

gdams avatar Jul 03 '24 11:07 gdams

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?

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.

mahdipub avatar Jul 03 '24 14:07 mahdipub

We have quite a few roles that are sourcing third party things from a directory called /Vendor_Files if 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_Files directory being stored on the ansible tower/AWX server that is used to deploy to our machines.

@sxa that is done.

mahdipub avatar Dec 04 '24 17:12 mahdipub

New VPC run: https://ci.adoptium.net/job/VagrantPlaybookCheck/2147/

sxa avatar Sep 02 '25 11:09 sxa

/thaw

karianna avatar Sep 02 '25 23:09 karianna