Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
Knot Resolver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jonathan Coetzee
Knot Resolver
Commits
f4c75d2b
Verified
Commit
f4c75d2b
authored
Oct 01, 2018
by
Tomas Krizek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
distro/tests: add openSUSE tests
parent
9721becf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
3 deletions
+45
-3
distro/tests/knot-resolver-test.yaml
distro/tests/knot-resolver-test.yaml
+13
-3
distro/tests/leap15/Vagrantfile
distro/tests/leap15/Vagrantfile
+16
-0
distro/tests/tumbleweed/Vagrantfile
distro/tests/tumbleweed/Vagrantfile
+16
-0
No files found.
distro/tests/knot-resolver-test.yaml
View file @
f4c75d2b
...
...
@@ -11,6 +11,8 @@
Ubuntu
:
dnsutils
Fedora
:
bind-utils
CentOS
:
bind-utils
openSUSE Leap
:
bind-utils
openSUSE Tumbleweed
:
bind-utils
Archlinux
:
bind-tools
configure_obs_repo
:
Fedora
:
|
...
...
@@ -28,13 +30,20 @@
wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/xUbuntu_{{ ansible_distribution_version }}/Release.key -O Release.key &&
apt-key add - < Release.key &&
apt-get update
openSUSE Tumbleweed
:
|
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/openSUSE_Tumbleweed/home:CZ-NIC:{{ item }}.repo &&
zypper --gpg-auto-import-keys refresh
openSUSE Leap
:
|
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/openSUSE_Leap_15.0/home:CZ-NIC:{{ item }}.repo &&
zypper --gpg-auto-import-keys refresh
show_package_version
:
Archlinux
:
pacman -Qi knot-resolver | grep '^Version'
Fedora
:
|
rpm -qi knot-resolver | grep '^Version'
CentOS
:
|
Fedora
:
&pkg_version_rpm
|
rpm -qi knot-resolver | grep '^Version'
CentOS
:
*pkg_version_rpm
openSUSE Leap
:
*pkg_version_rpm
openSUSE Tumbleweed
:
*pkg_version_rpm
Debian
:
dpkg -s knot-resolver | grep '^Version'
Ubuntu
:
|
...
...
@@ -49,6 +58,7 @@
raw
:
|
yum install -y python2 python2-dnf libselinux-python || \
pacman -Sy python2 --noconfirm || \
(zypper --gpg-auto-import-keys refresh && zypper install -y python) || \
(apt-get update && apt-get install -y python) || \
:
ignore_errors
:
true
...
...
distro/tests/leap15/Vagrantfile
0 → 100644
View file @
f4c75d2b
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
Vagrant
.
configure
(
2
)
do
|
config
|
config
.
vm
.
box
=
"opensuse/openSUSE-15.0-x86_64"
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
disabled:
true
config
.
vm
.
define
"leap15_knot-resolver"
do
|
machine
|
machine
.
vm
.
provision
"ansible"
do
|
ansible
|
ansible
.
playbook
=
"../knot-resolver-test.yaml"
end
end
end
distro/tests/tumbleweed/Vagrantfile
0 → 100644
View file @
f4c75d2b
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
Vagrant
.
configure
(
2
)
do
|
config
|
config
.
vm
.
box
=
"opensuse/openSUSE-Tumbleweed-x86_64"
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
disabled:
true
config
.
vm
.
define
"tumbleweed_knot-resolver"
do
|
machine
|
machine
.
vm
.
provision
"ansible"
do
|
ansible
|
ansible
.
playbook
=
"../knot-resolver-test.yaml"
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment