File tree Expand file tree Collapse file tree 5 files changed +15
-0
lines changed Expand file tree Collapse file tree 5 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 25
25
ports :
26
26
- 9042:9042
27
27
options : --health-cmd "cqlsh --username cassandra --password cassandra --debug" --health-interval 5s --health-retries 30
28
+ env :
29
+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
30
+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
28
31
steps :
29
32
- uses : actions/checkout@v3
30
33
- name : Update rust toolchain
31
34
run : rustup update
32
35
- name : Run tests
33
36
run : RUST_LOG=trace cargo test --verbose authenticate_superuser -- custom_authentication --ignored
37
+
Original file line number Diff line number Diff line change 25
25
ports :
26
26
- 9042:9042
27
27
options : --health-cmd "cqlsh --debug scylladb" --health-interval 5s --health-retries 10
28
+ env :
29
+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
30
+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
28
31
steps :
29
32
- uses : actions/checkout@v3
30
33
- name : Update rust toolchain
Original file line number Diff line number Diff line change 24
24
- name : Setup 3-node Cassandra cluster
25
25
run : |
26
26
docker compose -f test/cluster/cassandra/docker-compose.yml up -d --wait
27
+ env :
28
+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
29
+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
27
30
# A separate step for building to separate measuring time of compilation and testing
28
31
- name : Update rust toolchain
29
32
run : rustup update
Original file line number Diff line number Diff line change 26
26
run : |
27
27
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
28
28
docker compose -f test/cluster/docker-compose.yml up -d --wait
29
+ env :
30
+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
31
+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
29
32
- name : Update rust toolchain
30
33
run : rustup update
31
34
- name : Print rustc version
Original file line number Diff line number Diff line change 30
30
--health-retries 10
31
31
env :
32
32
working-directory : ./scylla
33
+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
34
+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
33
35
steps :
34
36
- uses : actions/checkout@v3
35
37
- name : Update rust toolchain
You can’t perform that action at this time.
0 commit comments