forked from google/grr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (33 loc) · 1020 Bytes
/
appveyor.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
branches:
only:
- master
platform:
- x64
clone_folder: C:\grr_src
cache:
- '%LOCALAPPDATA%\pip\Cache -> **\install_for_build.bat'
install:
- C:\grr_src\vagrant\windows\install_for_build.bat
- nuget install secure-file -ExcludeVersion
# See https://www.appveyor.com/docs/how-to/secure-files/
- >-
secure-file\tools\secure-file
-decrypt C:\grr_src\vagrant\windows\appveyor_uploader_service_account.json.enc
-secret %GCS_ENCRYPTION_KEY%
build_script:
- >-
C:\Python27-x64\python.exe
C:\grr_src\vagrant\windows\build_windows_templates.py
--grr_src=C:\grr_src
--output_dir=C:\grr_src\output
--test_repack_install
- powershell C:\grr_src\vagrant\windows\deploy_to_gcs.ps1
artifacts:
- path: output
name: templates
type: zip
# TODO(ogaro): Create a shared appveyor account, and use its encryption key.
environment:
GCS_BUCKET: autobuilds.grr-response.com
GCS_ENCRYPTION_KEY:
secure: e4FbUfG/83Onfl5eDZ4O4uM5zyGVOBz2TBKf/gCs8fS093Hu2S5C5CTwGVDjE5+y