merative / spm-middleware

A collection of Middleware modules and roles required for installing Cúram Social Program Management. SUITABLE FOR INTERNAL TEST AND DEVELOPMENT ONLY
MIT License
1 stars 6 forks source link

Liberty role migration+alternative download #25

Closed romakarol closed 3 years ago

romakarol commented 3 years ago
romakarol commented 3 years ago

Travis seems to not be accepting new builds from commits atm. Last commit was a README change. Build before was successful:

https://app.travis-ci.com/github/IBM/spm-middleware/builds/239719756

Struggling to test the copy path atm. Details here: https://ibm-watsonhealth.slack.com/archives/GN89BA2C8/p1634128898013900

romakarol commented 3 years ago

Copy-path (finally!) tested:

image

Method: 1) we want to install iim from artifactory: run converge with download_url and only iim role using --destroy never (liberty role commented out). 2) now we have iim installed easily, we want to test the copy path on liberty without download_url: re-run converge with iim role commented out, download_url commented out and the following vars for liberty:


  collections:
    - ibm.spm_middleware

  vars:
    # download_url: "{{ lookup('env', 'ARTIFACTORY_URL') }}/{{ lookup('env', 'ARTIFACTORY_REPO') }}/SoftwareInstallers"
    # download_header: { 'X-JFrog-Art-Api': "{{ lookup('env', 'ARTIFACTORY_TOKEN') }}"}
    iim_installer_path: /root/IIM/agent.installer.linux.gtk.x86_64_1.9.1001.20191112_1525.zip
    liberty_installers_path: /root/.ansible/collections/ansible_collections/ibm/spm_middleware/roles/liberty/files/WLP/was.repo.16002.liberty.nd.zip
    liberty_fp_path: /root/.ansible/collections/ansible_collections/ibm/spm_middleware/roles/liberty/files/WLP/21.0.0.9-WS-LIBERTY-ND-FP.zip
    liberty_java_zip_path: /root/.ansible/collections/ansible_collections/ibm/spm_middleware/roles/liberty/files/Java/IBM/ibm-java-sdk-8.0-6.35-linux-x64-installmgr.zip
    liberty_java_pid: com.ibm.java.jdk.v8_8.0.6035.20210716_0654
  roles:
    # - iim
    - liberty
romakarol commented 3 years ago

Had a conflict in travis.yml, I assume weblogic scenarios are meant to be there now so I left them along with liberty scenarios.

salob commented 3 years ago

@romakarol Looks really good just a few tidy up things identified above. Also don't forget to update version in galaxy.yml