AAROC / CODE-RADE

Website, documentation and such for the CODE-RADE project
http://www.africa-grid.org/CODE-RADE
Apache License 2.0
5 stars 5 forks source link

Add java 1.8 jvm to execution environment #189

Closed brucellino closed 7 years ago

brucellino commented 7 years ago

the upgraded jenkins server is is based on java 1.8. There is no 1.8 jvm on the u1404 and centos6 nodes so we have to add it, else the slave agents die.

brucellino commented 7 years ago

builds are now passing.

:tomato: 1 Re-enabled the build-containers job on jenkins Instaled virtualenv on the CI environment Created bot user on quay added bot-user credentials in jenkins credential store Updated build config of the job to test login with bot user :white_check_mark: , create the virtualenv :white_check_mark: :tomato: 2 Goals Attach the Ansible-Container repo as well Set up the build environment properly Build the container
Done Add the anisble-container github repo - this didn't do anything though. It may listen to the repo, but doesn't clone it :thinking_face: The build environment was changed - clone the repo to $HOME/workspace/roles which will be passed to ansible-container later. Added a pre-task to checkout the Ansible Container repo. :tomato: 3 Goals Make sure all of the necessary images are present Check for existence of AnsibleContainer repo - pull if present, clone if not present. Build the Containers. Done Listen to a bunch of Monster Magnet :sign_of_the_horns: Fix the conditional checkout of the container repo Pull the necessary images before building. hit Please login prior to pull: Error: Cannot perform an interactive login from a non TTY device seems to be referred to https://github.com/moby/moby/issues/31799 amongst others. :tomato: 4 Goals pass the correct local roles path build the containers push the containers check the github triggers Done Pullled down the necessary images Seems I didn't get much done - setting up the environment for the build is tricker than I thought. :tomato: 5 Goals pass the correct local roles path build the containers push the containers check the github triggers Done Check out to a specific subdirectory on build (46) try a different --roles-path . roles are in $HOME/roles github trigger to the ansible-container repo works (build 49) :tomato: 6 Goals build the containers push the containers Done builds are finding the roles and the data volumes build 53 failed with a python issue - fix with –use-local-python Build 54 passed, but no tasks were executed :thinking_face: cleaned out workspace trying to reproduce build 54 - didn't work. for some reason the checkout to special directory bit wasn't saved.

brucellino commented 7 years ago

builds are passing and just finishing the image push...