Skip to content

Commit 277f878

Browse files
committed
Merge remote-tracking branch 'origin/main' into dependabot/bundler/uri-1.0.3
2 parents a1da1e3 + 2a0bf15 commit 277f878

File tree

207 files changed

+3658
-1735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+3658
-1735
lines changed

.github/workflows/bump_bbs_protos.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
update-protos:
1010
runs-on: ubuntu-latest
1111
permissions:
12-
contents: read
12+
contents: write
1313
pull-requests: write
1414
steps:
1515
- uses: hmarr/debug-action@v3
@@ -26,28 +26,22 @@ jobs:
2626

2727
- name: Install protoc
2828
run: |
29-
wget -q -O /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip
30-
sudo unzip -q /tmp/protoc.zip -d /usr/local
29+
wget -q -O /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v30.2/protoc-30.2-linux-x86_64.zip
30+
unzip -q /tmp/protoc.zip -d /tmp/protoc
3131
rm /tmp/protoc.zip
32-
wget -q -O /tmp/protobuf.zip https://github.com/protocolbuffers/protobuf/archive/v3.6.1.zip
33-
unzip -q /tmp/protobuf.zip -d /tmp
34-
sudo cp -r /tmp/protobuf-3.6.1/src/google /usr/local/include/
32+
33+
sudo mv /tmp/protoc/bin/protoc /usr/local/bin/protoc
34+
sudo cp -r /tmp/protoc/include/google /usr/local/include/
3535
sudo chmod -R 755 /usr/local/include/google
36-
rm -rf /tmp/protobuf.zip /tmp/protobuf-3.6.1
36+
rm -rf /tmp/protoc
3737
export PATH=$PATH:/usr/local/bin
3838
39-
- name: Clone gogo/protobuf
40-
run: |
41-
PROTO_SRC=$(mktemp -d)
42-
git clone https://github.com/gogo/protobuf.git "$PROTO_SRC/github.com/gogo/protobuf"
43-
echo "PROTO_SRC=$PROTO_SRC" >> $GITHUB_ENV
44-
4539
- name: Generate Ruby files from protos
4640
run: |
4741
RUBY_OUT=$(mktemp -d)
4842
pushd bbs > /dev/null
49-
sed -i'' -e 's/package models/package diego.bbs.models/' models/*.proto
50-
protoc --proto_path="$PROTO_SRC":models --ruby_out="$RUBY_OUT" models/*.proto
43+
sed -i'' -E '/import.*gogoproto/d; /option.*gogoproto/d; s/\(gogoproto.*, //g; s/, \(gogoproto[^]]+//g; s/\[\(gogoproto[^]]*\]//g; s/package models/package diego.bbs.models/' models/*.proto
44+
protoc --proto_path=models --ruby_out="$RUBY_OUT" models/*.proto
5145
popd > /dev/null
5246
cp -r "$RUBY_OUT/." cloud_controller_ng/lib/diego/bbs/models
5347

.github/workflows/docs_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121
jobs:
2222
Test-Docs:
2323
runs-on: ubuntu-latest
24-
timeout-minutes: 30
24+
timeout-minutes: 60
2525
steps:
2626
- uses: hmarr/debug-action@v3
2727
- uses: actions/checkout@v4
@@ -34,6 +34,8 @@ jobs:
3434
working-directory: docs/v2
3535
run: ./render.sh
3636
- name: Run docs tests
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3739
run: |
3840
bundle config set --local without 'development'
3941
bundle install

.github/workflows/unit_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
Test-Postgres:
4141
runs-on: ubuntu-latest
42-
timeout-minutes: 30
42+
timeout-minutes: 60
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
image: ["postgres:13", "postgres:15", "postgres:16"]
46+
image: ["postgres:13", "postgres:15", "postgres:17"]
4747
services:
4848
postgres:
4949
image: ${{ matrix.image }}
@@ -72,7 +72,7 @@ jobs:
7272

7373
Test-Mysql:
7474
runs-on: ubuntu-latest
75-
timeout-minutes: 30
75+
timeout-minutes: 60
7676
strategy:
7777
fail-fast: false
7878
matrix:

.github/workflows/unit_tests_backwards_compatibility.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ permissions:
2828
jobs:
2929
Test-Postgres-Backwards-Compatibillity:
3030
runs-on: ubuntu-latest
31-
timeout-minutes: 30
31+
timeout-minutes: 60
3232
strategy:
3333
fail-fast: false
3434
max-parallel: 3
3535
matrix:
36-
image: ["postgres:13", "postgres:15", "postgres:16"]
36+
image: ["postgres:13", "postgres:15", "postgres:17"]
3737
services:
3838
postgres:
3939
image: ${{ matrix.image }}
@@ -80,7 +80,7 @@ jobs:
8080

8181
Test-Mysql-Backwards-Compatibillity:
8282
runs-on: ubuntu-latest
83-
timeout-minutes: 30
83+
timeout-minutes: 60
8484
strategy:
8585
fail-fast: false
8686
max-parallel: 3

.rubocop_cc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ AllCops:
2121
- errors/**/*
2222
- lib/diego/bbs/models/**/*
2323
- lib/locket/**/*
24-
- lib/logcache/v2/**/*
24+
- lib/loggregator-api/**/*
25+
- lib/logcache/*_pb.rb
2526
- vendor/bundle/**/*
2627
Layout/DotPosition:
2728
EnforcedStyle: trailing

Gemfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gem 'concurrent-ruby'
88
gem 'digest-xxhash'
99
gem 'eventmachine', '~> 1.2.7'
1010
gem 'fluent-logger'
11-
gem 'googleapis-common-protos', '>= 1.3.12'
11+
gem 'googleapis-common-protos', '>= 1.8.0'
1212
gem 'hashdiff'
1313
gem 'honeycomb-beeline'
1414
gem 'httpclient'
@@ -32,7 +32,7 @@ gem 'puma'
3232
gem 'rake'
3333
gem 'redis'
3434
gem 'rubyzip', '>= 1.3.0'
35-
gem 'sequel', '~> 5.92'
35+
gem 'sequel', '~> 5.94'
3636
gem 'sequel_pg', require: 'sequel'
3737
gem 'sinatra', '~> 3.2'
3838
gem 'sinatra-contrib'
@@ -55,8 +55,8 @@ gem 'azure-storage-blob', git: 'https://github.com/sethboyles/azure-storage-ruby
5555
gem 'fog-aliyun'
5656
gem 'fog-aws'
5757
gem 'fog-azure-rm', git: 'https://github.com/fog/fog-azure-rm.git', branch: 'fog-arm-cf'
58-
gem 'fog-core', '~> 2.4.0'
59-
gem 'fog-google', '~> 1.24.1'
58+
gem 'fog-core', '~> 2.6.0'
59+
gem 'fog-google', '~> 1.25.0'
6060
gem 'fog-local'
6161
gem 'fog-openstack'
6262

@@ -77,17 +77,17 @@ group :test do
7777
gem 'mock_redis'
7878
gem 'parallel_tests'
7979
gem 'rack-test'
80-
gem 'rspec', '~> 3.13.0'
80+
gem 'rspec', '~> 3.13.1'
8181
gem 'rspec_api_documentation', '>= 6.1.0'
8282
gem 'rspec-collection_matchers'
8383
gem 'rspec-instafail'
8484
gem 'rspec-its'
85-
gem 'rspec-rails', '~> 8.0.0'
85+
gem 'rspec-rails', '~> 8.0.1'
8686
gem 'rspec-wait'
87-
gem 'rubocop', '~> 1.75.5'
87+
gem 'rubocop', '~> 1.78.0'
8888
gem 'rubocop-capybara'
8989
gem 'rubocop-factory_bot'
90-
gem 'rubocop-rails', '~> 2.31'
90+
gem 'rubocop-rails', '~> 2.32'
9191
gem 'rubocop-rspec', '~> 3.6'
9292
gem 'rubocop-rspec_rails'
9393
gem 'rubocop-sequel', '~> 0.4.1'
@@ -97,7 +97,7 @@ end
9797

9898
group :development do
9999
gem 'byebug'
100-
gem 'debug', '~> 1.10'
100+
gem 'debug', '~> 1.11'
101101
gem 'listen'
102102
gem 'roodi'
103103
gem 'solargraph'

0 commit comments

Comments
 (0)