-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.gitlab-ci.yml
43 lines (40 loc) · 912 Bytes
/
.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
stages:
- deploy
before_script:
- hostname
- whoami
# - pwd
deploy-database-txt:
image: registry.gitlab.com/aff3ct/aff3ct/x86_64_ubuntu_python:v3.8.5
stage: deploy
tags:
- x86_64
- linux
- docker
artifacts:
name: database-txt
paths:
- database.txt
- database.txt.zip
script:
- apt update
- apt install -y zip
- ./.ci/deploy-database-txt.sh . database.txt
- zip database.txt.zip database.txt
deploy-database-json:
image: registry.gitlab.com/aff3ct/aff3ct/x86_64_ubuntu_python:v3.8.5
stage: deploy
tags:
- x86_64
- linux
- docker
artifacts:
name: database-json
paths:
- database.json
- database.json.zip
script:
- apt update
- apt install -y zip
- ./.ci/deploy-database-json.py --refs-path ./ --output database.json --nice-json 1 --hash-type sha1
- zip database.json.zip database.json