File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : 0.2
22
3+ env :
4+ variables :
5+ PROFILE : " default"
6+ DATASOURCE_URL : " pedra"
7+ DATASOURCE_USERNAME : " papel"
8+ DATASOURCE_PASSWORD : " tesoura"
9+ LOGISTOCK_URL : " lagarto"
10+
311phases :
412 install :
513 runtime-versions :
614 java : corretto17
715 commands :
8- - sed -i "s|spring.profiles.active = .*|spring.profiles.active = default |g" src/main/resources/application.yml
9- - sed -i "s|spring.datasource.url = .*|spring.datasource.url = $DATASOURCE_URL|g" src/main/resources/application.yml
10- - sed -i "s|spring.datasource.username = .*|spring.datasource.username = $DATASOURCE_USERNAME|g" src/main/resources/application.yml
11- - sed -i "s|spring.datasource.password = .*|spring.datasource.password = $DATASOURCE_PASSWORD|g" src/main/resources/application.yml
12- - sed -i "s|client.logistock.url = .*|client.logistock.url = $LOGISTOCK_URL|g" src/main/resources/application.yml
16+ - sed -i "s|spring.profiles.active = .*|spring.profiles.active = ${PROFILE} |g" src/main/resources/application.yml
17+ - sed -i "s|spring.datasource.url = .*|spring.datasource.url = ${ DATASOURCE_URL} |g" src/main/resources/application.yml
18+ - sed -i "s|spring.datasource.username = .*|spring.datasource.username = ${ DATASOURCE_USERNAME} |g" src/main/resources/application.yml
19+ - sed -i "s|spring.datasource.password = .*|spring.datasource.password = ${ DATASOURCE_PASSWORD} |g" src/main/resources/application.yml
20+ - sed -i "s|client.logistock.url = .*|client.logistock.url = ${ LOGISTOCK_URL} |g" src/main/resources/application.yml
1321 - cat src/main/resources/application.yml
1422
1523 - chmod +x gradlew
You can’t perform that action at this time.
0 commit comments