Skip to content

Commit

Permalink
chore: Move gapic-common to https://github.com/googleapis/ruby-core-l…
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Dec 26, 2024
1 parent 354c6de commit e145f58
Show file tree
Hide file tree
Showing 113 changed files with 44 additions and 12,420 deletions.
6 changes: 0 additions & 6 deletions .github/release-please.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/release-trigger.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/ci-common.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
toys bundle install
- name: Run CI
run: |
toys ci --generator-only
toys ci
4 changes: 2 additions & 2 deletions .github/workflows/release-generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Ruby 3.2
- name: Install Ruby 3.3
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.3"
- name: Install tools
run: "gem install --no-document toys"
- name: execute
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Ruby 3.0
- name: Install Ruby 3.3
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
ruby-version: "3.3"
- name: Install tools
run: "gem install --no-document toys"
- name: Execute
Expand Down
3 changes: 0 additions & 3 deletions .release-please-manifest.json

This file was deleted.

10 changes: 3 additions & 7 deletions .toys/.toys.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@
# with the current directory set to that directory, and also passing the
# directory name to the block.
#
def in_directories_with_bundles generator_only: false, include_toys: false
non_generator_directories = ["gapic-common"]
def in_directories_with_bundles include_toys: false
Dir.chdir context_directory do
gemfiles = Dir.glob "*/Gemfile"
gemfiles += Dir.glob ".toys/**/Gemfile" if include_toys && !generator_only
gemfiles += Dir.glob ".toys/**/Gemfile" if include_toys
gemfiles.each do |gemfile|
dir = File.dirname gemfile
next if dir == "tmp"
next if generator_only && non_generator_directories.include?(dir)
Dir.chdir dir do
yield dir
end
Expand Down Expand Up @@ -96,15 +94,13 @@ def run
tool "ci" do
desc "Runs CI in all directories"

flag :generator_only

include :exec
include :terminal
include "repo_info"

def run
failures = []
in_directories_with_bundles generator_only: generator_only do |dirname|
in_directories_with_bundles do |dirname|
["test", "rubocop"].each do |task_name|
if tool_defined? task_name
full_task_name = "#{dirname}: #{task_name}"
Expand Down
18 changes: 0 additions & 18 deletions gapic-common/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions gapic-common/.rubocop.yml

This file was deleted.

77 changes: 0 additions & 77 deletions gapic-common/.toys.rb

This file was deleted.

13 changes: 0 additions & 13 deletions gapic-common/.yardopts

This file was deleted.

Loading

0 comments on commit e145f58

Please sign in to comment.