You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/23 00:02:37 UTC

[GitHub] jonpspri opened a new pull request #3133: Subtle changes to support S390X deployment of OpenWhisk

jonpspri opened a new pull request #3133: Subtle changes to support S390X deployment of OpenWhisk
URL: https://github.com/apache/incubator-openwhisk/pull/3133
 
 
   The intention of this PR is to merge in changes necessary to the OpenWhisk core code base for it to run on a Linux on Z environment. These changes are driven primarily by the unavailability of certain Docker images on the Linux on Z platform and the creation of substitute images (usually in a more recent base image). The hope is that with a move to Xenial/Alpine and (possibly) OpenJDK most remaining incompatibilities would disappear and multi-platform images would become available.
   
   In the meantime, some override capabilities have been introduced into the ansible configuration and the image build has been adjusted to support conditional Dockerfiles. (At one point, I was using m4 and/or templating, but for the moment only pick-a-Dockerfile seems necessary).  An additional file 'ansible/extra/s390x.yml' is used to set overrides where needed for s390x.  It can be added to the ansible-playbook commandline as such:
   
   ```
   ansible-playbook -i environment/<environment> -e @extra/s390x.yml <playbook>.yml
   ```
   
   It was also necessary to fiddle with the CLI download capabilities, now that the CLI is being automatically compiled for s390x.  The result is not quite as dynamic as one might wish, yet, but it appears to get the job done.
   
   I'll be on the usual Slack channels.
   
   I have an active Apache CLA.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services