16 lines
518 B
Bash
Executable File
16 lines
518 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
|
|
/bin/sh /etc/profile
|
|
|
|
podNameDjango=`oc get pods -l app=netra-django -n operational -o name`
|
|
podNameCli=`oc get pods -l app=inf-cli -n operational -o name`
|
|
|
|
oc exec $podNameCli -n operational -- /usr/bin/bash butterfly/run.sh
|
|
oc exec $podNameDjango -n operational -- /usr/bin/bash src/run.sh
|
|
oc exec $podName -n operational -- /usr/bin/bash -c 'echo "Auth at $(date)" >> src/auth.log'
|
|
|
|
#oc exec $pod-name -n operational -- echo "Testing" >> hello.txt
|
|
|
|
|