-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add foreman_opennebula plugin #11124
Open
pyslarvt
wants to merge
1
commit into
theforeman:deb/develop
Choose a base branch
from
pyslarvt:deb/develop
base: deb/develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ruby-foreman-opennebula (2.3.0-1) stable; urgency=low | ||
|
||
* 2.3.0 released | ||
|
||
-- Vitaly Pyslar <[email protected]> Tue, 13 Aug 2024 18:23:28 +0300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Source: ruby-foreman-opennebula | ||
Section: ruby | ||
Priority: extra | ||
Maintainer: IaaS team IVI.RU <[email protected]> | ||
Build-Depends: debhelper (>= 9), foreman-nulldb (>= 3.7), foreman-assets (>= 3.7), ruby-foreman-deface | ||
Standards-Version: 4.5.0 | ||
Homepage: https://github.com/theforeman/foreman_opennebula | ||
|
||
Package: ruby-foreman-opennebula | ||
Architecture: all | ||
Depends: foreman (>= 3.7), python3-websockify, ${misc:Depends} | ||
Description: Foreman OpenNebula compute resource plugin | ||
Provision and manage OpenNebula VMs from Foreman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: ruby-foreman-opennebula | ||
Source: https://github.com/theforeman/foreman_opennebula | ||
|
||
Files: * | ||
Copyright: 2024 IVI.RU LLC <[email protected]> | ||
License: GPL-3.0+ | ||
|
||
Files: debian/* | ||
Copyright: 2024 IVI.RU LLC <[email protected]> | ||
License: GPL-3.0+ | ||
|
||
License: GPL-3.0+ | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". | ||
|
||
# Please also look if there are files or directories which have a | ||
# different copyright/license attached and list them here. | ||
# Please avoid to pick license terms that are more restrictive than the | ||
# packaged work, as it may make Debian's contributions unacceptable upstream. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# list of gem urls to download via Jenkins, space separated | ||
GEMS="https://rubygems.org/downloads/foreman_opennebula-2.3.0.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/fog-opennebula-0.0.5.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/opennebula-6.8.3.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/nokogiri-1.15.6.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/mini_portile2-2.8.7.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/ipaddress-0.8.3.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/parse-cron-0.1.4.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/treetop-1.6.12.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/polyglot-0.3.4.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/xmlrpc-0.3.3.gem" | ||
GEMS="$GEMS https://rubygems.org/downloads/webrick-1.8.1.gem" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
foreman_opennebula.rb usr/share/foreman/bundler.d | ||
cache usr/share/foreman/vendor | ||
webpack/foreman_opennebula var/lib/foreman/public/webpack | ||
assets var/lib/foreman/public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
# postinst script for foreman-* | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
if [ ! -z "${DEBUG}" ]; then | ||
set -x | ||
else | ||
set -e | ||
fi | ||
|
||
. /usr/share/debconf/confmodule | ||
. /usr/share/foreman/foreman-plugin.postinst-lib | ||
|
||
# if this script aborts with an error dpkg can | ||
# hang if daemons have been started | ||
trap db_stop EXIT | ||
|
||
foreman_plugin_install "foreman_opennebula" "$2" | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
# Sample debian/rules that uses debhelper. | ||
# This file was originally written by Joey Hess and Craig Small. | ||
# As a special exception, when this file is copied by dh-make into a | ||
# dh-make output file, you may use that output file without restriction. | ||
# This special exception was added by Craig Small in version 0.37 of dh-make. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
PLUGIN = foreman_opennebula | ||
PLUGIN_HAS_ASSETS = true | ||
PLUGIN_HAS_WEBPACK = true | ||
PLUGIN_HAS_PACKAGE_JSON = false | ||
|
||
include /usr/share/foreman/foreman-plugin.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (native) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
gem 'nokogiri', '< 1.16' | ||
gem 'foreman_opennebula', '2.3.0' |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't use deface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It was added as dependency because of the polyglot gem module. Now I included the previous version of polyglot gem to the package to avoid conflict with deface deb and removed this dependency.