Skip to content

Commit

Permalink
Attempt to fix gem push
Browse files Browse the repository at this point in the history
  • Loading branch information
myoung34 committed Jan 11, 2021
1 parent 17197f3 commit 1810832
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 107 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: myoung34
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
push:
paths:
- lib/vagrant-ovirt4/version.rb
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: fregante/setup-git-user@v1
- name: Release Gem
uses: cadwallion/publish-rubygems-action@master
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
RELEASE_COMMAND: rake release
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
/.idea
*.gem
/manifests
hiera.yaml
.kitchen
vendor
83 changes: 0 additions & 83 deletions .kitchen.yml

This file was deleted.

3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
source 'http://rubygems.org'

group :development do
gem 'rake'
gem 'rspec-core'
gem 'pry'
gem 'byebug'
gem 'pry-byebug'
gem 'rake-release'
end

group :plugins do
Expand Down
15 changes: 12 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
vagrant-ovirt4 (1.2.3)
vagrant-ovirt4 (2.0.0)
filesize (~> 0)
nokogiri (>= 1.10.8)
ovirt-engine-sdk (~> 4.0.1)
Expand All @@ -12,10 +12,10 @@ GEM
byebug (11.1.3)
coderay (1.1.2)
filesize (0.2.0)
json (2.3.0)
json (2.5.1)
method_source (1.0.0)
mini_portile2 (2.5.0)
nokogiri (1.11.0)
nokogiri (1.11.1)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
ovirt-engine-sdk (4.0.12)
Expand All @@ -27,6 +27,12 @@ GEM
byebug (~> 11.0)
pry (~> 0.13.0)
racc (1.5.2)
rake (13.0.3)
rake-release (1.2.1)
bundler (>= 1.11, < 3)
rspec-core (3.10.1)
rspec-support (~> 3.10.0)
rspec-support (3.10.1)

PLATFORMS
ruby
Expand All @@ -35,6 +41,9 @@ DEPENDENCIES
byebug
pry
pry-byebug
rake
rake-release
rspec-core
vagrant-ovirt4!

BUNDLED WITH
Expand Down
19 changes: 1 addition & 18 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rubygems'
require 'bundler/setup'
require 'rake/release'
require 'rspec/core/rake_task'
require 'kitchen/rake_tasks'

# Immediately sync all stdout so that tools like buildbot can
# immediately load in the output.
Expand All @@ -14,20 +14,3 @@ Dir.chdir(File.expand_path("../", __FILE__))
# This installs the tasks that help with gem creation and
# publishing.
Bundler::GemHelper.install_tasks

# Install the `spec` task so that we can run tests.
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = "--order defined"
end

# Default task is to run all tests
namespace :test do
task :all do
RSpec::Core::RakeTask.new(:spec)
Rake::Task["spec"].execute
Kitchen::RakeTasks.new
Rake::Task['kitchen:all'].invoke
end
end

task :default => 'test:all'
2 changes: 1 addition & 1 deletion lib/vagrant-ovirt4/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module VagrantPlugins
module OVirtProvider
VERSION = '1.2.3'
VERSION = '2.0.0'
end
end

0 comments on commit 1810832

Please sign in to comment.