Skip to content

Commit

Permalink
Portal to Application
Browse files Browse the repository at this point in the history
  • Loading branch information
JREastonMarks committed Nov 7, 2023
1 parent f0e48b4 commit c00b5d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
working-directory: ./cbioportal-docker-compose
run: |
cd ./data && ./init.sh && rm -rf ./studies/* && cd ../config && \
cat $PORTAL_SOURCE_DIR/portal/target/classes/portal.properties | \
cat $PORTAL_SOURCE_DIR/target/classes/application.properties | \
sed 's|spring.datasource.url=.*|spring.datasource.url=jdbc:mysql://cbioportal-database:3306/cbioportal?useSSL=false|' | \
sed 's|spring.datasource.username=.*|spring.datasource.username=cbio_user|' | \
sed 's|spring.datasource.password=.*|spring.datasource.password=somepassword|' \
> portal.properties && \
echo "db.user=cbio_user" >> portal.properties && \
echo "db.password=somepassword" >> portal.properties && \
echo "db.connection_string=jdbc:mysql://cbioportal-database:3306/cbioportal?useSSL=false" >> portal.properties && \
echo "db.driver=com.mysql.jdbc.Driver" >> portal.properties
> application.properties && \
echo "db.user=cbio_user" >> application.properties && \
echo "db.password=somepassword" >> application.properties && \
echo "db.connection_string=jdbc:mysql://cbioportal-database:3306/cbioportal?useSSL=false" >> application.properties && \
echo "db.driver=com.mysql.jdbc.Driver" >> application.properties
- name: 'Start cbioportal-docker-compose'
working-directory: ./cbioportal-docker-compose
run: |
Expand Down

0 comments on commit c00b5d5

Please sign in to comment.