Skip to content

Commit

Permalink
st2sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Mar 23, 2021
1 parent 47c091e commit a50b3ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
type: [opened, reopened, edited]
branches:
# Only for PRs targeting those branches
- main
- master
- v[0-9]+.[0-9]+
schedule:
Expand Down
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ language: python

branches:
only:
- main
- master
- /^v[0-9]+\.[0-9]+$/

Expand Down Expand Up @@ -114,16 +115,6 @@ before_script:
- ls -l /etc/rabbitmq
- ls -l /home/travis
- ls -l /home/travis/build
- ls -l /home/travis/build/StackStorm
- ls -l /home/travis/build/StackStorm/st2
- ls -l /home/travis/build/StackStorm/st2/st2tests
- ls -l /home/travis/build/StackStorm/st2/st2tests/st2tests
- ls -l /home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures
- ls -l /home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs
- ls -l /home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs/ca
- ls -l /home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs/server
- cat /home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs/ca/ca_certificate_bundle.pem
- cat /home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs/server/server_certificate.pem
# Install rabbitmq_management RabbitMQ plugin
- sudo service rabbitmq-server restart ; sleep 5
- sudo rabbitmq-plugins enable rabbitmq_management
Expand Down
6 changes: 3 additions & 3 deletions scripts/travis/rabbitmq.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[
{rabbit, [
{ssl_listeners, [5671]},
{ssl_options, [{cacertfile, "/home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs/ca/ca_certificate_bundle.pem"},
{certfile, "/home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs/server/server_certificate.pem"},
{keyfile, "/home/travis/build/StackStorm/st2/st2tests/st2tests/fixtures/ssl_certs/server/private_key.pem"},
{ssl_options, [{cacertfile, "/home/travis/build/st2sandbox/st2/st2tests/st2tests/fixtures/ssl_certs/ca/ca_certificate_bundle.pem"},
{certfile, "/home/travis/build/st2sandbox/st2/st2tests/st2tests/fixtures/ssl_certs/server/server_certificate.pem"},
{keyfile, "/home/travis/build/st2sandbox/st2/st2tests/st2tests/fixtures/ssl_certs/server/private_key.pem"},
{verify, verify_peer},
{fail_if_no_peer_cert, false}]}
]}
Expand Down

0 comments on commit a50b3ca

Please sign in to comment.