Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit f0cfb5f

Browse files
authored
change it to main (#58)
1 parent 1a09af7 commit f0cfb5f

10 files changed

+5
-136
lines changed

.circleci/build_and_push.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

.circleci/build_and_push_to_dockerhub.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

.circleci/build_and_push_to_github_release.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

.circleci/check_version_trigger_release.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 4 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
command: |
4141
bundle exec rake test -t -v
4242
43-
func_test_master:
43+
func_test_main:
4444
docker:
4545
- image: circleci/ruby:2.6.1-node-browsers
4646
working_directory: ~/repo
@@ -51,7 +51,7 @@ jobs:
5151
- run:
5252
name: trigger
5353
command: |
54-
.circleci/trigger_func_test.sh master
54+
.circleci/trigger_func_test.sh main
5555
5656
func_test_develop:
5757
docker:
@@ -65,46 +65,6 @@ jobs:
6565
name: trigger
6666
command: |
6767
.circleci/trigger_func_test.sh develop
68-
release:
69-
docker:
70-
- image: circleci/ruby:2.6.1-node-browsers
71-
working_directory: ~/repo
72-
steps:
73-
- attach_workspace:
74-
at: /tmp
75-
- checkout
76-
- setup_remote_docker:
77-
reusable: true
78-
- run:
79-
name: Install dependencies
80-
command: |
81-
.circleci/install_dep.sh
82-
- run:
83-
name: Build and push docker image to dockerhub
84-
command: |
85-
.circleci/build_and_push_to_dockerhub.sh
86-
- run:
87-
name: Upload gem to Github
88-
command: |
89-
.circleci/build_and_push_to_github_release.sh
90-
- run:
91-
name: Upload gem to rubygems
92-
command: |
93-
.circleci/push_gem_to_rubygems.sh
94-
check_version:
95-
docker:
96-
- image: circleci/ruby:2.6.1-node-browsers
97-
working_directory: ~/repo
98-
steps:
99-
- attach_workspace:
100-
at: /tmp
101-
- checkout
102-
- setup_remote_docker:
103-
reusable: true
104-
- run:
105-
name: Check VERSION file for change
106-
command: |
107-
.circleci/check_version_trigger_release.sh
10868
10969
workflows:
11070
version: 2
@@ -115,11 +75,11 @@ workflows:
11575
branches:
11676
ignore:
11777
- /^release\/.*/
118-
- master
78+
- main
11979
- unit_test:
12080
requires:
12181
- build
122-
- func_test_master:
82+
- func_test_main:
12383
requires:
12484
- unit_test
12585
- func_test_develop:

.circleci/gem_credentials

Lines changed: 0 additions & 2 deletions
This file was deleted.

.circleci/push_gem.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.circleci/push_gem_to_rubygems.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

.circleci/trigger_func_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# trigger SCK 'master' branch to introduce this new image from this commit
3+
# trigger SCK 'main' branch to introduce this new image from this commit
44
# to working version of every other component.
55
ORGANIZATION=splunk
66
PROJECT=splunk-connect-for-kubernetes

fluent-plugin-kubernetes-objects.gemspec

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ Gem::Specification.new do |spec|
99
spec.homepage = 'https://github.com/splunk/fluent-plugin-kubernetes-objects'
1010
spec.license = 'Apache-2.0'
1111

12-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
13-
# to allow pushing to a single host or delete this section to allow pushing to any host.
14-
if spec.respond_to?(:metadata)
15-
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
16-
else
17-
raise 'RubyGems 2.0 or newer is required to protect against ' \
18-
'public gem pushes.'
19-
end
20-
2112
spec.require_paths = ['lib']
2213
spec.test_files = Dir.glob('test/**/**.rb')
2314
spec.files = %w[

0 commit comments

Comments
 (0)