Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@v6.0.2

- name: Build documentations
run: .github/workflows/build-docs.sh
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
runner: [ubuntu-latest, shopify-ubuntu-arm64]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@v6.0.2

- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
uses: actions/setup-go@v6.4.0
with:
go-version: 1.24.1
go-version: "1.26.2"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just confirming that this doesn't make a difference with quotes or not?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's safer with quotes, I don't trust yaml xD


- name: Building Ghostferry
run: .github/workflows/build-deb.sh

- name: Upload debs
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@v7.0.1
with:
name: debs-${{ github.sha }}-${{ matrix.runner }}
path: build/ghostferry*
Expand All @@ -34,9 +34,9 @@ jobs:
runs-on: ubuntu-latest
needs: build-debs
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@v6.0.2
- name: Fetch uploaded artifacts
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
uses: actions/download-artifact@v8.0.1
with:
pattern: debs-${{ github.sha }}-*
merge-multiple: true
Expand Down
29 changes: 14 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
MYSQL_VERSION: ${{ matrix.mysql }}

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- uses: actions/checkout@v6.0.2
- uses: actions/setup-go@v6.4.0
with:
go-version: 1.24.1
go-version: "1.26.2"

- name: Starting up MySQL
run: .github/workflows/start-mysql.sh
Expand All @@ -54,10 +54,10 @@ jobs:
MYSQL_VERSION: ${{ matrix.mysql }}

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- uses: actions/checkout@v6.0.2
- uses: actions/setup-go@v6.4.0
with:
go-version: 1.24.1
go-version: "1.26.2"

- name: Starting up MySQL
run: .github/workflows/start-mysql.sh
Expand Down Expand Up @@ -85,13 +85,12 @@ jobs:
GHOSTFERRY_LOG_BACKEND: ${{ matrix.log_backend }}

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- uses: actions/checkout@v6.0.2
- uses: actions/setup-go@v6.4.0
with:
go-version: 1.24.1
- uses: ruby/setup-ruby@44511735964dcb71245e7e55f72539531f7bc0eb # v1.257.0
go-version: "1.26.2"
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true

- name: Starting up MySQL
Expand All @@ -106,16 +105,16 @@ jobs:
runner: [ubuntu-latest, shopify-ubuntu-arm64]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- uses: actions/checkout@v6.0.2
- uses: actions/setup-go@v6.4.0
with:
go-version: 1.24.1
go-version: "1.26.2"

- name: Building Ghostferry
run: .github/workflows/build-deb.sh --tagged-only

- name: Upload debs
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@v7.0.1
with:
name: debs-${{ github.sha }}-${{ matrix.runner }}
path: build/ghostferry*
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.4.8
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file.

- Align default zerolog log level with logrus (info vs trace)
- Introduce slog handler wrapper around our Logger interface and use it with BinlogStreamer
- Updated golang to 1.26.2
- Updated ruby to 3.4.8 (test dependency)
- Updated github actions (CI dependency)

### Removed

Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ group :development do
gem "tqdm"
gem "pry-byebug"
end

gem "mutex_m", "~> 0.3.0"
43 changes: 26 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
GEM
remote: https://rubygems.org/
specs:
ansi (1.5.0)
builder (3.2.4)
byebug (11.1.3)
ansi (1.6.0)
bigdecimal (4.1.1)
builder (3.3.0)
byebug (13.0.0)
reline (>= 0.6.0)
coderay (1.1.3)
method_source (1.0.0)
minitest (5.20.0)
io-console (0.8.2)
method_source (1.1.0)
minitest (5.27.0)
minitest-fail-fast (0.1.0)
minitest (~> 5)
minitest-hooks (1.5.1)
minitest-hooks (1.5.3)
minitest (> 5.3)
minitest-reporters (1.6.1)
minitest-reporters (1.8.0)
ansi
builder
minitest (>= 5.0)
minitest (>= 5.0, < 7)
ruby-progressbar
minitest-retry (0.2.2)
minitest-retry (0.3.1)
minitest (>= 5.0)
mysql2 (0.5.5)
pry (0.14.2)
mutex_m (0.3.0)
mysql2 (0.5.7)
bigdecimal
pry (0.16.0)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
rake (13.2.1)
reline (>= 0.6.0)
pry-byebug (3.12.0)
byebug (~> 13.0)
pry (>= 0.13, < 0.17)
rake (13.4.1)
reline (0.6.3)
io-console (~> 0.5)
ruby-progressbar (1.13.0)
tqdm (0.4.1)
webrick (1.8.2)
webrick (1.9.2)

PLATFORMS
ruby
Expand All @@ -39,11 +47,12 @@ DEPENDENCIES
minitest-hooks
minitest-reporters (~> 1.4)
minitest-retry
mutex_m (~> 0.3.0)
mysql2
pry-byebug
rake
tqdm
webrick

BUNDLED WITH
2.2.22
4.0.10
2 changes: 1 addition & 1 deletion dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ up:
- ruby
- bundler
- go:
version: "1.24.1"
version: "1.26.2"
- podman
- custom:
name: Go Dependencies
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/Shopify/ghostferry

go 1.24.1
go 1.26.2

require (
github.com/DataDog/datadog-go v4.8.2+incompatible
Expand Down
Loading