-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
51 lines (46 loc) · 1.01 KB
/
.gitlab-ci.yml
File metadata and controls
51 lines (46 loc) · 1.01 KB
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
48
49
50
variables:
#git 邮箱
GIT_USEREMAIL: hjw0415@outlook.com
#git 用户名
GIT_USERNAME: hejiawen
# 定义 stages
stages:
- build_image
# 定义 build_image job
build_image_imx6ull:
tags:
- ENABLE
stage: build_image
when: manual
#指定分支更新进行编译
only:
#- image-builder_2.0
- master
before_script:
- git config --global user.email "$GIT_USEREMAIL"
- git config --global user.name "$GIT_USERNAME"
script:
# 使用内部仓库
- export SOURCE_URL=gitlab
#编译镜像
- ./env/ci.sh imx6ull
build_image_stm32mp157:
tags:
- ENABLE
stage: build_image
when: manual
#指定分支更新进行编译
only:
#- image-builder_2.0
- master
before_script:
- git config --global user.email "$GIT_USEREMAIL"
- git config --global user.name "$GIT_USERNAME"
script:
# 使用内部仓库
- export SOURCE_URL=gitlab
#编译镜像
- ./env/ci.sh stm32mp157
# when: delayed
# start_in: 180 minutes
#start_in: 10 sec