-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
42 lines (37 loc) · 1.21 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#################################################################
# #
# Copyright (c) 2021-2022 YottaDB LLC and/or its subsidiaries. #
# All rights reserved. #
# #
# This source code contains the intellectual property #
# of its copyright holder(s), and is made available #
# under a license. If you do not know the terms of #
# the license, please stop and do not read further. #
# #
#################################################################
stages:
- build
services:
- docker:dind
commit-verify:
image: ubuntu:22.04
stage: build
before_script:
- apt-get update -qq && apt-get install -y -qq git wget gnupg
script:
# Copy commit gpg key verify script to build directory and execute
- wget https://gitlab.com/YottaDB/DB/YDB/-/raw/master/ci/commit_verify.sh
- chmod +x commit_verify.sh
- ./commit_verify.sh ci/needs_copyright.sh https://gitlab.com/YottaDB/Tools/YDBCMake
test-ubuntu:
image: docker:latest
stage: build
script:
- docker build -f Dockerfile-ubuntu -t cmaketest .
- docker run --rm cmaketest
test-rocky:
image: docker:latest
stage: build
script:
- docker build -f Dockerfile-rocky -t cmaketest .
- docker run --rm cmaketest