-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitlab-ci.yml
47 lines (43 loc) · 1.64 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
43
44
45
46
47
#################################################################
# #
# Copyright (c) 2020-2024 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
commit-verify:
stage: build
image: ubuntu:22.04
interruptible: true
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/DB/YDBDoc.git
shared-copyrights-verify:
stage: build
image: alpine
interruptible: true
script:
- ./ci/verify_shared_copyright.sh --verbose
pages:
stage: build
image: bitnami/minideb
interruptible: true
script:
- apt-get update
- apt-get install -y --no-install-recommends git make jq python3-sphinx-rtd-theme python3-sphinx-copybutton rsync sphinx-common tcsh wget pkg-config graphviz
- make test
artifacts:
paths:
- public
expire_in: 1 month
when: always