bootstrap: Add OpenSUSE 15.2
authorSamuel Cabrero <scabrero@samba.org>
Tue, 17 Nov 2020 12:32:19 +0000 (13:32 +0100)
committerSamuel Cabrero <scabrero@sn-devel-184>
Tue, 17 Nov 2020 18:50:04 +0000 (18:50 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Autobuild-User(master): Samuel Cabrero <scabrero@samba.org>
Autobuild-Date(master): Tue Nov 17 18:50:05 UTC 2020 on sn-devel-184

.gitlab-ci.yml
bootstrap/.gitlab-ci.yml
bootstrap/config.py
bootstrap/generated-dists/Vagrantfile
bootstrap/generated-dists/opensuse152/Dockerfile [moved from bootstrap/generated-dists/opensuse150/Dockerfile with 91% similarity]
bootstrap/generated-dists/opensuse152/bootstrap.sh [moved from bootstrap/generated-dists/opensuse150/bootstrap.sh with 97% similarity]
bootstrap/generated-dists/opensuse152/locale.sh [moved from bootstrap/generated-dists/opensuse150/locale.sh with 100% similarity]
bootstrap/generated-dists/opensuse152/packages.yml [moved from bootstrap/generated-dists/opensuse150/packages.yml with 96% similarity]
bootstrap/sha1sum.txt

index 77c57135b86e1f5b7cfc5ca019dfaff6579b533d..d65f4d2b7691acdaec4146ab38933ff8a27a2212 100644 (file)
@@ -32,7 +32,7 @@ variables:
   # Set this to the contents of bootstrap/sha1sum.txt
   # which is generated by bootstrap/template.py --render
   #
-  SAMBA_CI_CONTAINER_TAG: 446341a5c66a0cd04cac694991e4522385389e0f
+  SAMBA_CI_CONTAINER_TAG: d4867986881a9601c4620baf9a3bf28f5d1d1343
   #
   # We use the ubuntu1804 image as default as
   # it matches what we have on sn-devel-184.
@@ -48,8 +48,8 @@ variables:
   SAMBA_CI_CONTAINER_IMAGE_ubuntu2004: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-ubuntu2004:${SAMBA_CI_CONTAINER_TAG}
   SAMBA_CI_CONTAINER_IMAGE_debian9: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-debian9:${SAMBA_CI_CONTAINER_TAG}
   SAMBA_CI_CONTAINER_IMAGE_debian10: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-debian10:${SAMBA_CI_CONTAINER_TAG}
-  SAMBA_CI_CONTAINER_IMAGE_opensuse150: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-opensuse150:${SAMBA_CI_CONTAINER_TAG}
   SAMBA_CI_CONTAINER_IMAGE_opensuse151: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-opensuse151:${SAMBA_CI_CONTAINER_TAG}
+  SAMBA_CI_CONTAINER_IMAGE_opensuse152: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-opensuse152:${SAMBA_CI_CONTAINER_TAG}
   SAMBA_CI_CONTAINER_IMAGE_fedora32: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-fedora32:${SAMBA_CI_CONTAINER_TAG}
   SAMBA_CI_CONTAINER_IMAGE_fedora33: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-fedora33:${SAMBA_CI_CONTAINER_TAG}
   SAMBA_CI_CONTAINER_IMAGE_centos7: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-centos7:${SAMBA_CI_CONTAINER_TAG}
@@ -330,14 +330,14 @@ debian10-samba-o3:
   extends: .samba-o3-template
   image: $SAMBA_CI_CONTAINER_IMAGE_debian10
 
-opensuse150-samba-o3:
-  extends: .samba-o3-template
-  image: $SAMBA_CI_CONTAINER_IMAGE_opensuse150
-
 opensuse151-samba-o3:
   extends: .samba-o3-template
   image: $SAMBA_CI_CONTAINER_IMAGE_opensuse151
 
+opensuse152-samba-o3:
+  extends: .samba-o3-template
+  image: $SAMBA_CI_CONTAINER_IMAGE_opensuse152
+
 centos7-samba-o3:
   extends: .samba-o3-template
   image: $SAMBA_CI_CONTAINER_IMAGE_centos7
index e9249f151a65fda233ad4121755eef60b3adea04..5f79ac1fbf280fd8a4c79f569cdd31e3a5290f46 100644 (file)
@@ -116,8 +116,8 @@ centos7:
     # We install a compat-gnutls34 package for GnuTLS >= 3.4.7
     PKG_CONFIG_PATH: /usr/lib64/compat-gnutls34/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig
 
-opensuse150:
+opensuse151:
   extends: .build_image_template
 
-opensuse151:
+opensuse152:
   extends: .build_image_template
index fa313728f55fd68b63ec9bd9d2fad10c94a9ecd7..ecbc614f0568b6d75717876e73b58e3caf3b6b0d 100644 (file)
@@ -490,9 +490,9 @@ RPM_DISTS = {
             'policycoreutils-python': 'python3-policycoreutils',
         }
     },
-    'opensuse150': {
-        'docker_image': 'opensuse/leap:15.0',
-        'vagrant_box': 'opensuse/openSUSE-15.0-x86_64',
+    'opensuse151': {
+        'docker_image': 'opensuse/leap:15.1',
+        'vagrant_box': 'opensuse/openSUSE-15.1-x86_64',
         'bootstrap': ZYPPER_BOOTSTRAP,
         'replace': {
             '@development-tools': '',
@@ -522,9 +522,9 @@ RPM_DISTS = {
             'liburing-devel': '',   # not available
         }
     },
-    'opensuse151': {
-        'docker_image': 'opensuse/leap:15.1',
-        'vagrant_box': 'opensuse/openSUSE-15.1-x86_64',
+    'opensuse152': {
+        'docker_image': 'opensuse/leap:15.2',
+        'vagrant_box': 'opensuse/openSUSE-15.2-x86_64',
         'bootstrap': ZYPPER_BOOTSTRAP,
         'replace': {
             '@development-tools': '',
@@ -550,8 +550,6 @@ RPM_DISTS = {
             'quota-devel': '',
             'glusterfs-api-devel': '',
             'libtasn1-tools': '', # asn1Parser is part of libtasn1
-            'mingw64-gcc': '', # doesn't exist
-            'liburing-devel': '',   # not available, will be added in 15.2
         }
     }
 }
index c6f59667f500bd74ae7ec2343cd5210754567ca3..042e45238d38e4cfd65a09aa2f88fed9aa5a2f87 100644 (file)
@@ -45,13 +45,6 @@ Vagrant.configure("2") do |config|
         v.vm.provision :shell, path: "fedora33/locale.sh"
     end
 
-    config.vm.define "opensuse150" do |v|
-        v.vm.box = "opensuse/openSUSE-15.0-x86_64"
-        v.vm.hostname = "opensuse150"
-        v.vm.provision :shell, path: "opensuse150/bootstrap.sh"
-        v.vm.provision :shell, path: "opensuse150/locale.sh"
-    end
-
     config.vm.define "opensuse151" do |v|
         v.vm.box = "opensuse/openSUSE-15.1-x86_64"
         v.vm.hostname = "opensuse151"
@@ -59,6 +52,13 @@ Vagrant.configure("2") do |config|
         v.vm.provision :shell, path: "opensuse151/locale.sh"
     end
 
+    config.vm.define "opensuse152" do |v|
+        v.vm.box = "opensuse/openSUSE-15.2-x86_64"
+        v.vm.hostname = "opensuse152"
+        v.vm.provision :shell, path: "opensuse152/bootstrap.sh"
+        v.vm.provision :shell, path: "opensuse152/locale.sh"
+    end
+
     config.vm.define "ubuntu1604" do |v|
         v.vm.box = "ubuntu/xenial64"
         v.vm.hostname = "ubuntu1604"
similarity index 91%
rename from bootstrap/generated-dists/opensuse150/Dockerfile
rename to bootstrap/generated-dists/opensuse152/Dockerfile
index fc8740b534d36e43db0e6a1ca9f685ac34dc4add..3d79adcb07d36d30650ef09989be2bdd9357de3c 100644 (file)
@@ -3,7 +3,7 @@
 # See also bootstrap/config.py
 #
 
-FROM opensuse/leap:15.0
+FROM opensuse/leap:15.2
 
 # pass in with --build-arg while build
 ARG SHA1SUM
similarity index 97%
rename from bootstrap/generated-dists/opensuse150/bootstrap.sh
rename to bootstrap/generated-dists/opensuse152/bootstrap.sh
index 33c8aeb402197b0ef47fe46835d745f4b8a45601..e2d23c7b2163e1c72ae51fc94445c04817c5ac48 100755 (executable)
@@ -57,12 +57,14 @@ zypper --non-interactive install \
     libtasn1-devel \
     libtirpc-devel \
     libunwind-devel \
+    liburing-devel \
     libuuid-devel \
     libxslt \
     lmdb \
     lmdb-devel \
     lsb-release \
     make \
+    mingw64-gcc \
     ncurses-devel \
     openldap2-devel \
     pam-devel \
similarity index 96%
rename from bootstrap/generated-dists/opensuse150/packages.yml
rename to bootstrap/generated-dists/opensuse152/packages.yml
index 5e7b1a11d7a7220cb0f9e60f0df145cfa2e3c160..f68b06394a99af34a1198e4d5d82631abec22c0f 100644 (file)
@@ -45,12 +45,14 @@ packages:
   - libtasn1-devel
   - libtirpc-devel
   - libunwind-devel
+  - liburing-devel
   - libuuid-devel
   - libxslt
   - lmdb
   - lmdb-devel
   - lsb-release
   - make
+  - mingw64-gcc
   - ncurses-devel
   - openldap2-devel
   - pam-devel
index 72d059015c40df8c8bda3b6442f74590ab305388..816528d3b0e7b954d8fa8c6035c0edae35878e50 100644 (file)
@@ -1 +1 @@
-446341a5c66a0cd04cac694991e4522385389e0f
+d4867986881a9601c4620baf9a3bf28f5d1d1343