Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/bundler/bundler-ef8ef157fc
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydwatkin authored Jun 20, 2024
2 parents 4db283e + d8b3f90 commit 8717a09
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: |
mysql -e "CREATE USER 'replica'@'%' IDENTIFIED WITH mysql_native_password BY 'replica_password';" -u root -p${{ env.MYSQL_PASSWORD || 'password' }} -h 127.0.0.1
mysql -e "CREATE USER 'replica'@'%' IDENTIFIED BY 'replica_password';" -u root -p${{ env.MYSQL_PASSWORD || 'password' }} -h 127.0.0.1
mysql -e "GRANT SELECT ON test.* TO 'replica'@'%'" -u root -p${{ env.MYSQL_PASSWORD || 'password' }} -h 127.0.0.1
mysql -e "CREATE USER 'primary'@'%' IDENTIFIED WITH mysql_native_password BY 'primary_password';" -u root -p${{ env.MYSQL_PASSWORD || 'password' }} -h 127.0.0.1
mysql -e "CREATE USER 'primary'@'%' IDENTIFIED BY 'primary_password';" -u root -p${{ env.MYSQL_PASSWORD || 'password' }} -h 127.0.0.1
mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'primary'@'%';" -u root -p${{ env.MYSQL_PASSWORD || 'password' }} -h 127.0.0.1
mysql -e "FLUSH PRIVILEGES;" -u root -p${{ env.MYSQL_PASSWORD || 'password' }} -h 127.0.0.1
- run: |
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
janus-ar (0.15.1)
janus-ar (0.15.2)

GEM
remote: http://rubygems.org/
Expand Down
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# frozen_string_literal: true

require 'bundler/gem_tasks'
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
'username' => 'primary',
'password' => 'primary_password',
'host' => '127.0.0.1',
'ssl' => true,
'ssl_mode' => 'REQUIRED',
'tls_min_version' => 3,
}
end
let(:replica_config) do
Expand All @@ -19,6 +22,9 @@
'password' => 'replica_password',
'host' => '127.0.0.1',
'pool' => 500,
'ssl' => true,
'ssl_mode' => 'REQUIRED',
'tls_min_version' => 3,
}
end
let(:config) do
Expand Down

0 comments on commit 8717a09

Please sign in to comment.