fog-google 1.19.0 → 1.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/integration-compute-core.yml +54 -0
  3. data/.github/workflows/integration-compute-instance_groups.yml +55 -0
  4. data/.github/workflows/integration-compute-loadbalancing.yml +54 -0
  5. data/.github/workflows/integration-compute-networking.yml +53 -0
  6. data/.github/workflows/integration-monitoring.yml +54 -0
  7. data/.github/workflows/integration-pubsub.yml +54 -0
  8. data/.github/workflows/integration-sql.yml +54 -0
  9. data/.github/workflows/integration-storage.yml +55 -0
  10. data/.github/workflows/stale.yml +2 -2
  11. data/.github/workflows/unit.yml +7 -2
  12. data/.ruby-version +1 -0
  13. data/CHANGELOG.md +112 -0
  14. data/README.md +3 -3
  15. data/examples/create_instance.rb +1 -1
  16. data/examples/create_instance_and_attach_disk_later.rb +86 -0
  17. data/examples/create_instance_with_attached_disk.rb +1 -1
  18. data/examples/get_list_images.rb +1 -1
  19. data/examples/load-balance.rb +1 -1
  20. data/examples/metadata.rb +1 -1
  21. data/examples/network.rb +1 -1
  22. data/fog-google.gemspec +12 -10
  23. data/lib/fog/compute/google/models/addresses.rb +17 -8
  24. data/lib/fog/compute/google/models/disk_types.rb +17 -7
  25. data/lib/fog/compute/google/models/disks.rb +23 -8
  26. data/lib/fog/compute/google/models/firewalls.rb +11 -2
  27. data/lib/fog/compute/google/models/forwarding_rules.rb +16 -10
  28. data/lib/fog/compute/google/models/global_addresses.rb +11 -2
  29. data/lib/fog/compute/google/models/global_forwarding_rules.rb +11 -2
  30. data/lib/fog/compute/google/models/http_health_checks.rb +12 -3
  31. data/lib/fog/compute/google/models/images.rb +15 -8
  32. data/lib/fog/compute/google/models/instance_group_managers.rb +17 -9
  33. data/lib/fog/compute/google/models/instance_groups.rb +16 -8
  34. data/lib/fog/compute/google/models/instance_templates.rb +12 -3
  35. data/lib/fog/compute/google/models/machine_types.rb +17 -8
  36. data/lib/fog/compute/google/models/networks.rb +12 -3
  37. data/lib/fog/compute/google/models/operations.rb +22 -8
  38. data/lib/fog/compute/google/models/regions.rb +12 -3
  39. data/lib/fog/compute/google/models/routes.rb +12 -3
  40. data/lib/fog/compute/google/models/server.rb +4 -4
  41. data/lib/fog/compute/google/models/servers.rb +23 -9
  42. data/lib/fog/compute/google/models/ssl_certificates.rb +12 -3
  43. data/lib/fog/compute/google/models/subnetworks.rb +16 -8
  44. data/lib/fog/compute/google/models/target_http_proxies.rb +12 -3
  45. data/lib/fog/compute/google/models/target_https_proxies.rb +12 -3
  46. data/lib/fog/compute/google/models/target_instances.rb +16 -8
  47. data/lib/fog/compute/google/models/target_pools.rb +16 -8
  48. data/lib/fog/compute/google/models/url_maps.rb +12 -3
  49. data/lib/fog/compute/google/models/zones.rb +12 -3
  50. data/lib/fog/compute/google/requests/insert_server.rb +1 -1
  51. data/lib/fog/compute/google/requests/stop_server.rb +2 -2
  52. data/lib/fog/google/shared.rb +9 -8
  53. data/lib/fog/google/version.rb +1 -1
  54. data/lib/fog/storage/google_json/models/file.rb +7 -2
  55. data/lib/fog/storage/google_json/real.rb +16 -7
  56. data/lib/fog/storage/google_json/utils.rb +3 -4
  57. data/lib/fog/storage/google_json.rb +1 -1
  58. data/test/helpers/integration_test_helper.rb +3 -3
  59. data/test/integration/compute/core_compute/test_servers.rb +86 -0
  60. data/test/integration/monitoring/test_timeseries.rb +29 -14
  61. data/test/integration/storage/test_objects.rb +1 -0
  62. data/test/unit/compute/test_common_collections.rb +1 -1
  63. data/test/unit/compute/test_common_models.rb +1 -1
  64. data/test/unit/compute/test_disk.rb +26 -0
  65. data/test/unit/compute/test_server.rb +1 -1
  66. data/test/unit/dns/test_common_collections.rb +1 -1
  67. data/test/unit/monitoring/test_comon_collections.rb +1 -1
  68. data/test/unit/pubsub/test_common_collections.rb +1 -1
  69. data/test/unit/sql/test_common_collections.rb +1 -1
  70. data/test/unit/storage/test_common_json_collections.rb +1 -1
  71. data/test/unit/storage/test_common_xml_collections.rb +1 -1
  72. data/test/unit/storage/test_json_requests.rb +9 -1
  73. data/test/unit/storage/test_xml_requests.rb +1 -1
  74. metadata +63 -26
  75. data/.github/workflows/integration.yml +0 -225
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b20ba5a737cfb13ade212b613d28434757226a2a24295df02d6ef4ed1af63a8
4
- data.tar.gz: daf53527899f7503f46183047024dc875102d7ac6be02959ef1fc428a0669fae
3
+ metadata.gz: 32fba42f750f2248b67a52b9c90e4ad74afeee359c7b8eec325de6e61e958e3d
4
+ data.tar.gz: 6b34cbc9704516e06f9dbff7a6cb37eb403acaefd06e5be5361bcad5e065ebc3
5
5
  SHA512:
6
- metadata.gz: 6cb2f67935fcb561acc870217144d9077bef88732155e0542bb1c06dd6d342c44ed00c702a05f30d5a3c87072080a2f3220e23d1490b8133c144977aa59dd3a1
7
- data.tar.gz: c34b0c89d323619d80e1d95a278b4e5895aa5735ec4d0739f80d72e49bbd9bb2095e4248bd20698b122ab659baccbb963f195b06d1ff4d5232279912f1901b81
6
+ metadata.gz: 06b4ca2279ada450d5036ed62e54187bdb82172fb48873446929dd409b8c45ab1e2fb59f63bfdd1498e1d8917e7276ebc69a718ae7a6c188c8279fffe4eb36a1
7
+ data.tar.gz: 3f2201ff0d673c300b89d69ee228301afd660bc59bfdde91dcc1da48894798f9c64a6e9847c0818c8c32dcca1097ad33646966d484988c0959a7a0dd91b35678
@@ -0,0 +1,54 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-compute-core
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/compute/**'
17
+ - 'test/integration/compute/core_compute/**'
18
+ # Common deps & shared paths
19
+ - 'fog-google.gemspec'
20
+ - 'lib/fog/bin/google.rb'
21
+ - 'lib/fog/google/shared.rb'
22
+ - 'lib/fog/google.rb'
23
+ # Trigger workflow on version upgrade
24
+ - 'lib/fog/google/version.rb'
25
+ # Trigger when workflow itself is updated
26
+ - '.github/workflows/integration-compute-core.yml'
27
+
28
+ # Setting hard concurrency limit for the project due to cleanup
29
+ # TODO(fog-google#626): remove this once cleanup is fixed
30
+ concurrency:
31
+ group: ${{ github.workflow }}
32
+ cancel-in-progress: false
33
+
34
+ jobs:
35
+ test-compute:
36
+ runs-on: fog-arc-runner
37
+ strategy:
38
+ matrix:
39
+ ruby-version: [ '3.0', '3.1', '3.2' ]
40
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
41
+ # TODO(fog-google#626): remove this once cleanup is fixed
42
+ max-parallel: 1
43
+
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - name: Set up Ruby
47
+ uses: ruby/setup-ruby@v1
48
+ with:
49
+ ruby-version: ${{ matrix.ruby-version }}
50
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
51
+ - name: Run tests
52
+ run: >-
53
+ ./.github/scripts/setup_creds.sh &&
54
+ bundle exec rake test:compute-core_compute
@@ -0,0 +1,55 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-compute-instance_groups
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/compute/**'
17
+ - 'test/integration/compute/instance_groups/**'
18
+ # Common deps & shared paths
19
+ - 'fog-google.gemspec'
20
+ - 'lib/fog/bin/google.rb'
21
+ - 'lib/fog/google/shared.rb'
22
+ - 'lib/fog/google.rb'
23
+ # Trigger workflow on version upgrade
24
+ - 'lib/fog/google/version.rb'
25
+ # Trigger when workflow itself is updated
26
+ - '.github/workflows/integration-compute-instance_groups.yml'
27
+
28
+ # Setting hard concurrency limit for the project due to cleanup
29
+ # TODO(fog-google#626): remove this once cleanup is fixed
30
+ concurrency:
31
+ group: ${{ github.workflow }}
32
+ cancel-in-progress: false
33
+
34
+
35
+ jobs:
36
+ test:
37
+ runs-on: fog-arc-runner
38
+ strategy:
39
+ matrix:
40
+ ruby-version: [ '3.0', '3.1', '3.2' ]
41
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
42
+ max-parallel: 1
43
+
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - name: Set up Ruby
47
+ uses: ruby/setup-ruby@v1
48
+ with:
49
+ ruby-version: ${{ matrix.ruby-version }}
50
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
51
+ - name: Run tests
52
+ run: >-
53
+ ./.github/scripts/setup_creds.sh &&
54
+ bundle exec rake test:compute-instance_groups
55
+
@@ -0,0 +1,54 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-compute-loadbalancing
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/compute/**'
17
+ - 'test/integration/compute/loadbalancing/**'
18
+ # Common deps & shared paths
19
+ - 'fog-google.gemspec'
20
+ - 'lib/fog/bin/google.rb'
21
+ - 'lib/fog/google/shared.rb'
22
+ - 'lib/fog/google.rb'
23
+ # Trigger workflow on version upgrade
24
+ - 'lib/fog/google/version.rb'
25
+ # Trigger when workflow itself is updated
26
+ - '.github/workflows/integration-compute-loadbalancing.yml'
27
+
28
+ # Setting hard concurrency limit for the project due to cleanup
29
+ # TODO(fog-google#626): remove this once cleanup is fixed
30
+ concurrency:
31
+ group: ${{ github.workflow }}
32
+ cancel-in-progress: false
33
+
34
+
35
+ jobs:
36
+ test:
37
+ runs-on: fog-arc-runner
38
+ strategy:
39
+ matrix:
40
+ ruby-version: [ '3.0', '3.1', '3.2' ]
41
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
42
+ max-parallel: 1
43
+
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - name: Set up Ruby
47
+ uses: ruby/setup-ruby@v1
48
+ with:
49
+ ruby-version: ${{ matrix.ruby-version }}
50
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
51
+ - name: Run tests
52
+ run: >-
53
+ ./.github/scripts/setup_creds.sh &&
54
+ bundle exec rake test:compute-loadbalancing
@@ -0,0 +1,53 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-compute-networking
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/compute/**'
17
+ - 'test/integration/compute/core_networking/**'
18
+ # Common deps & shared paths
19
+ - 'fog-google.gemspec'
20
+ - 'lib/fog/bin/google.rb'
21
+ - 'lib/fog/google/shared.rb'
22
+ - 'lib/fog/google.rb'
23
+ # Trigger workflow on version upgrade
24
+ - 'lib/fog/google/version.rb'
25
+ # Trigger when workflow itself is updated
26
+ - '.github/workflows/integration-compute-networking.yml'
27
+
28
+ # Setting hard concurrency limit for the project due to cleanup
29
+ # TODO(fog-google#626): remove this once cleanup is fixed
30
+ concurrency:
31
+ group: ${{ github.workflow }}
32
+ cancel-in-progress: false
33
+
34
+ jobs:
35
+ test:
36
+ runs-on: fog-arc-runner
37
+ strategy:
38
+ matrix:
39
+ ruby-version: [ '3.0', '3.1', '3.2' ]
40
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
41
+ max-parallel: 1
42
+
43
+ steps:
44
+ - uses: actions/checkout@v4
45
+ - name: Set up Ruby
46
+ uses: ruby/setup-ruby@v1
47
+ with:
48
+ ruby-version: ${{ matrix.ruby-version }}
49
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
50
+ - name: Run tests
51
+ run: >-
52
+ ./.github/scripts/setup_creds.sh &&
53
+ bundle exec rake test:compute-core_networking
@@ -0,0 +1,54 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-monitoring
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/google/monitoring.rb'
17
+ - 'lib/fog/google/monitoring/**'
18
+ - 'test/integration/monitoring/**'
19
+ # Common deps & shared paths
20
+ - 'fog-google.gemspec'
21
+ - 'lib/fog/bin/google.rb'
22
+ - 'lib/fog/google/shared.rb'
23
+ - 'lib/fog/google.rb'
24
+ # Trigger workflow on version upgrade
25
+ - 'lib/fog/google/version.rb'
26
+ # Trigger when workflow itself is updated
27
+ - '.github/workflows/integration-monitoring.yml'
28
+
29
+ # Setting hard concurrency limit for the project due to cleanup
30
+ # TODO(fog-google#626): remove this once cleanup is fixed
31
+ concurrency:
32
+ group: ${{ github.workflow }}
33
+ cancel-in-progress: false
34
+
35
+ jobs:
36
+ test:
37
+ runs-on: fog-arc-runner
38
+ strategy:
39
+ matrix:
40
+ ruby-version: [ '3.0', '3.1', '3.2' ]
41
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
42
+ max-parallel: 1
43
+
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - name: Set up Ruby
47
+ uses: ruby/setup-ruby@v1
48
+ with:
49
+ ruby-version: ${{ matrix.ruby-version }}
50
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
51
+ - name: Run tests
52
+ run: >-
53
+ ./.github/scripts/setup_creds.sh &&
54
+ bundle exec rake test:monitoring
@@ -0,0 +1,54 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-pubsub
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/google/pubsub.rb'
17
+ - 'lib/fog/google/pubsub/**'
18
+ - 'test/integration/pubsub/**'
19
+ # Common deps & shared paths
20
+ - 'fog-google.gemspec'
21
+ - 'lib/fog/bin/google.rb'
22
+ - 'lib/fog/google/shared.rb'
23
+ - 'lib/fog/google.rb'
24
+ # Trigger workflow on version upgrade
25
+ - 'lib/fog/google/version.rb'
26
+ # Trigger when workflow itself is updated
27
+ - '.github/workflows/integration-pubsub.yml'
28
+
29
+ # Setting hard concurrency limit for the project due to cleanup
30
+ # TODO(fog-google#626): remove this once cleanup is fixed
31
+ concurrency:
32
+ group: ${{ github.workflow }}
33
+ cancel-in-progress: false
34
+
35
+ jobs:
36
+ test:
37
+ runs-on: fog-arc-runner
38
+ strategy:
39
+ matrix:
40
+ ruby-version: [ '3.0', '3.1', '3.2' ]
41
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
42
+ max-parallel: 1
43
+
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - name: Set up Ruby
47
+ uses: ruby/setup-ruby@v1
48
+ with:
49
+ ruby-version: ${{ matrix.ruby-version }}
50
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
51
+ - name: Run tests
52
+ run: >-
53
+ ./.github/scripts/setup_creds.sh &&
54
+ bundle exec rake test:pubsub
@@ -0,0 +1,54 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-sql
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/google/sql.rb'
17
+ - 'lib/fog/google/sql/**'
18
+ - 'test/integration/sql/**'
19
+ # Common deps & shared paths
20
+ - 'fog-google.gemspec'
21
+ - 'lib/fog/bin/google.rb'
22
+ - 'lib/fog/google/shared.rb'
23
+ - 'lib/fog/google.rb'
24
+ # Trigger workflow on version upgrade
25
+ - 'lib/fog/google/version.rb'
26
+ # Trigger when workflow itself is updated
27
+ - '.github/workflows/integration-sql.yml'
28
+
29
+ # Setting hard concurrency limit for the project due to cleanup
30
+ # TODO(fog-google#626): remove this once cleanup is fixed
31
+ concurrency:
32
+ group: ${{ github.workflow }}
33
+ cancel-in-progress: false
34
+
35
+ jobs:
36
+ test:
37
+ runs-on: fog-arc-runner
38
+ strategy:
39
+ matrix:
40
+ ruby-version: [ '3.0', '3.1', '3.2' ]
41
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
42
+ max-parallel: 1
43
+
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - name: Set up Ruby
47
+ uses: ruby/setup-ruby@v1
48
+ with:
49
+ ruby-version: ${{ matrix.ruby-version }}
50
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
51
+ - name: Run tests
52
+ run: >-
53
+ ./.github/scripts/setup_creds.sh &&
54
+ bundle exec rake test:sql
@@ -0,0 +1,55 @@
1
+ # SQL tests are carried own in its' own job as they're extremely heavy so there
2
+ # is no need to run them if SQL code or deps haven't changed and you cannot
3
+ # trigger jobs based on file changes in the same workflow.
4
+ # See: https://github.com/actions/runner/issues/456
5
+ name: integration-tests-storage
6
+
7
+ on:
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+ types: [ assigned, opened, synchronize, reopened, labeled ]
13
+ # Only run integration tests if relevant code or deps have changed
14
+ paths:
15
+ # Module-specific paths
16
+ - 'lib/fog/google/storage.rb'
17
+ - 'lib/fog/google/storage/**'
18
+ - 'lib/fog/google/parsers/storage/**'
19
+ - 'test/integration/storage/**'
20
+ # Common deps & shared paths
21
+ - 'fog-google.gemspec'
22
+ - 'lib/fog/bin/google.rb'
23
+ - 'lib/fog/google/shared.rb'
24
+ - 'lib/fog/google.rb'
25
+ # Trigger workflow on version upgrade
26
+ - 'lib/fog/google/version.rb'
27
+ # Trigger when workflow itself is updated
28
+ - '.github/workflows/integration-storage.yml'
29
+
30
+ # Setting hard concurrency limit for the project due to cleanup
31
+ # TODO(fog-google#626): remove this once cleanup is fixed
32
+ concurrency:
33
+ group: ${{ github.workflow }}
34
+ cancel-in-progress: false
35
+
36
+ jobs:
37
+ test:
38
+ runs-on: fog-arc-runner
39
+ strategy:
40
+ matrix:
41
+ ruby-version: [ '3.0', '3.1', '3.2' ]
42
+ # Integration tests from the same task cannot run in parallel yet due to cleanup
43
+ max-parallel: 1
44
+
45
+ steps:
46
+ - uses: actions/checkout@v4
47
+ - name: Set up Ruby
48
+ uses: ruby/setup-ruby@v1
49
+ with:
50
+ ruby-version: ${{ matrix.ruby-version }}
51
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
52
+ - name: Run tests
53
+ run: >-
54
+ ./.github/scripts/setup_creds.sh &&
55
+ bundle exec rake test:storage
@@ -10,10 +10,10 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
 
12
12
  steps:
13
- - uses: actions/stale@v4
13
+ - uses: actions/stale@v9
14
14
  with:
15
15
  repo-token: ${{ secrets.GITHUB_TOKEN }}
16
- days-before-stale: 60
16
+ days-before-stale: 360
17
17
  days-before-close: 7
18
18
  exempt-issue-labels: 'pinned,security'
19
19
  exempt-pr-labels: 'pinned,security'
@@ -6,15 +6,20 @@ on:
6
6
  pull_request:
7
7
  branches: [ master ]
8
8
 
9
+ # Cancel in-progress jobs of the same ref or run_id
10
+ concurrency:
11
+ group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
12
+ cancel-in-progress: true
13
+
9
14
  jobs:
10
15
  test-unit:
11
16
  runs-on: ubuntu-latest
12
17
  strategy:
13
18
  matrix:
14
- ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', 'head', 'truffleruby-head']
19
+ ruby-version: [ '3.0', '3.1', '3.2', 'head', 'truffleruby-head']
15
20
 
16
21
  steps:
17
- - uses: actions/checkout@v2.4.0
22
+ - uses: actions/checkout@v4
18
23
  - name: Set up Ruby
19
24
  uses: ruby/setup-ruby@v1
20
25
  with:
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -6,6 +6,118 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
6
6
 
7
7
  ## Next
8
8
 
9
+
10
+ ## 1.24.1
11
+
12
+ ### User-facing
13
+
14
+ #### Fixed
15
+
16
+ - #629 Fix IAM scope for storage requests [stanhu]
17
+
18
+ ## 1.24.0
19
+
20
+ ### User-facing
21
+
22
+ #### Added
23
+
24
+ - #613 Spruce up attaching and detaching disks on running servers [rchekaluk]
25
+ - #621 Added support for discard_local_ssd when stopping an instance [rchekaluk]
26
+
27
+ ### Development changes
28
+
29
+ #### Added
30
+
31
+ - #618 Deprecated Ruby-2.0 support [temikus]
32
+ - #624 Migrated the Integration tests to new ARC runners [temikus]
33
+ - #625 Fixed 'Ostruct' errors in storage tests [temikus]
34
+ - #627 Added concurrency groups to integration test workfows [temikus]
35
+
36
+ #### Fixed
37
+
38
+ - #604 Updated pry requirement from = 0.13.0 to = 0.14.2 [dependabot]
39
+ - #619 Updated google-cloud-env requirement from ~> 1.2 to >= 1.2, < 3.0 [dependabot]
40
+ - #620 Bump actions/stale from 8 to 9 [dependabot]
41
+ - #622 Updated fog-core requirement from < 2.3 to < 2.5 [dependabot]
42
+
43
+ ## 1.23.0
44
+
45
+ ### User-facing
46
+
47
+ #### Fixed
48
+
49
+ - #609 Fixed missing paging on all models [agrare]
50
+ - #608 Fixed `Fog::Compute::Google::Servers#all` paging [agrare]
51
+
52
+ ### Development changes
53
+
54
+ #### Fixed
55
+
56
+ - #606 Use `Minitest::Test` instead of `MiniTest::Test` [chubchenko]
57
+ - #605 Bump actions/checkout from 3 to 4 [dependabot]
58
+ - #602 Bump actions/stale from 6 to 8 [dependabot]
59
+
60
+ ## 1.22.0
61
+
62
+ ### User-facing
63
+
64
+ #### Added
65
+
66
+ - #600 - Add uniform attr to inserting file [cwjenkins]
67
+
68
+ ### Development changes
69
+
70
+ #### Fixed
71
+
72
+ - #601 Remove deprecated ruby versions from unit tests [temikus]
73
+
74
+ ## 1.21.1
75
+
76
+ ### User-facing
77
+
78
+ #### Fixed
79
+
80
+ - \#597 loosen dependencies to avoid conflict
81
+
82
+ ### Development changes
83
+
84
+ #### Fixed
85
+
86
+ - bump actions/checkout from 2.4.0 to 3.1.0
87
+ - fixes and refinements for integration tests
88
+
89
+ ## 1.21.0
90
+
91
+ ### User-facing
92
+
93
+ #### Fixed
94
+
95
+ - \#592 use Addressable for escaping paths when generating urls
96
+ - test workflow refinements
97
+
98
+ ### Development changes
99
+
100
+ #### Fixed
101
+
102
+ - bump actions/checkout from 2.4.0 to 3.1.0
103
+ - fixes and refinements for integration tests
104
+
105
+ ## 1.20.0
106
+
107
+ ### User-facing
108
+
109
+ #### Fixed
110
+
111
+ - update google client dependencies
112
+ - \#591 only create new RSA keys if needed for faster signing
113
+
114
+ ### Development changes
115
+
116
+ #### Fixed
117
+
118
+ - bump actions/checkout from 2.4.0 to 3.1.0
119
+ - fixes and refinements for integration tests
120
+
9
121
  ## 1.19.0
10
122
 
11
123
  ### User-facing
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Fog::Google
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/fog-google.svg)](http://badge.fury.io/rb/fog-google) [![Build Status](https://github.com/fog/fog-google/actions/workflows/ruby.yml/badge.svg)](https://github.com/fog/fog-google/actions/workflows/ruby.yml) [![codecov](https://codecov.io/gh/fog/fog-google/branch/master/graph/badge.svg)](https://codecov.io/gh/fog/fog-google) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=fog/fog-google)](https://dependabot.com) [![Doc coverage](https://inch-ci.org/github/fog/fog-google.svg?branch=master)](https://inch-ci.org/github/fog/fog-google)
3
+ [![Gem Version](https://badge.fury.io/rb/fog-google.svg)](http://badge.fury.io/rb/fog-google) [![Build Status](https://github.com/fog/fog-google/actions/workflows/unit.yml/badge.svg)](https://github.com/fog/fog-google/actions/workflows/unit.yml) [![codecov](https://codecov.io/gh/fog/fog-google/branch/master/graph/badge.svg)](https://codecov.io/gh/fog/fog-google) ![Dependabot Status](https://flat.badgen.net/github/dependabot/fog/fog-google) [![Doc coverage](https://inch-ci.org/github/fog/fog-google.svg?branch=master)](https://inch-ci.org/github/fog/fog-google)
4
4
 
5
5
  The main maintainers for the Google sections are @icco, @Temikus and @plribeiro3000. Please send pull requests to them.
6
6
 
@@ -8,7 +8,7 @@ The main maintainers for the Google sections are @icco, @Temikus and @plribeiro3
8
8
 
9
9
  - As of **v1.0.0**, fog-google includes google-api-client as a dependency, there is no need to include it separately anymore.
10
10
 
11
- - Fog-google is currently supported on Ruby 2.6+ See [supported ruby versions](#supported-ruby-versions) for more info.
11
+ - Fog-google is currently supported on Ruby 2.7+ See [supported ruby versions](#supported-ruby-versions) for more info.
12
12
 
13
13
  See **[MIGRATING.md](MIGRATING.md)** for migration between major versions.
14
14
 
@@ -175,7 +175,7 @@ $ bundle exec pry
175
175
 
176
176
  ## Supported Ruby Versions
177
177
 
178
- Fog-google is currently supported on Ruby 2.6+.
178
+ Fog-google is currently supported on Ruby 3.0+.
179
179
 
180
180
  In general we support (and run our CI) for Ruby versions that are actively supported
181
181
  by Ruby Core - that is, Ruby versions that are not end of life. Older versions of
@@ -13,7 +13,7 @@ def example
13
13
  :name => "fog-smoke-test-#{Time.now.to_i}",
14
14
  :size_gb => 10,
15
15
  :zone => "us-central1-f",
16
- :source_image => "debian-9-stretch-v20180611"
16
+ :source_image => "debian-11-bullseye-v20220920"
17
17
  )
18
18
 
19
19
  p "Waiting for disk to be ready"