Skip to content

Commit

Permalink
add legacy datasource params to the application properties
Browse files Browse the repository at this point in the history
  • Loading branch information
onursumer committed Dec 4, 2024
1 parent f0bcc5a commit 823c2ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ jobs:
cat $PORTAL_SOURCE_DIR/src/main/resources/application.properties | \
sed 's|spring.datasource.mysql.url=.*|spring.datasource.mysql.url=jdbc:mysql://cbioportal-database:3306/cbioportal?useSSL=false|' | \
sed 's|spring.datasource.mysql.username=.*|spring.datasource.mysql.username=cbio_user|' | \
sed 's|spring.datasource.mysql.password=.*|spring.datasource.mysql.password=somepassword|' \
sed 's|spring.datasource.mysql.password=.*|spring.datasource.mysql.password=somepassword|' | \
sed 'a spring.datasource.url=jdbc:mysql://cbioportal-database:3306/cbioportal?useSSL=false' | \
sed 'a spring.datasource.username=cbio_user' | \
sed 'a spring.datasource.password=somepassword' \
> application.properties
- name: 'Copy cgds.sql file into Docker Compose'
run: cp ./cbioportal/src/main/resources/db-scripts/cgds.sql ./cbioportal-docker-compose/data/.
Expand Down

0 comments on commit 823c2ae

Please sign in to comment.