Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
#17 Run ETL.sh instead image running commands
Browse files Browse the repository at this point in the history
  • Loading branch information
marcionemec-daitan committed Mar 5, 2024
1 parent cb0b8d9 commit 30176c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile_Polaris
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,4 @@ COPY . .
RUN mkdir oc_bin
RUN dir
RUN tar -xvf oci_core/openshift-client.tar.gz -C oc_bin
RUN ./oc_bin/oc version
RUN ./oc_bin/oc login --token=$oct --server=$ocs
RUN ./oc_bin/oc project $ocp
RUN ./oc_bin/oc port-forward $ocpd $ocpf:$ocpt


RUN python3 src/main.py $test_mode
RUN ./ETL.sh
9 changes: 9 additions & 0 deletions ETL.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

./oc_bin/oc version
./oc_bin/oc login --token=$oct --server=$ocs
./oc_bin/oc project $ocp
./oc_bin/oc port-forward $ocpd $ocpf:$ocpt


python3 src/main.py $test_mode

0 comments on commit 30176c3

Please sign in to comment.