Le support aux utilisateurs et les demandes de création de comptes externes doivent être faites depuis les issues du projet GitLab HEFR (https://gitlab.forge.hefr.ch/forge-hefr/gitlab-hefr)

Commit 600f28e7 authored by Jacques Supcik's avatar Jacques Supcik

use latest version + kanido

parent a916787b
build:
image: docker:latest
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://127.0.0.1:2375
services:
- docker:dind
before_script:
- docker info
tags:
- k8s
stages:
- build
build-kaniko:
stage: build
only:
- tags
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build --pull -t registry.forge.hefr.ch/embsys/arm-none-eabi-builder .
- docker push registry.forge.hefr.ch/embsys/arm-none-eabi-builder
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile
--destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
--destination $CI_REGISTRY_IMAGE:latest
trigger_build:
image: alpine:latest
stage: deploy
script:
- apk update && apk add curl
- "curl -X POST -F token=${CI_BUILD_BBB_TOKEN} -F ref=master https://gitlab.forge.hefr.ch/api/v4/projects/4947/trigger/pipeline"
FROM ubuntu:bionic
LABEL maintainer "Jacques Supcik <jacques.supcik@hefr.ch>"
RUN apt-get update && apt-get install -y \
......@@ -13,8 +14,9 @@ RUN apt-get update && apt-get install -y \
python3-pip \
unzip
ENV TOOLCHAIN_DIR="8-2019q3/RC1.1"
ENV TOOLCHAIN_NAME="gcc-arm-none-eabi-8-2019-q3-update"
ENV TOOLCHAIN_DIR="9-2019q4"
ENV TOOLCHAIN_ARCH="x86_64"
ENV TOOLCHAIN_NAME="gcc-arm-none-eabi-9-2019-q4-major-${TOOLCHAIN_ARCH}"
ENV TOOLCHAIN=/opt/${TOOLCHAIN_NAME}
ENV PATH=${PATH}:${TOOLCHAIN}/bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment