forked from iopipe/pi-gen-greengrass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec.yml
42 lines (40 loc) · 995 Bytes
/
buildspec.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
version: 0.2
env:
variables:
IMG_NAME: "grassbian"
ENABLE_SSH: "1"
FIRST_USER_PASS: "pi"
WPA_ESSID: "ESSID_REPLACE"
WPA_PASSWORD: "PASSWORD_REPLACE"
WPA_COUNTRY: "COUNTRY_REPLACE"
#parameter-store:
# key: "value"
#git-credential-helper: yes
phases:
install:
runtime-versions:
java: corretto8
commands:
#- yum check-update
#- yum -y update
- yum -y install coreutils quilt quilt.noarch parted debootstrap zerofree qemu-user-static pxz zip dosfstools bsdtar libcap2-bin grep rsync xz-utils file git curl make kmod vim-common xz
#pre_build:
#commands:
# - command
build:
commands:
- sed -i 's/^dependencies_check/#dependencies_check/' ./build.sh
- ./build.sh -c extliburls
#post_build:
#commands:
# - command
artifacts:
files:
- './deploy/**/*'
# - location
name: $(date +%Y-%m-%d)
#discard-paths: yes
#base-directory: location
cache:
paths:
- ./work/**/*