Skip to content

Commit

Permalink
Updated release automation
Browse files Browse the repository at this point in the history
- Use triggers vs. dependabot
  • Loading branch information
nvoxland committed Oct 4, 2021
1 parent 37d10c6 commit b980205
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,30 +150,30 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- name: Start Cassandra Container
run: docker run -p 9042:9042 -v $(pwd):/app --name mycassandra -d cassandra
- name: Start Cassandra Container
run: docker run -p 9042:9042 -v $(pwd):/app --name mycassandra -d cassandra

- name: Wait for cassandra to start up
run: sleep 90s
- name: Wait for cassandra to start up
run: sleep 90s

- name: Check cassandra status
run: docker ps -a
- name: Check cassandra status
run: docker ps -a

- name: Check cassandra logs
run: docker logs mycassandra
- name: Check cassandra logs
run: docker logs mycassandra

- name: Load Cassandra Config
run: docker exec mycassandra cqlsh localhost 9042 -f /app/test.cql
- name: Load Cassandra Config
run: docker exec mycassandra cqlsh localhost 9042 -f /app/test.cql

- name: Run Tests
run: mvn -B verify
- name: Run Tests
run: mvn -B verify

- name: Archive Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: test-reports-integration-jdk${{ matrix.java }}-cassandra${{ matrix.cassandra }}
path: ./**/target/surefire-reports
- name: Archive Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: test-reports-integration-jdk${{ matrix.java }}-cassandra${{ matrix.cassandra }}
path: ./**/target/surefire-reports

draft-release:
needs: [ setup, build, integration-tests ]
Expand Down

0 comments on commit b980205

Please sign in to comment.