thanks for the quick reply , What my goal is to have my script run when the final container in launched , right now I have this in the git hub repo under s2i/bin/run/app.py
I get this error when I attempt to run this in openshift portal /usr/bin/container-entrypoint: line 2: /tmp/scripts/run: Is a directory /usr/bin/container-entrypoint: line 2: exec: /tmp/scripts/run: cannot execute: Is a directory I am thinking that the paths here are in the container right? thanks again On Wed, May 30, 2018 at 12:09 PM, Frederic Giloux <[email protected]> wrote: > Hi Brian > > If you want your script to be executed by new builds it should be named > assemble. It can then call the original assemble script, that you may have > renamed, a python programm or any other thing you need. The run script is > called when the final container is launched not during the build. > > Regards, > > Frédéric > > On Wed, 30 May 2018, 17:51 Brian Keyes, <[email protected]> wrote: > >> I have an python script in my git hub repo >> >> I want to run that script when I run "oc new-build" >> >> Do I simply place the script in the git hub under .s2i/bin/run ? >> >> is there anything else I have to do???? >> >> thanks >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> > -- Brian Keyes Systems Engineer, Vizuri 703-855-9074(Mobile) 703-464-7030 x8239 (Office) FOR OFFICIAL USE ONLY: This email and any attachments may contain information that is privacy and business sensitive. Inappropriate or unauthorized disclosure of business and privacy sensitive information may result in civil and/or criminal penalties as detailed in as amended Privacy Act of 1974 and DoD 5400.11-R.
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
