Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseWillden committed Oct 24, 2024
1 parent a68e642 commit 5109124
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,6 @@ jobs:
volumes:
- ./njord_examples/oracle/init_scripts:/container-entrypoint-initdb.d
- ./njord/db/test/oracle:/container-entrypoint-initdb.d
command: |
bash -c "\
wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip && \
unzip instantclient-basiclite-linuxx64.zip && \
rm -f instantclient-basiclite-linuxx64.zip && \
cd instantclient* && \
rm -f *jdbc* *occi* *mysql* *jar uidrvci genezi adrci && \
echo /opt/oracle/instantclient* > /etc/ld.so.conf.d/oracle-instantclient.conf && \
ldconfig"
env:
ORACLE_PASSWORD: njord_password
APP_USER: test
Expand Down Expand Up @@ -134,6 +125,19 @@ jobs:
- name: Build Project
run: cargo build --release --features "oracle"

- name: Install Oracle Instant Client
run: |
docker exec oracle sh -c "\
wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip && \
wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-sqlplus-linuxx64.zip && \
unzip instantclient-basiclite-linuxx64.zip && \
unzip instantclient-sqlplus-linuxx64.zip && \
rm -f instantclient-basiclite-linuxx64.zip instantclient-sqlplus-linuxx64.zip && \
cd instantclient* && \
rm -f *jdbc* *occi* *mysql* *jar uidrvci genezi adrci && \
echo /opt/oracle/instantclient* > /etc/ld.so.conf.d/oracle-instantclient.conf && \
ldconfig"
- name: Wait for Oracle to be ready
run: |
echo "Waiting for Oracle to be ready..."
Expand Down

0 comments on commit 5109124

Please sign in to comment.