Skip to content
Snippets Groups Projects

Master

Closed Michael Thaler requested to merge master into stable
1 file
+ 22
61
Compare changes
  • Side-by-side
  • Inline
+ 22
61
---
stages:
- lint
- build
@@ -12,50 +11,12 @@ include:
variables:
MAJOR_VERSION: "0.9"
podman_tools_fedora35:
stage: build
tags:
- build
image:
name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:fc35
script:
- 'if [[ "$CI_COMMIT_REF_NAME" == "stable" ]] ; then BUILD_PARAMS="isReleaseBuild true" ; else BUILD_PARAMS="isDevBuild true"; fi'
- echo "Building ${BUILD_PARAMS}"
- rpmbuild -v --build-in-place -D "MajorVersion ${MAJOR_VERSION}" -D "${BUILD_PARAMS}" -bb podman-tools.spec
- cp /root/rpmbuild/RPMS/noarch/podman-tools*.rpm .
artifacts:
name: podman-tools-fedora
paths:
- podman-tools*.rpm
expire_in: 30 day
when: always
# when: on_failure
podman_tools_fedora36:
stage: build
tags:
- build
image:
name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:fc36
script:
- 'if [[ "$CI_COMMIT_REF_NAME" == "stable" ]] ; then BUILD_PARAMS="isReleaseBuild true" ; else BUILD_PARAMS="isDevBuild true"; fi'
- echo "Building ${BUILD_PARAMS}"
- rpmbuild -v --build-in-place -D "MajorVersion ${MAJOR_VERSION}" -D "${BUILD_PARAMS}" -bb podman-tools.spec
- cp /root/rpmbuild/RPMS/noarch/podman-tools*.rpm .
artifacts:
name: podman-tools-fedora
paths:
- podman-tools*.rpm
expire_in: 30 day
when: always
# when: on_failure
podman_tools_fedora37:
podman_tools_fedora39:
stage: build
tags:
- build
image:
name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:fc37
name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:fc39
script:
- 'if [[ "$CI_COMMIT_REF_NAME" == "stable" ]] ; then BUILD_PARAMS="isReleaseBuild true" ; else BUILD_PARAMS="isDevBuild true"; fi'
- echo "Building ${BUILD_PARAMS}"
@@ -69,12 +30,12 @@ podman_tools_fedora37:
when: always
# when: on_failure
podman_tools_fedora38:
podman_tools_fedora40:
stage: build
tags:
- build
image:
name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:fc38
name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:fc40
script:
- 'if [[ "$CI_COMMIT_REF_NAME" == "stable" ]] ; then BUILD_PARAMS="isReleaseBuild true" ; else BUILD_PARAMS="isDevBuild true"; fi'
- echo "Building ${BUILD_PARAMS}"
@@ -88,24 +49,24 @@ podman_tools_fedora38:
when: always
# when: on_failure
podman_tools_centos8:
stage: build
tags:
- build
image:
name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:el8
script:
- 'if [[ "$CI_COMMIT_REF_NAME" == "stable" ]] ; then BUILD_PARAMS="isReleaseBuild true" ; else BUILD_PARAMS="isDevBuild true"; fi'
- echo "Building ${BUILD_PARAMS}"
- rpmbuild -v --build-in-place -D "MajorVersion ${MAJOR_VERSION}" -D "${BUILD_PARAMS}" -bb podman-tools.spec
- cp /root/rpmbuild/RPMS/noarch/podman-tools*.rpm .
artifacts:
name: podman-tools-centos8
paths:
- podman-tools*.rpm
expire_in: 30 day
when: always
# when: on_failure
#podman_tools_centos8:
# stage: build
# tags:
# - build
# image:
# name: registry.conesphere.cloud/conesphere/docker/hub/codelint_fedora:el8
# script:
# - 'if [[ "$CI_COMMIT_REF_NAME" == "stable" ]] ; then BUILD_PARAMS="isReleaseBuild true" ; else BUILD_PARAMS="isDevBuild true"; fi'
# - echo "Building ${BUILD_PARAMS}"
# - rpmbuild -v --build-in-place -D "MajorVersion ${MAJOR_VERSION}" -D "${BUILD_PARAMS}" -bb podman-tools.spec
# - cp /root/rpmbuild/RPMS/noarch/podman-tools*.rpm .
# artifacts:
# name: podman-tools-centos8
# paths:
# - podman-tools*.rpm
# expire_in: 30 day
# when: always
# # when: on_failure
podman_tools_debian:
stage: build
Loading