Skip to content
Snippets Groups Projects
Commit dbff4aa7 authored by pechmst1's avatar pechmst1
Browse files

ICT: Migrate to new CI repository

parent 6133469d
No related branches found
No related tags found
No related merge requests found
...@@ -5,12 +5,12 @@ stages: ...@@ -5,12 +5,12 @@ stages:
- docker-deploy - docker-deploy
- notify - notify
   
image: gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-docker-images/alpine:3.15 image: ${CI_REGISTRY}/algorithms-library-toolkit/infrastructure/ci-docker-images/alpine:3.15
   
.docker: &docker .docker: &docker
cache: {} # disable cache: {} # disable
services: services:
- name: gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-docker-images/docker:dind - name: ${CI_REGISTRY}/algorithms-library-toolkit/infrastructure/ci-docker-images/docker:dind
alias: docker alias: docker
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
...@@ -24,7 +24,7 @@ image: gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-dock ...@@ -24,7 +24,7 @@ image: gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-dock
   
build:worker: build:worker:
stage: build stage: build
image: gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/webui-client/core-snapshot:0.0.0.r1542.gd3684dd43 image: ${CI_REGISTRY}/algorithms-library-toolkit/webui-client/core-snapshot:0.0.0.r1542.gd3684dd43
before_script: before_script:
- apk add --no-cache curl && curl https://alt.fit.cvut.cz/repo/alpine/alt-dev-repo.sh | sh - apk add --no-cache curl && curl https://alt.fit.cvut.cz/repo/alpine/alt-dev-repo.sh | sh
- apk add --no-cache build-base cmake jsoncpp-dev pkgconf apr-dev spdlog-dev catch2 activemq-cpp-dev argparse boost-dev - apk add --no-cache build-base cmake jsoncpp-dev pkgconf apr-dev spdlog-dev catch2 activemq-cpp-dev argparse boost-dev
...@@ -71,7 +71,7 @@ build:server: ...@@ -71,7 +71,7 @@ build:server:
   
test:worker:clang-format: test:worker:clang-format:
stage: build stage: build
image: gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-docker-images/alt-builder:latest image: ${CI_REGISTRY}/algorithms-library-toolkit/infrastructure/ci-docker-images/alt-builder:latest
script: script:
- ANCESTOR=$(git merge-base origin/master HEAD) # find nearest common ancestor between HEAD and master - ANCESTOR=$(git merge-base origin/master HEAD) # find nearest common ancestor between HEAD and master
- git diff $ANCESTOR..HEAD | tee orig.patch | /usr/share/clang/clang-format-13/clang-format-diff.py -p1 -regex=".*\.(cpp|c|hpp|h)" | sed "s/+++ /+++ b\// g;s/--- /--- a\//g" > clang-format.patch - git diff $ANCESTOR..HEAD | tee orig.patch | /usr/share/clang/clang-format-13/clang-format-diff.py -p1 -regex=".*\.(cpp|c|hpp|h)" | sed "s/+++ /+++ b\// g;s/--- /--- a\//g" > clang-format.patch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment