2024-06-07 21:22:35 +02:00
image : docker:24.0.6
2021-06-16 15:26:09 +02:00
services :
2024-06-07 21:32:27 +02:00
- docker:24.0.6-dind
2021-06-16 15:26:09 +02:00
stages :
2022-09-21 22:36:17 +02:00
- readme
2021-06-16 15:26:09 +02:00
- build
2022-05-03 17:00:05 +02:00
- manifest
- test
2022-05-11 18:28:40 +02:00
- linktests
2021-06-16 15:26:09 +02:00
2021-10-25 21:41:38 +02:00
variables :
2024-06-07 21:22:35 +02:00
DOCKER_HOST : tcp://docker:2375
DOCKER_TLS_CERTDIR : ""
2021-10-25 21:41:38 +02:00
DOCKER_AUTH_CONFIG : ${_DOCKER_AUTH_CONFIG}
2023-03-30 23:24:12 +02:00
KASM_RELEASE : "1.13.0"
2021-10-25 21:41:38 +02:00
2021-06-16 15:26:09 +02:00
before_script :
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
- export SANITIZED_BRANCH="$(echo $CI_COMMIT_REF_NAME | sed -r 's#^release/##' | sed 's/\//_/g')"
- export SANITIZED_ROLLING_BRANCH=${SANITIZED_BRANCH}-rolling
# Jobs for the develop and release branches. They should push to the private and public repos
build_ubuntu_bionic :
stage : build
2021-10-28 14:39:18 +02:00
image : ${ORG_NAME}/docker-buildx-private:develop
2021-10-26 21:51:56 +02:00
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
2021-06-16 15:26:09 +02:00
script :
2021-10-26 14:12:54 +02:00
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-ubuntu-bionic-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-ubuntu-bionic-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-ubuntu-bionic:$SANITIZED_BRANCH -t ${ORG_NAME}/core-ubuntu-bionic:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="ubuntu:18.04" --build-arg BG_IMG=bg_bionic.png -f dockerfile-kasm-core .
2021-06-16 15:26:09 +02:00
only :
- develop
- /^release\/.*$/
except :
- schedules
2021-10-26 14:12:54 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
2022-03-22 19:46:14 +01:00
build_ubuntu_focal :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-ubuntu-focal-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-ubuntu-focal-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-ubuntu-focal:$SANITIZED_BRANCH -t ${ORG_NAME}/core-ubuntu-focal:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="ubuntu:20.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_focal.png -f dockerfile-kasm-core .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-03-22 19:46:14 +01:00
2022-06-23 15:43:10 +02:00
build_ubuntu_jammy :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-ubuntu-jammy-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-ubuntu-jammy-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-ubuntu-jammy:$SANITIZED_BRANCH -t ${ORG_NAME}/core-ubuntu-jammy:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="ubuntu:22.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_jammy.png -f dockerfile-kasm-core .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-06-23 15:43:10 +02:00
2023-03-15 21:09:15 +01:00
build_debian_bullseye :
2022-03-22 19:46:14 +01:00
stage : build
2023-03-15 21:09:15 +01:00
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
2022-03-22 19:46:14 +01:00
script :
2023-03-15 21:09:15 +01:00
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-debian-bullseye-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-debian-bullseye-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-debian-bullseye:$SANITIZED_BRANCH -t ${ORG_NAME}/core-debian-bullseye:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="debian:bullseye" --build-arg DISTRO="debian" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_debian.svg -f dockerfile-kasm-core .
2022-03-22 19:46:14 +01:00
only :
- develop
- /^release\/.*$/
except :
- schedules
2023-03-15 21:09:15 +01:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-03-22 19:46:14 +01:00
2023-03-15 21:09:15 +01:00
build_cuda_focal :
2021-06-16 15:26:09 +02:00
stage : build
script :
2023-03-15 21:09:15 +01:00
- docker build -t ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-cuda-focal:$SANITIZED_BRANCH -t ${ORG_NAME}/core-cuda-focal:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_focal.png -f dockerfile-kasm-core .
- docker push ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-cuda-focal:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-cuda-focal:$SANITIZED_ROLLING_BRANCH
2021-06-16 15:26:09 +02:00
only :
- develop
- /^release\/.*$/
except :
- schedules
2022-03-22 19:46:14 +01:00
build_remnux_focal :
stage : build
script :
2023-03-15 21:09:15 +01:00
- docker build -t ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-remnux-focal:$SANITIZED_BRANCH -t ${ORG_NAME}/core-remnux-focal:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="ubuntu:20.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_remnux.png --build-arg EXTRA_SH=remnux.sh -f dockerfile-kasm-core .
2022-03-22 19:46:14 +01:00
- docker push ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-remnux-focal:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-remnux-focal:$SANITIZED_ROLLING_BRANCH
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-03-22 19:46:14 +01:00
2021-06-16 15:26:09 +02:00
build_kali_rolling :
stage : build
2022-01-19 02:40:27 +01:00
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
2021-06-16 15:26:09 +02:00
script :
2022-01-19 02:40:27 +01:00
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
2023-03-15 21:09:15 +01:00
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-kali-rolling-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-kali-rolling-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-kali-rolling:$SANITIZED_BRANCH -t ${ORG_NAME}/core-kali-rolling:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="kalilinux/kali-rolling:latest" --build-arg START_PULSEAUDIO="1" --build-arg DISTRO="kali" --build-arg START_XFCE4=1 --build-arg LANG="" --build-arg LANGUAGE="" --build-arg LC_ALL="" -f dockerfile-kasm-core .
2021-06-16 15:26:09 +02:00
only :
- develop
- /^release\/.*$/
except :
- schedules
2022-08-02 20:33:01 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
build_centos :
stage : build
script :
- docker build -t ${ORG_NAME}/core-centos-7-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-centos-7-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-centos-7:$SANITIZED_BRANCH -t ${ORG_NAME}/core-centos-7:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="centos:centos7" --build-arg START_PULSEAUDIO="1" --build-arg START_XFCE4=1 --build-arg DISTRO="centos" --build-arg LANG="" --build-arg LANGUAGE="" --build-arg LC_ALL="" -f dockerfile-kasm-core-centos .
- docker push ${ORG_NAME}/core-centos-7-private:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-centos-7-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-centos-7:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-centos-7:$SANITIZED_ROLLING_BRANCH
only :
- develop
- /^release\/.*$/
except :
- schedules
2022-04-06 15:29:07 +02:00
build_oracle_7 :
stage : build
script :
- docker build -t ${ORG_NAME}/core-oracle-7-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-oracle-7-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-oracle-7:$SANITIZED_BRANCH -t ${ORG_NAME}/core-oracle-7:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="oraclelinux:7" --build-arg START_PULSEAUDIO="1" --build-arg START_XFCE4="1" --build-arg DISTRO="oracle7" --build-arg LANG="" --build-arg LANGUAGE="" --build-arg LC_ALL="" -f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-oracle-7-private:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-oracle-7-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-oracle-7:$SANITIZED_BRANCH
- docker push ${ORG_NAME}/core-oracle-7:$SANITIZED_ROLLING_BRANCH
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-04-06 15:29:07 +02:00
build_oracle_8 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-oracle-8-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-oracle-8-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-oracle-8:$SANITIZED_BRANCH -t ${ORG_NAME}/core-oracle-8:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="oraclelinux:8" --build-arg DISTRO="oracle8" -f dockerfile-kasm-core-oracle .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-04-06 15:29:07 +02:00
2023-03-15 21:09:15 +01:00
build_oracle_9 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-oracle-9-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-oracle-9-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-oracle-9:$SANITIZED_BRANCH -t ${ORG_NAME}/core-oracle-9:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="oraclelinux:9" --build-arg DISTRO="oracle9" -f dockerfile-kasm-core-oracle .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_rocky_9 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-rockylinux-9-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-rockylinux-9-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-rockylinux-9:$SANITIZED_BRANCH -t ${ORG_NAME}/core-rockylinux-9:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="rockylinux:9.1" --build-arg DISTRO="rockylinux9" --build-arg BG_IMG=bg_rocky.png -f dockerfile-kasm-core-oracle .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_rocky_8 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-rockylinux-8-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-rockylinux-8-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-rockylinux-8:$SANITIZED_BRANCH -t ${ORG_NAME}/core-rockylinux-8:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="rockylinux:8.7" --build-arg DISTRO="rockylinux8" --build-arg BG_IMG=bg_rocky.png -f dockerfile-kasm-core-oracle .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_alma_8 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-almalinux-8-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-almalinux-8-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-almalinux-8:$SANITIZED_BRANCH -t ${ORG_NAME}/core-almalinux-8:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="almalinux:8.7" --build-arg DISTRO="almalinux8" --build-arg BG_IMG=bg_almalinux.png -f dockerfile-kasm-core-oracle .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_alma_9 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-almalinux-9-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-almalinux-9-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-almalinux-9:$SANITIZED_BRANCH -t ${ORG_NAME}/core-almalinux-9:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="almalinux:9.1" --build-arg DISTRO="almalinux9" --build-arg BG_IMG=bg_almalinux.png -f dockerfile-kasm-core-oracle .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
2022-04-06 15:29:07 +02:00
build_opensuse_15 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
2022-06-23 15:43:10 +02:00
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-opensuse-15-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-opensuse-15-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-opensuse-15:$SANITIZED_BRANCH -t ${ORG_NAME}/core-opensuse-15:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="opensuse/leap:15.3" --build-arg DISTRO="opensuse" -f dockerfile-kasm-core-suse .
2022-04-06 15:29:07 +02:00
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
2023-03-15 21:09:15 +01:00
build_fedora_37 :
stage : build
script :
2023-03-16 15:16:41 +01:00
- >
docker build
-t ${ORG_NAME}/core-fedora-37:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="fedora:37"
--build-arg DISTRO="fedora37"
-f dockerfile-kasm-core-fedora .
- docker push ${ORG_NAME}/core-fedora-37:$(arch)-$SANITIZED_BRANCH
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-16 15:16:41 +01:00
manifest_fedora_37 :
stage : manifest
script :
- docker pull ${ORG_NAME}/core-fedora-37:x86_64-$SANITIZED_BRANCH
- docker pull ${ORG_NAME}/core-fedora-37:aarch64-$SANITIZED_BRANCH
- "docker manifest push --purge ${ORG_NAME}/core-fedora-37:$SANITIZED_BRANCH || :"
- docker manifest create ${ORG_NAME}/core-fedora-37:$SANITIZED_BRANCH ${ORG_NAME}/core-fedora-37:x86_64-$SANITIZED_BRANCH ${ORG_NAME}/core-fedora-37:aarch64-$SANITIZED_BRANCH
- docker manifest annotate ${ORG_NAME}/core-fedora-37:$SANITIZED_BRANCH ${ORG_NAME}/core-fedora-37:aarch64-$SANITIZED_BRANCH --os linux --arch arm64 --variant v8
- docker manifest push --purge ${ORG_NAME}/core-fedora-37:$SANITIZED_BRANCH
needs :
- build_fedora_37
2023-03-15 21:09:15 +01:00
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_parrotos_5 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-parrotos-5-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-parrotos-5-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-parrotos-5:$SANITIZED_BRANCH -t ${ORG_NAME}/core-parrotos-5:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_parrotos5.jpg --build-arg BASE_IMAGE="parrotsec/core:latest" --build-arg DISTRO="parrotos5" -f dockerfile-kasm-core .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_alpine_317 :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-alpine-317-private:$SANITIZED_BRANCH -t ${ORG_NAME}/core-alpine-317-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-alpine-317:$SANITIZED_BRANCH -t ${ORG_NAME}/core-alpine-317:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_alpine.png --build-arg BASE_IMAGE="alpine:3.17" --build-arg DISTRO="alpine" -f dockerfile-kasm-core-alpine .
only :
- develop
- /^release\/.*$/
except :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
2021-06-16 15:26:09 +02:00
# These jobs should run on the feature/bugfix branches - anything that is not the develop or release branches. It should only push images to the private repos
build_ubuntu_bionic_dev :
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2022-05-03 17:00:05 +02:00
-t ${ORG_NAME}/core-ubuntu-bionic-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
2022-08-02 20:33:01 +02:00
--build-arg START_XFCE4=1
2022-05-03 17:00:05 +02:00
--build-arg BASE_IMAGE="ubuntu:18.04"
--build-arg BG_IMG=bg_bionic.png
-f dockerfile-kasm-core .
- docker push ${ORG_NAME}/core-ubuntu-bionic-private:$(arch)-$SANITIZED_BRANCH
2021-06-16 15:26:09 +02:00
except :
- develop
- /^release\/.*$/
2021-10-25 17:56:14 +02:00
tags :
2022-05-03 17:00:05 +02:00
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2021-06-16 15:26:09 +02:00
2022-03-22 19:46:14 +01:00
build_ubuntu_focal_dev :
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2022-05-03 17:00:05 +02:00
-t ${ORG_NAME}/core-ubuntu-focal-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg BASE_IMAGE="ubuntu:20.04"
--build-arg START_XFCE4=1
--build-arg BG_IMG=bg_focal.png
-f dockerfile-kasm-core .
- docker push ${ORG_NAME}/core-ubuntu-focal-private:$(arch)-$SANITIZED_BRANCH
2022-03-22 19:46:14 +01:00
except :
- develop
- /^release\/.*$/
tags :
2022-05-03 17:00:05 +02:00
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2021-06-16 15:26:09 +02:00
2022-06-23 15:43:10 +02:00
build_ubuntu_jammy_dev :
stage : build
script :
- >
docker build
-t ${ORG_NAME}/core-ubuntu-jammy-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg BASE_IMAGE="ubuntu:22.04"
--build-arg START_XFCE4=1
--build-arg BG_IMG=bg_jammy.png
-f dockerfile-kasm-core .
- docker push ${ORG_NAME}/core-ubuntu-jammy-private:$(arch)-$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2022-06-23 15:43:10 +02:00
2023-03-15 21:09:15 +01:00
build_debian_bullseye_dev :
2022-03-22 19:46:14 +01:00
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2023-03-15 21:09:15 +01:00
-t ${ORG_NAME}/core-debian-bullseye-private:$(arch)-$SANITIZED_BRANCH
2022-05-03 17:00:05 +02:00
--build-arg START_PULSEAUDIO=1
2023-03-15 21:09:15 +01:00
--build-arg BASE_IMAGE="debian:bullseye"
--build-arg DISTRO="debian"
2022-05-03 17:00:05 +02:00
--build-arg START_XFCE4=1
2023-03-15 21:09:15 +01:00
--build-arg BG_IMG=bg_debian.svg
2022-05-03 17:00:05 +02:00
-f dockerfile-kasm-core .
2023-03-15 21:09:15 +01:00
- docker push ${ORG_NAME}/core-debian-bullseye-private:$(arch)-$SANITIZED_BRANCH
2022-03-22 19:46:14 +01:00
except :
- develop
- /^release\/.*$/
2022-05-03 17:00:05 +02:00
tags :
2023-03-15 21:09:15 +01:00
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2022-03-22 19:46:14 +01:00
2023-03-15 21:09:15 +01:00
build_cuda_focal_dev :
2021-06-16 15:26:09 +02:00
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2023-03-15 21:09:15 +01:00
-t ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_BRANCH
2022-05-03 17:00:05 +02:00
--build-arg START_PULSEAUDIO=1
2023-03-15 21:09:15 +01:00
--build-arg BASE_IMAGE="nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04"
2022-05-03 17:00:05 +02:00
--build-arg START_XFCE4=1
2023-03-15 21:09:15 +01:00
--build-arg BG_IMG=bg_focal.png
2022-05-03 17:00:05 +02:00
-f dockerfile-kasm-core .
2023-03-15 21:09:15 +01:00
- docker push ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_BRANCH
2021-06-16 15:26:09 +02:00
except :
- develop
- /^release\/.*$/
2022-05-03 17:00:05 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
2022-03-22 19:46:14 +01:00
build_remnux_focal_dev :
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2022-05-03 17:00:05 +02:00
-t ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
2023-03-15 21:09:15 +01:00
--build-arg BASE_IMAGE="ubuntu:20.04"
2022-05-03 17:00:05 +02:00
--build-arg START_XFCE4=1
--build-arg BG_IMG=bg_remnux.png
--build-arg EXTRA_SH=remnux.sh
-f dockerfile-kasm-core .
2022-03-22 19:46:14 +01:00
- docker push ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
2022-05-03 17:00:05 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-03-22 19:46:14 +01:00
2021-06-16 15:26:09 +02:00
build_kali_rolling_dev :
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2022-05-03 17:00:05 +02:00
-t ${ORG_NAME}/core-kali-rolling-private:$(arch)-$SANITIZED_BRANCH
--build-arg BASE_IMAGE="kalilinux/kali-rolling:latest"
--build-arg START_PULSEAUDIO="1"
--build-arg DISTRO="kali"
2023-03-15 21:09:15 +01:00
--build-arg START_XFCE4=1
2022-05-03 17:00:05 +02:00
--build-arg LANG=""
--build-arg LANGUAGE=""
--build-arg LC_ALL=""
-f dockerfile-kasm-core .
- docker push ${ORG_NAME}/core-kali-rolling-private:$(arch)-$SANITIZED_BRANCH
2021-06-16 15:26:09 +02:00
except :
- develop
- /^release\/.*$/
2022-05-03 17:00:05 +02:00
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2021-06-16 15:26:09 +02:00
build_centos_dev :
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2022-05-03 17:00:05 +02:00
-t ${ORG_NAME}/core-centos-7-private:$SANITIZED_BRANCH
--build-arg BASE_IMAGE="centos:centos7"
--build-arg START_PULSEAUDIO="1"
--build-arg START_XFCE4=1
--build-arg DISTRO="centos"
--build-arg LANG=""
--build-arg LANGUAGE=""
--build-arg LC_ALL=""
-f dockerfile-kasm-core-centos .
2021-06-16 15:26:09 +02:00
- docker push ${ORG_NAME}/core-centos-7-private:$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
2022-05-03 17:00:05 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
2022-04-06 15:29:07 +02:00
build_oracle_7_dev :
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2022-05-03 17:00:05 +02:00
-t ${ORG_NAME}/core-oracle-7-private:$SANITIZED_BRANCH
--build-arg BASE_IMAGE="oraclelinux:7"
--build-arg START_PULSEAUDIO="1"
--build-arg START_XFCE4="1"
--build-arg DISTRO="oracle7"
--build-arg LANG=""
--build-arg LANGUAGE=""
--build-arg LC_ALL=""
-f dockerfile-kasm-core-oracle .
2022-04-06 15:29:07 +02:00
- docker push ${ORG_NAME}/core-oracle-7-private:$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-04-06 15:29:07 +02:00
build_oracle_8_dev :
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2022-05-03 17:00:05 +02:00
-t ${ORG_NAME}/core-oracle-8-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="oraclelinux:8"
--build-arg DISTRO="oracle8"
-f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-oracle-8-private:$(arch)-$SANITIZED_BRANCH
2022-04-06 15:29:07 +02:00
except :
- develop
- /^release\/.*$/
tags :
2022-05-03 17:00:05 +02:00
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2022-04-06 15:29:07 +02:00
2023-03-15 21:09:15 +01:00
build_oracle_9_dev :
2022-04-06 15:29:07 +02:00
stage : build
script :
2022-05-03 17:00:05 +02:00
- >
2022-08-02 20:33:01 +02:00
docker build
2023-03-15 21:09:15 +01:00
-t ${ORG_NAME}/core-oracle-9-private:$(arch)-$SANITIZED_BRANCH
2022-05-03 17:00:05 +02:00
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
2023-03-15 21:09:15 +01:00
--build-arg BASE_IMAGE="oraclelinux:9"
--build-arg DISTRO="oracle9"
-f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-oracle-9-private:$(arch)-$SANITIZED_BRANCH
2022-05-03 17:00:05 +02:00
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2022-05-03 17:00:05 +02:00
2023-03-15 21:09:15 +01:00
build_rockylinux_9_dev :
stage : build
2022-05-03 17:00:05 +02:00
script :
- >
2023-03-15 21:09:15 +01:00
docker build
-t ${ORG_NAME}/core-rockylinux-9-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="rockylinux:9.1"
--build-arg DISTRO="rockylinux9"
--build-arg BG_IMG=bg_rocky.png
-f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-rockylinux-9-private:$(arch)-$SANITIZED_BRANCH
2022-05-03 17:00:05 +02:00
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2022-05-03 17:00:05 +02:00
2023-03-15 21:09:15 +01:00
build_rockylinux_8_dev :
stage : build
2022-11-04 21:27:13 +01:00
script :
- >
2023-03-15 21:09:15 +01:00
docker build
-t ${ORG_NAME}/core-rockylinux-8-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="rockylinux:8.7"
--build-arg DISTRO="rockylinux8"
--build-arg BG_IMG=bg_rocky.png
-f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-rockylinux-8-private:$(arch)-$SANITIZED_BRANCH
2022-11-04 21:27:13 +01:00
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2022-11-04 21:27:13 +01:00
2023-03-15 21:09:15 +01:00
build_almalinux_9_dev :
stage : build
2022-05-03 17:00:05 +02:00
script :
- >
2023-03-15 21:09:15 +01:00
docker build
-t ${ORG_NAME}/core-almalinux-9-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="almalinux:9.1"
--build-arg DISTRO="almalinux9"
--build-arg BG_IMG=bg_almalinux.png
-f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-almalinux-9-private:$(arch)-$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-15 21:09:15 +01:00
build_almalinux_8_dev :
stage : build
script :
- >
docker build
-t ${ORG_NAME}/core-almalinux-8-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="almalinux:8.7"
--build-arg DISTRO="almalinux8"
--build-arg BG_IMG=bg_almalinux.png
-f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-almalinux-8-private:$(arch)-$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-15 21:09:15 +01:00
build_opensuse_15_dev :
stage : build
script :
- >
docker build
-t ${ORG_NAME}/core-opensuse-15-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="opensuse/leap:15.3"
--build-arg DISTRO="opensuse"
-f dockerfile-kasm-core-suse .
- docker push ${ORG_NAME}/core-opensuse-15-private:$(arch)-$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-15 21:09:15 +01:00
build_fedora_37_dev :
stage : build
script :
- >
docker build
-t ${ORG_NAME}/core-fedora-37-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="fedora:37"
--build-arg DISTRO="fedora37"
-f dockerfile-kasm-core-fedora .
- docker push ${ORG_NAME}/core-fedora-37-private:$(arch)-$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-15 21:09:15 +01:00
build_parrotos_5_dev :
stage : build
script :
- >
docker build
-t ${ORG_NAME}/core-parrotos-5-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BG_IMG=bg_parrotos5.jpg
--build-arg BASE_IMAGE="parrotsec/core:latest"
--build-arg DISTRO="parrotos5"
-f dockerfile-kasm-core .
- docker push ${ORG_NAME}/core-parrotos-5-private:$(arch)-$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-15 21:09:15 +01:00
build_alpine_317_dev :
stage : build
script :
- >
docker build
-t ${ORG_NAME}/core-alpine-317-private:$(arch)-$SANITIZED_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BG_IMG=bg_alpine.png
--build-arg BASE_IMAGE="alpine:3.17"
--build-arg DISTRO="alpine"
-f dockerfile-kasm-core-alpine .
- docker push ${ORG_NAME}/core-alpine-317-private:$(arch)-$SANITIZED_BRANCH
except :
- develop
- /^release\/.*$/
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-15 21:09:15 +01:00
test_multi_arch_dev :
stage : test
script :
- docker pull ${ORG_NAME}/kasm-tester:1.12.0
- >
docker run --rm --privileged
-e KASM_PORT=443
2022-05-03 17:00:05 +02:00
-e KASM_PATH=/opt/kasm
-e KASM_PASSWORD=password123
-e PUID=1000
-e DOCKERUSER=$DOCKER_HUB_USERNAME
-e DOCKERPASS=$DOCKER_HUB_PASSWORD
2023-03-15 21:09:15 +01:00
-e TEST_IMAGE="${ORG_NAME}/${KASM_IMAGE}:$(arch)-$SANITIZED_BRANCH"
2022-05-03 17:00:05 +02:00
-e AWS_KEY=${KASM_TEST_AWS_KEY}
-e AWS_SECRET="${KASM_TEST_AWS_SECRET}"
-e SLACK_TOKEN=${SLACK_TOKEN}
-e S3_BUCKET=kasm-ci
-e COMMIT=${CI_COMMIT_SHA}
-e REPO=workspaces-core-images
2022-11-23 17:31:05 +01:00
${ORG_NAME}/kasm-tester:1.12.0
2022-05-03 17:00:05 +02:00
except :
- develop
- /^release\/.*$/
tags :
2023-03-15 21:09:15 +01:00
- ${TAG}
2022-11-04 21:27:13 +01:00
needs :
2023-03-15 21:09:15 +01:00
- manifest_dev
2022-05-03 17:00:05 +02:00
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-15 21:09:15 +01:00
KASM_IMAGE :
- core-ubuntu-bionic-private
- core-ubuntu-focal-private
- core-oracle-8-private
- core-opensuse-15-private
- core-ubuntu-jammy-private
- core-fedora-37-private
- core-debian-bullseye-private
- core-oracle-9-private
- core-rockylinux-9-private
- core-rockylinux-8-private
- core-almalinux-8-private
- core-almalinux-9-private
- core-kali-rolling-private
- core-parrotos-5-private
- core-alpine-317-private
2022-05-03 17:00:05 +02:00
2023-03-15 21:09:15 +01:00
test_single_arch_dev :
2022-11-04 21:27:13 +01:00
stage : test
script :
2022-11-23 17:31:05 +01:00
- docker pull ${ORG_NAME}/kasm-tester:1.12.0
2022-11-04 21:27:13 +01:00
- >
docker run --rm --privileged
-e KASM_PORT=443
-e KASM_PATH=/opt/kasm
-e KASM_PASSWORD=password123
-e PUID=1000
-e DOCKERUSER=$DOCKER_HUB_USERNAME
-e DOCKERPASS=$DOCKER_HUB_PASSWORD
-e TEST_IMAGE="${ORG_NAME}/${KASM_IMAGE}:$SANITIZED_BRANCH"
-e AWS_KEY=${KASM_TEST_AWS_KEY}
-e AWS_SECRET="${KASM_TEST_AWS_SECRET}"
-e SLACK_TOKEN=${SLACK_TOKEN}
-e S3_BUCKET=kasm-ci
-e COMMIT=${CI_COMMIT_SHA}
-e REPO=workspaces-core-images
2022-11-23 17:31:05 +01:00
${ORG_NAME}/kasm-tester:1.12.0
2022-11-04 21:27:13 +01:00
except :
- develop
- /^release\/.*$/
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-11-04 21:27:13 +01:00
needs :
2023-03-15 21:09:15 +01:00
- build_cuda_focal_dev
- build_centos_dev
- build_oracle_7_dev
2022-11-04 21:27:13 +01:00
- build_remnux_focal_dev
parallel :
matrix :
- KASM_IMAGE :
2023-03-15 21:09:15 +01:00
- core-cuda-focal-private
- core-centos-7-private
- core-oracle-7-private
2022-11-04 21:27:13 +01:00
- core-remnux-focal-private
2022-05-03 17:00:05 +02:00
manifest_dev :
stage : manifest
script :
- docker pull ${ORG_NAME}/${KASM_IMAGE}:x86_64-$SANITIZED_BRANCH
- docker pull ${ORG_NAME}/${KASM_IMAGE}:aarch64-$SANITIZED_BRANCH
- "docker manifest push --purge ${ORG_NAME}/${KASM_IMAGE}:$SANITIZED_BRANCH || :"
- docker manifest create ${ORG_NAME}/${KASM_IMAGE}:$SANITIZED_BRANCH ${ORG_NAME}/${KASM_IMAGE}:x86_64-$SANITIZED_BRANCH ${ORG_NAME}/${KASM_IMAGE}:aarch64-$SANITIZED_BRANCH
- docker manifest annotate ${ORG_NAME}/${KASM_IMAGE}:$SANITIZED_BRANCH ${ORG_NAME}/${KASM_IMAGE}:aarch64-$SANITIZED_BRANCH --os linux --arch arm64 --variant v8
- docker manifest push --purge ${ORG_NAME}/${KASM_IMAGE}:$SANITIZED_BRANCH
2022-04-06 15:29:07 +02:00
except :
- develop
- /^release\/.*$/
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-11-04 21:27:13 +01:00
needs :
- build_ubuntu_bionic_dev
- build_ubuntu_focal_dev
- build_ubuntu_jammy_dev
- build_oracle_8_dev
2023-03-15 21:09:15 +01:00
- build_oracle_9_dev
2022-11-04 21:27:13 +01:00
- build_opensuse_15_dev
2023-03-15 21:09:15 +01:00
- build_fedora_37_dev
- build_debian_bullseye_dev
- build_rockylinux_9_dev
- build_rockylinux_8_dev
- build_almalinux_9_dev
- build_almalinux_8_dev
- build_kali_rolling_dev
- build_parrotos_5_dev
- build_alpine_317_dev
2022-05-03 17:00:05 +02:00
parallel :
matrix :
- KASM_IMAGE :
- core-ubuntu-bionic-private
- core-ubuntu-focal-private
- core-oracle-8-private
2022-05-11 18:28:40 +02:00
- core-opensuse-15-private
2022-06-23 15:43:10 +02:00
- core-ubuntu-jammy-private
2023-03-15 21:09:15 +01:00
- core-fedora-37-private
- core-debian-bullseye-private
- core-oracle-9-private
- core-rockylinux-9-private
- core-rockylinux-8-private
- core-almalinux-9-private
- core-almalinux-8-private
2022-11-04 21:27:13 +01:00
- core-kali-rolling-private
2023-03-15 21:09:15 +01:00
- core-parrotos-5-private
- core-alpine-317-private
2022-11-04 21:27:13 +01:00
2022-05-11 18:28:40 +02:00
link_tests_single_arch_dev :
stage : linktests
2022-11-04 21:27:13 +01:00
when : always
2022-05-11 18:28:40 +02:00
script :
2022-05-11 19:29:44 +02:00
- apk add curl
2022-05-11 18:28:40 +02:00
- STATUS=$(curl -sL https://kasm-ci.s3.amazonaws.com/${CI_COMMIT_SHA}/x86_64/kasmweb/${KASM_IMAGE}/${SANITIZED_BRANCH}/ci-status.yml | awk -F'"' '{print $2}')
2022-05-11 19:29:44 +02:00
- if [ "${STATUS}" == "PASS" ]; then STATE=success; else STATE=failed; fi;
2022-05-11 18:28:40 +02:00
- curl --request POST --header "PRIVATE-TOKEN:${GITLAB_API_TOKEN}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/statuses/${CI_COMMIT_SHA}?state=${STATE}&name=${KASM_IMAGE}_x86_64&target_url=https://kasm-ci.s3.amazonaws.com/${CI_COMMIT_SHA}/x86_64/kasmweb/${KASM_IMAGE}/${SANITIZED_BRANCH}/index.html"
2022-07-11 16:46:46 +02:00
except :
- develop
- /^release\/.*$/
2022-05-11 18:28:40 +02:00
parallel :
matrix :
- KASM_IMAGE :
- core-cuda-focal-private
- core-remnux-focal-private
- core-centos-7-private
- core-oracle-7-private
link_tests_multi_arch_dev :
stage : linktests
2022-11-04 21:27:13 +01:00
when : always
2022-05-11 18:28:40 +02:00
script :
2022-05-11 19:29:44 +02:00
- apk add curl
2022-05-11 18:28:40 +02:00
- STATUS=$(curl -sL https://kasm-ci.s3.amazonaws.com/${CI_COMMIT_SHA}/${ARCH}/kasmweb/${KASM_IMAGE}/${ARCH}-${SANITIZED_BRANCH}/ci-status.yml | awk -F'"' '{print $2}')
2022-05-11 19:29:44 +02:00
- if [ "${STATUS}" == "PASS" ]; then STATE=success; else STATE=failed; fi;
2022-05-11 18:28:40 +02:00
- curl --request POST --header "PRIVATE-TOKEN:${GITLAB_API_TOKEN}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/statuses/${CI_COMMIT_SHA}?state=${STATE}&name=${KASM_IMAGE}_${ARCH}&target_url=https://kasm-ci.s3.amazonaws.com/${CI_COMMIT_SHA}/${ARCH}/kasmweb/${KASM_IMAGE}/${ARCH}-${SANITIZED_BRANCH}/index.html"
2022-07-11 16:46:46 +02:00
except :
- develop
- /^release\/.*$/
2022-05-11 18:28:40 +02:00
parallel :
matrix :
- ARCH : [ aarch64, x86_64 ]
KASM_IMAGE :
- core-ubuntu-bionic-private
- core-ubuntu-focal-private
- core-kali-rolling-private
- core-oracle-8-private
2022-05-03 17:00:05 +02:00
- core-opensuse-15-private
2022-06-23 15:43:10 +02:00
- core-ubuntu-jammy-private
2023-03-15 21:09:15 +01:00
- core-fedora-37-private
- core-debian-bullseye-private
- core-oracle-9-private
- core-parrotos-5-private
- core-rockylinux-9-private
- core-rockylinux-8-private
- core-almalinux-9-private
- core-almalinux-8-private
- core-alpine-317-private
2022-04-06 15:29:07 +02:00
2021-06-16 15:26:09 +02:00
# These jobs are for the "rolling" release of the images. They should only run for scheduled jobs and should only push the rolling tags
build_ubuntu_bionic_scheduled :
stage : build
2021-10-28 14:39:18 +02:00
image : ${ORG_NAME}/docker-buildx-private:develop
2021-10-26 21:51:56 +02:00
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
2021-06-16 15:26:09 +02:00
script :
2021-10-26 14:12:54 +02:00
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-ubuntu-bionic-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-ubuntu-bionic:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="ubuntu:18.04" --build-arg BG_IMG=bg_bionic.png -f dockerfile-kasm-core .
2021-06-16 15:26:09 +02:00
only :
- schedules
2021-10-26 14:12:54 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
2022-03-22 19:46:14 +01:00
build_ubuntu_focal_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-ubuntu-focal-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-ubuntu-focal:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="ubuntu:20.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_focal.png -f dockerfile-kasm-core .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-03-22 19:46:14 +01:00
2022-06-23 15:43:10 +02:00
build_ubuntu_jammy_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-ubuntu-jammy-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-ubuntu-jammy:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="ubuntu:22.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_jammy.png -f dockerfile-kasm-core .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-06-23 15:43:10 +02:00
2023-03-15 21:09:15 +01:00
build_debian_bullseye_scheduled :
2022-03-22 19:46:14 +01:00
stage : build
2023-03-15 21:09:15 +01:00
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
2022-03-22 19:46:14 +01:00
script :
2023-03-15 21:09:15 +01:00
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-debian-bullseye-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-debian-bullseye:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="debian:bullseye" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_debian.svg --build-arg DISTRO="debian" -f dockerfile-kasm-core .
2022-03-22 19:46:14 +01:00
only :
- schedules
2023-03-15 21:09:15 +01:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-03-22 19:46:14 +01:00
2023-03-15 21:09:15 +01:00
build_cuda_focal_schedules :
2021-06-16 15:26:09 +02:00
stage : build
script :
2023-03-15 21:09:15 +01:00
- docker build -t ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-cuda-focal:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_focal.png -f dockerfile-kasm-core .
- docker push ${ORG_NAME}/core-cuda-focal-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-cuda-focal:$SANITIZED_ROLLING_BRANCH
2021-06-16 15:26:09 +02:00
only :
- schedules
2022-03-22 19:46:14 +01:00
build_remnux_focal_schedules :
stage : build
script :
2023-03-15 21:09:15 +01:00
- docker build -t ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-remnux-focal:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg BASE_IMAGE="ubuntu:20.04" --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_remnux.png --build-arg EXTRA_SH=remnux.sh -f dockerfile-kasm-core .
2022-03-22 19:46:14 +01:00
- docker push ${ORG_NAME}/core-remnux-focal-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-remnux-focal:$SANITIZED_ROLLING_BRANCH
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-03-22 19:46:14 +01:00
only :
- schedules
2021-06-16 15:26:09 +02:00
build_kali_rolling_schedules :
stage : build
2022-01-19 02:40:27 +01:00
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
2021-06-16 15:26:09 +02:00
script :
2022-01-19 02:40:27 +01:00
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
2023-03-15 21:09:15 +01:00
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-kali-rolling-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-kali-rolling:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="kalilinux/kali-rolling:latest" --build-arg START_PULSEAUDIO="1" --build-arg DISTRO="kali" --build-arg START_XFCE4=1 --build-arg LANG="" --build-arg LANGUAGE="" --build-arg LC_ALL="" -f dockerfile-kasm-core .
2021-06-16 15:26:09 +02:00
only :
- schedules
2022-08-02 20:33:01 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
build_centos_schedules :
stage : build
script :
- docker build -t ${ORG_NAME}/core-centos-7-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-centos-7:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="centos:centos7" --build-arg START_PULSEAUDIO="1" --build-arg START_XFCE4=1 --build-arg DISTRO="centos" --build-arg LANG="" --build-arg LANGUAGE="" --build-arg LC_ALL="" -f dockerfile-kasm-core-centos .
- docker push ${ORG_NAME}/core-centos-7-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-centos-7:$SANITIZED_ROLLING_BRANCH
only :
- schedules
2022-04-06 15:29:07 +02:00
build_oracle_7_schedules :
stage : build
script :
- docker build -t ${ORG_NAME}/core-oracle-7-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-oracle-7:$SANITIZED_ROLLING_BRANCH --build-arg BASE_IMAGE="oraclelinux:7" --build-arg START_PULSEAUDIO="1" --build-arg START_XFCE4="1" --build-arg DISTRO="oracle7" --build-arg LANG="" --build-arg LANGUAGE="" --build-arg LC_ALL="" -f dockerfile-kasm-core-oracle .
- docker push ${ORG_NAME}/core-oracle-7-private:$SANITIZED_ROLLING_BRANCH
- docker push ${ORG_NAME}/core-oracle-7:$SANITIZED_ROLLING_BRANCH
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-04-06 15:29:07 +02:00
build_oracle_8_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-oracle-8-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-oracle-8:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="oraclelinux:8" --build-arg DISTRO="oracle8" -f dockerfile-kasm-core-oracle .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2022-04-06 15:29:07 +02:00
2023-03-15 21:09:15 +01:00
build_oracle_9_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-oracle-9-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-oracle-9:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="oraclelinux:9" --build-arg DISTRO="oracle9" -f dockerfile-kasm-core-oracle .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_rockylinux_9_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-rockylinux-9-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-rockylinux-9:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="rockylinux:9.1" --build-arg DISTRO="rockylinux9" --build-arg BG_IMG=bg_rocky.png -f dockerfile-kasm-core-oracle .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_rockylinux_8_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-rockylinux-8-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-rockylinux-8:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="rockylinux:8.7" --build-arg DISTRO="rockylinux8" --build-arg BG_IMG=bg_rocky.png -f dockerfile-kasm-core-oracle .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_almalinux_9_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-almalinux-9-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-almalinux-9:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="almalinux:9.1" --build-arg DISTRO="almalinux9" --build-arg BG_IMG=bg_almalinux.png -f dockerfile-kasm-core-oracle .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_almalinux_8_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-almalinux-8-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-almalinux-8:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="almalinux:8.7" --build-arg DISTRO="almalinux8" --build-arg BG_IMG=bg_almalinux.png -f dockerfile-kasm-core-oracle .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
2022-04-06 15:29:07 +02:00
build_opensuse_15_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
2022-06-23 15:43:10 +02:00
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-opensuse-15-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-opensuse-15:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BASE_IMAGE="opensuse/leap:15.3" --build-arg DISTRO="opensuse" -f dockerfile-kasm-core-suse .
2022-04-06 15:29:07 +02:00
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
2023-03-15 21:09:15 +01:00
build_fedora_37_scheduled :
stage : build
script :
2023-03-16 15:16:41 +01:00
- >
docker build
-t ${ORG_NAME}/core-fedora-37:$(arch)-$SANITIZED_ROLLING_BRANCH
--build-arg START_PULSEAUDIO=1
--build-arg START_XFCE4=1
--build-arg BASE_IMAGE="fedora:37"
--build-arg DISTRO="fedora37"
-f dockerfile-kasm-core-fedora .
- docker push ${ORG_NAME}/core-fedora-37:$(arch)-$SANITIZED_ROLLING_BRANCH
only :
- schedules
tags :
- ${TAG}
parallel :
matrix :
2024-06-07 21:30:27 +02:00
- TAG : [ oci-fixed-amd, oci-fixed-arm ]
2023-03-16 15:16:41 +01:00
manifest_fedora_37_scheduled :
stage : manifest
script :
- docker pull ${ORG_NAME}/core-fedora-37:x86_64-$SANITIZED_ROLLING_BRANCH
- docker pull ${ORG_NAME}/core-fedora-37:aarch64-$SANITIZED_ROLLING_BRANCH
- "docker manifest push --purge ${ORG_NAME}/core-fedora-37:$SANITIZED_ROLLING_BRANCH || :"
- docker manifest create ${ORG_NAME}/core-fedora-37:$SANITIZED_ROLLING_BRANCH ${ORG_NAME}/core-fedora-37:x86_64-$SANITIZED_ROLLING_BRANCH ${ORG_NAME}/core-fedora-37:aarch64-$SANITIZED_ROLLING_BRANCH
- docker manifest annotate ${ORG_NAME}/core-fedora-37:$SANITIZED_ROLLING_BRANCH ${ORG_NAME}/core-fedora-37:aarch64-$SANITIZED_ROLLING_BRANCH --os linux --arch arm64 --variant v8
- docker manifest push --purge ${ORG_NAME}/core-fedora-37:$SANITIZED_ROLLING_BRANCH
needs :
- build_fedora_37_scheduled
2023-03-15 21:09:15 +01:00
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_parrotos_5_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-parrotos-5-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-parrotos-5:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_parrotos5.jpg --build-arg BASE_IMAGE="parrotsec/core:latest" --build-arg DISTRO="parrotos5" -f dockerfile-kasm-core .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
build_parrotos_5_scheduled :
stage : build
image : ${ORG_NAME}/docker-buildx-private:develop
variables :
BUILD_PLATFORMS : "linux/amd64,linux/arm64"
script :
# get qemu ready
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# prep the buildx env
- docker buildx create --use
# build for multiple architectures
- docker buildx build --push --platform $BUILD_PLATFORMS -t ${ORG_NAME}/core-alpine-317-private:$SANITIZED_ROLLING_BRANCH -t ${ORG_NAME}/core-alpine-317:$SANITIZED_ROLLING_BRANCH --build-arg START_PULSEAUDIO=1 --build-arg START_XFCE4=1 --build-arg BG_IMG=bg_alpine.png --build-arg BASE_IMAGE="alpine:3.17" --build-arg DISTRO="alpine" -f dockerfile-kasm-core-alpine .
only :
- schedules
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2023-03-15 21:09:15 +01:00
2021-06-16 15:26:09 +02:00
update_readmes :
stage : readme
script :
2022-05-03 17:00:05 +02:00
- >
2022-09-15 02:33:03 +02:00
docker run -v $PWD/docs:/docs
-e RELEASE="$KASM_RELEASE"
2022-05-03 17:00:05 +02:00
-e DOCKER_USERNAME="$README_USERNAME"
-e DOCKER_PASSWORD="$README_PASSWORD"
2022-09-15 02:33:03 +02:00
-e DOCKERHUB_REPOSITORY="${ORG_NAME}/${KASM_IMAGE}"
kasmweb/dockerhub-updater:develop
2021-06-16 15:26:09 +02:00
only :
variables :
- $README_USERNAME
- $README_PASSWORD
2022-09-15 02:33:03 +02:00
tags :
2024-06-07 21:22:35 +02:00
- oci-fixed-amd
2021-06-16 15:26:09 +02:00
parallel :
matrix :
2022-08-02 20:33:01 +02:00
- KASM_IMAGE :
2022-05-03 17:00:05 +02:00
- core-centos-7
- core-oracle-7
- core-oracle-8
- core-opensuse-15
- core-kali-rolling
- core-remnux-bionic
- core-remnux-focal
- core-cuda-focal
- core-ubuntu-bionic
- core-ubuntu-focal
2022-06-23 15:43:10 +02:00
- core-ubuntu-jammy
2023-03-15 21:09:15 +01:00
- core-fedora-37
- core-debian-bullseye
- core-oracle-9
- core-parrotos-5
- core-rockylinux-9
- core-rockylinux-8
- core-almalinux-9
- core-almalinux-8
- core-alpine-317