Skip to content

Commit

Permalink
GCP PayAdmin - small clean up (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Nov 12, 2024
1 parent 84b4b58 commit 5f401c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions jobs/payment-jobs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@ RUN curl https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VER
RUN chmod ug+x /usr/local/bin/go-crond
# ========================================================================================================

# Installing Oracle instant client
WORKDIR /opt/oracle
RUN apt-get update && apt-get install -y libaio1 gdb wget unzip \
&& wget https://download.oracle.com/otn_software/linux/instantclient/211000/instantclient-basiclite-linux.x64-21.1.0.0.0.zip \
&& wget https://download.oracle.com/otn_software/linux/instantclient/211000/instantclient-sqlplus-linux.x64-21.1.0.0.0.zip \
&& unzip instantclient-basiclite-linux.x64-21.1.0.0.0.zip \
&& rm -f instantclient-basiclite-linux.x64-21.1.0.0.0.zip \
&& unzip instantclient-sqlplus-linux.x64-21.1.0.0.0.zip \
&& rm -f instantclient-sqlplus-linux.x64-21.1.0.0.0.zip \
&& cd /opt/oracle/instantclient* \
&& rm -f *jdbc* *occi* *mysql* *README *jar uidrvci genezi adrci \
&& echo /opt/oracle/instantclient* > /etc/ld.so.conf.d/oracle-instantclient.conf \
&& ldconfig

# Add a job user
ARG uid=1001
ARG user=pay
Expand Down
4 changes: 2 additions & 2 deletions pay-admin/devops/vaults.gcp.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ DATABASE_PASSWORD="op://database/$APP_ENV/pay-db-gcp/DATABASE_PASSWORD"
DATABASE_PORT="op://database/$APP_ENV/pay-db-gcp/DATABASE_PORT"
DATABASE_UNIX_SOCKET="op://database/$APP_ENV/pay-db-gcp/DATABASE_UNIX_SOCKET"
DATABASE_USERNAME="op://database/$APP_ENV/pay-db-gcp/DATABASE_USERNAME"
PAY_OIDC_CLIENT_SECRETS="op://relationship/$APP_ENV/pay-admin/PAY_OIDC_CLIENT_SECRETS"
PAY_OIDC_ID_TOKEN_COOKIE_SECURE="op://relationship/$APP_ENV/pay-admin/PAY_OIDC_ID_TOKEN_COOKIE_SECURE"
PAY_OIDC_CLIENT_SECRETS=op://relationship/$APP_ENV/pay-admin/PAY_OIDC_CLIENT_SECRETS
PAY_OIDC_ID_TOKEN_COOKIE_SECURE="op://relationship/$APP_ENV/pay-admin/PAY_OIDC_ID_TOKEN_COOKIE_SECURE"

0 comments on commit 5f401c9

Please sign in to comment.