Skip to content

Commit 28bcab8

Browse files
committed
ci improvements
1 parent 0b5bb73 commit 28bcab8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ jobs:
178178
LIST="${{ steps.split-tests.outputs.test-suite }}"
179179
for file in $LIST
180180
do
181-
# sleep for 20 seconds to avoid the ORA-12514: TNS:listener does not currently know of service requested in connect descriptor error
182-
sleep 20
181+
# sleep for 10 seconds to avoid the ORA-12514: TNS:listener does not currently know of service requested in connect descriptor error
182+
sleep 10
183183
mvn -Dtest=$(basename $file | sed -e "s/.java/,/" | tr -d '\r\n') -e test -Dspring.datasource.url=${{ secrets.LIQUIBASE_COMMAND_URL }} -Dspring.datasource.username=${{ secrets.LIQUIBASE_COMMAND_USERNAME }} -Dspring.datasource.password=${{ secrets.LIQUIBASE_COMMAND_PASSWORD }} -Dspring.liquibase.change-log=classpath:db/changelog/changelog_version-3.2.oracle.sql -Dserver.port=8086 -Duser.timezone=CST
184184
done
185185
@@ -220,9 +220,6 @@ jobs:
220220

221221
# build the docker image using the Dockerfile in the root of the repository
222222
# and tag it with the current run number from the github action workflow run
223-
- name: Docker build
224-
run: |
225-
docker build . -t ghcr.io/${{ github.repository }}:${{ github.run_number }}
226223
- name: Log in to the GH Container Registry
227224
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 # using the docker login action from the github marketplace - github.com/marketplace/actions/docker-login
228225
with:

0 commit comments

Comments
 (0)