481 lines
15 KiB
YAML
481 lines
15 KiB
YAML
# Build Docker image with CI/CD and push to the GitLab registry.
|
|
image:
|
|
name: gcr.io/kaniko-project/executor:debug
|
|
entrypoint: [""]
|
|
before_script:
|
|
- cat $EOELAB_DOMAIN_CERT > /kaniko/ssl/certs/additional-ca-cert-bundle.crt
|
|
# up-c-build:
|
|
# stage: build
|
|
# needs: []
|
|
# script:
|
|
# - cd upstream/cpu
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:up-c"
|
|
pyjo-c-build:
|
|
stage: build
|
|
needs: [] # up-c-build
|
|
script:
|
|
- cd pyjo/cpu
|
|
- /kaniko/executor
|
|
--context ./
|
|
--dockerfile "Dockerfile"
|
|
--cache=false
|
|
--snapshot-mode=redo
|
|
--destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:pyjo-c"
|
|
# scipyjo-c-build:
|
|
# stage: build
|
|
# needs: [pyjo-c-build] #
|
|
# script:
|
|
# - cd scipyjo/cpu
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:scipyjo-c"
|
|
# scrpyjo-c-build:
|
|
# stage: build
|
|
# needs: [pyjo-c-build] #
|
|
# script:
|
|
# - cd scrpyjo
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --build-arg "http_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTP_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "https_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTPS_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "no_proxy=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --build-arg "NO_PROXY=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:scrpyjo-c"
|
|
# pyjospark-c-build:
|
|
# stage: build
|
|
# needs: [scipyjo-c-build] #
|
|
# script:
|
|
# - cd pyjospark
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:pyjospark-c"
|
|
# pyjoflink-c-build:
|
|
# stage: build
|
|
# needs: [scipyjo-c-build] #
|
|
# script:
|
|
# - cd pyjoflink
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:pyjoflink-c"
|
|
# pyjoai-c-build:
|
|
# stage: build
|
|
# needs: [scipyjo-c-build] #
|
|
# script:
|
|
# - cd pyjoai/cpu
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:pyjoai-c"
|
|
# llinux-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd llinux
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:llinux-c"
|
|
# c-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd c
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:c-c"
|
|
# cpp-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd cpp
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:cpp-c"
|
|
# fortran-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd fortran
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:fortran-c"
|
|
# java-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd java
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:java-c"
|
|
# js-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd js
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:js-c"
|
|
# kotlin-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd kotlin
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:kotlin-c"
|
|
# haskell-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd haskell
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:haskell-c"
|
|
# go-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd go
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --build-arg "http_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTP_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "https_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTPS_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "no_proxy=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --build-arg "NO_PROXY=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:go-c"
|
|
# rust-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd rust
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --build-arg "http_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTP_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "https_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTPS_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "no_proxy=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --build-arg "NO_PROXY=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:rust-c"
|
|
# julia-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd julia
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:julia-c"
|
|
# scir-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd scir
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:scir-c"
|
|
# rspark-c-build:
|
|
# stage: build
|
|
# needs: [scir-c-build] #
|
|
# script:
|
|
# - cd rspark
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:rspark-c"
|
|
# agda-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd agda
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:agda-c"
|
|
# ansible-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd ansible
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:ansible-c"
|
|
# dyalog-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd dyalog
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:dyalog-c"
|
|
# cadabra-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd cadabra
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:cadabra-c"
|
|
# chapel-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd chapel
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:chapel-c"
|
|
# lua-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd lua
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:lua-c"
|
|
# sql-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd sql
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:sql-c"
|
|
# sage-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd sagemath
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:sage-c"
|
|
# dotnet-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build]
|
|
# script:
|
|
# - cd dotnet
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:dotnet-c"
|
|
# octave-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd octave
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:octave-c"
|
|
# scilab-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd scilab
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:scilab-c"
|
|
# mathematica-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd mathematica
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:mathematica-c"
|
|
# maple-c-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd maple
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:maple-c"
|
|
# matlab-c-minimal-build:
|
|
# stage: build
|
|
# needs: [up-c-build] #
|
|
# script:
|
|
# - cd matlab/cpu/minimal
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:matlab-c-minimal"
|
|
# matlab-c-mcm-build:
|
|
# stage: build
|
|
# needs: [matlab-c-minimal-build] #
|
|
# script:
|
|
# - cd matlab/cpu/mcm
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:matlab-c-mcm"
|
|
|
|
# up-g-build:
|
|
# stage: build
|
|
# needs: []
|
|
# script:
|
|
# - cd upstream/gpu
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:up-g"
|
|
# pyjo-g-build:
|
|
# stage: build
|
|
# needs: [up-g-build] #
|
|
# script:
|
|
# - cd pyjo/gpu
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --build-arg "http_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTP_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "https_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTPS_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "no_proxy=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --build-arg "NO_PROXY=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --cache=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:pyjo-g"
|
|
# scipyjo-g-build:
|
|
# stage: build
|
|
# needs: [pyjo-g-build] #
|
|
# script:
|
|
# - cd scipyjo/gpu
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --build-arg "http_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTP_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "https_proxy=http://192.168.2.175:7890"
|
|
# --build-arg "HTTPS_PROXY=http://192.168.2.175:7890"
|
|
# --build-arg "no_proxy=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --build-arg "NO_PROXY=127.0.0.1,localhost,172.0.0.0/8,192.0.0.0/8"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:scipyjo-g"
|
|
# pyjoai-g-build:
|
|
# stage: build
|
|
# needs: [scipyjo-g-build] #
|
|
# script:
|
|
# - cd pyjoai/gpu
|
|
# - /kaniko/executor
|
|
# --context ./
|
|
# --dockerfile "Dockerfile"
|
|
# --cache=false
|
|
# --compressed-caching=false
|
|
# --snapshot-mode=redo
|
|
# --destination "eoelab.org:1032/build-image-stacks/jupyter-image-stacks/jupyter:pyjoai-g" |