forked from kronosnet/ci-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci-update-zypper
executable file
·110 lines (105 loc) · 3.44 KB
/
ci-update-zypper
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#!/bin/sh
# ENTRY POINT (old / done)
set -e
$CITHOME/ci-update-common
case "${NODE_NAME}" in
*tumbleweed*)
upgrade=dup
glue=cluster-glue-devel
;;
*)
upgrade=update
bundler=ruby2.5-rubygem-bundler
glue=libglue-devel
;;
esac
zypper clean
zypper $upgrade -y
zypper install -y $bundler $glue \
OpenIPMI-devel \
asciidoc \
autoconf \
automake \
bison \
byacc \
check-devel \
clang \
cluster-glue \
curl \
dbus-1-devel \
docbook-xsl-stylesheets \
doxygen \
execstack \
firewall-macros \
flex \
fontconfig \
gcc \
gcc-c++ \
gettext-tools \
git \
glib2-devel \
groff-full \
help2man \
inkscape \
jq \
libaio-devel \
libblkid-devel \
libbz2-devel \
libcmocka-devel \
libcurl-devel \
liberation-fonts \
libgcrypt-devel \
libgnutls-devel \
liblz4-devel \
libnet-devel \
libnl3-devel \
libopenssl-devel \
libqb-devel \
libtool \
libuuid-devel \
libvirt-devel \
libxml2-devel \
libxml2-tools \
libxslt-devel \
libxslt-tools \
libzstd-devel \
lksctp-tools-devel \
lzo-devel \
make \
mozilla-nss-devel \
ncurses-devel \
net-snmp-devel \
npm \
pam-devel \
python3-boto3 \
python3-devel \
python3-google-api-python-client \
python3-keystoneauth1 \
python3-keystoneclient \
python3-lxml \
python3-novaclient \
python3-openwsman \
python3-pexpect \
python3-pip \
python3-pycurl \
python3-requests \
python3-setuptools \
python3-setuptools_scm \
python3-suds-jurko \
python3-systemd \
python3-wheel \
python-devel \
rpm-build \
rpmdevtools \
rpmlint \
rsync \
ruby \
ruby-devel \
systemd-devel \
time \
util-linux \
valgrind \
xz-devel \
zlib-devel
getent group haclient >/dev/null || groupadd -r haclient -g 189
getent passwd hacluster >/dev/null || useradd -r -g haclient -u 189 -s /sbin/nologin -c "cluster user" hacluster