Skip to content

Commit

Permalink
Test build for #508
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller authored and SUSE Update Bot committed Jul 6, 2023
1 parent 9abb8d1 commit 9d5ab92
Show file tree
Hide file tree
Showing 12 changed files with 125 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .obs/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,18 @@ staging_build:
source_project: home:defolos:BCI:CR:SLE-15-SP5
source_package: golang-oldstable-image
target_project: home:defolos:BCI:CR:SLE-15-SP5:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP5
source_package: golang-oldstable-openssl-image
target_project: home:defolos:BCI:CR:SLE-15-SP5:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP5
source_package: golang-stable-image
target_project: home:defolos:BCI:CR:SLE-15-SP5:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP5
source_package: golang-stable-openssl-image
target_project: home:defolos:BCI:CR:SLE-15-SP5:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP5
source_package: ruby-2.5-image
Expand Down Expand Up @@ -199,9 +207,15 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:SLE-15-SP5
package: golang-oldstable-image
- trigger_services:
project: devel:BCI:SLE-15-SP5
package: golang-oldstable-openssl-image
- trigger_services:
project: devel:BCI:SLE-15-SP5
package: golang-stable-image
- trigger_services:
project: devel:BCI:SLE-15-SP5
package: golang-stable-openssl-image
- trigger_services:
project: devel:BCI:SLE-15-SP5
package: ruby-2.5-image
Expand Down
1 change: 1 addition & 0 deletions busybox-image/busybox-image.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<packages type="bootstrap">
<package name="busybox"/>
<package name="busybox-links"/>
<package name="sles-release"/>
<package name="distribution-release"/>
<package name="ca-certificates-mozilla-prebuilt"/>
</packages>
Expand Down
33 changes: 33 additions & 0 deletions golang-oldstable-openssl-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# SPDX-License-Identifier: MIT
#!BuildTag: bci/golang:oldstable-openssl
#!BuildTag: bci/golang:oldstable-openssl-%RELEASE%
#!BuildTag: bci/golang:1.19-openssl
#!BuildTag: bci/golang:1.19-openssl-%RELEASE%
#!BuildVersion: 15.5
FROM suse/sle15:15.5

MAINTAINER SUSE LLC (https://www.suse.com/)

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.bci.golang
LABEL org.opencontainers.image.title="SLE BCI Golang 1.19-openssl"
LABEL org.opencontainers.image.description="Golang 1.19-openssl container based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="1.19-openssl"
LABEL org.opencontainers.image.url="https://www.suse.com/products/server/"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opensuse.reference="registry.suse.com/bci/golang:1.19-openssl-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="l3"
LABEL com.suse.eula="sle-bci"
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterprise-server-15"
LABEL com.suse.image-type="sle-bci"
LABEL com.suse.release-stage="released"
# endlabelprefix

RUN set -euo pipefail; zypper -n in --no-recommends go1.19-openssl distribution-release make git-core; zypper -n clean; rm -rf /var/log/*
ENV GOLANG_VERSION="%%golang_version%%"
ENV GOPATH="/go"
ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

7 changes: 7 additions & 0 deletions golang-oldstable-openssl-image/_constraints
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">8</size>
</disk>
</hardware>
</constraints>
9 changes: 9 additions & 0 deletions golang-oldstable-openssl-image/_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%golang_version%%</param>
<param name="package">go1.19-openssl</param>
</service>
</services>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Jul 06 20:46:32 UTC 2023 - SUSE Update Bot <[email protected]>

- First version of the Golang 1.19-openssl BCI
34 changes: 34 additions & 0 deletions golang-stable-openssl-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# SPDX-License-Identifier: MIT
#!BuildTag: bci/golang:stable-openssl
#!BuildTag: bci/golang:stable-openssl-%RELEASE%
#!BuildTag: bci/golang:1.20-openssl
#!BuildTag: bci/golang:1.20-openssl-%RELEASE%
#!BuildTag: bci/golang:latest
#!BuildVersion: 15.5
FROM suse/sle15:15.5

MAINTAINER SUSE LLC (https://www.suse.com/)

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.bci.golang
LABEL org.opencontainers.image.title="SLE BCI Golang 1.20-openssl"
LABEL org.opencontainers.image.description="Golang 1.20-openssl container based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="1.20-openssl"
LABEL org.opencontainers.image.url="https://www.suse.com/products/server/"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opensuse.reference="registry.suse.com/bci/golang:1.20-openssl-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="l3"
LABEL com.suse.eula="sle-bci"
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterprise-server-15"
LABEL com.suse.image-type="sle-bci"
LABEL com.suse.release-stage="released"
# endlabelprefix

RUN set -euo pipefail; zypper -n in --no-recommends go1.20-openssl distribution-release make git-core; zypper -n clean; rm -rf /var/log/*
ENV GOLANG_VERSION="%%golang_version%%"
ENV GOPATH="/go"
ENV PATH="/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

7 changes: 7 additions & 0 deletions golang-stable-openssl-image/_constraints
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">8</size>
</disk>
</hardware>
</constraints>
9 changes: 9 additions & 0 deletions golang-stable-openssl-image/_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%golang_version%%</param>
<param name="package">go1.20-openssl</param>
</service>
</services>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Jul 06 20:46:32 UTC 2023 - SUSE Update Bot <[email protected]>

- First version of the Golang 1.20-openssl BCI
1 change: 1 addition & 0 deletions micro-image/micro-image.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<source path="obsrepositories:/"/>
</repository>
<packages type="bootstrap">
<package name="sles-release"/>
<package name="bash"/>
<package name="ca-certificates-mozilla-prebuilt"/>
<package name="coreutils"/>
Expand Down
3 changes: 2 additions & 1 deletion minimal-image/minimal-image.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@
<package name="libzio1"/>
</packages>
<packages type="bootstrap">
<package name="rpm-ndb"/>
<package name="sles-release"/>
<package name="perl-base"/>
<package name="rpm-ndb"/>
<package name="distribution-release"/>
</packages>

Expand Down

0 comments on commit 9d5ab92

Please sign in to comment.