[infra] Add ios-dev-image-11.4 asset
Needed for https://skia-review.googlesource.com/c/skia/+/270446 Bug: skia:9799 Change-Id: I0b5814aa3bae73ca6c231b5ced7a0c94e0efa6dc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/270447 Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com> Reviewed-by: Weston Tracey <westont@google.com>
This commit is contained in:
parent
46f5c5f08b
commit
31d0dc1620
7
infra/bots/assets/ios-dev-image-11.4/README.md
Normal file
7
infra/bots/assets/ios-dev-image-11.4/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
To create or update this asset, you will need a Mac with Xcode installed. Just
|
||||
run
|
||||
|
||||
```shell
|
||||
./upload.py --target_dir \
|
||||
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.4
|
||||
```
|
1
infra/bots/assets/ios-dev-image-11.4/VERSION
Normal file
1
infra/bots/assets/ios-dev-image-11.4/VERSION
Normal file
@ -0,0 +1 @@
|
||||
1
|
26
infra/bots/assets/ios-dev-image-11.4/common.py
Executable file
26
infra/bots/assets/ios-dev-image-11.4/common.py
Executable file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright 2017 Google Inc.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
||||
"""Common vars used by scripts in this directory."""
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
FILE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
|
||||
|
||||
sys.path.insert(0, INFRA_BOTS_DIR)
|
||||
from assets import assets
|
||||
|
||||
ASSET_NAME = os.path.basename(FILE_DIR)
|
||||
|
||||
|
||||
def run(cmd):
|
||||
"""Run a command, eg. "upload" or "download". """
|
||||
assets.main([cmd, ASSET_NAME] + sys.argv[1:])
|
16
infra/bots/assets/ios-dev-image-11.4/download.py
Executable file
16
infra/bots/assets/ios-dev-image-11.4/download.py
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright 2017 Google Inc.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
||||
"""Download the current version of the asset."""
|
||||
|
||||
|
||||
import common
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
common.run('download')
|
16
infra/bots/assets/ios-dev-image-11.4/upload.py
Executable file
16
infra/bots/assets/ios-dev-image-11.4/upload.py
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright 2017 Google Inc.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
||||
"""Upload a new version of the asset."""
|
||||
|
||||
|
||||
import common
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
common.run('upload')
|
Loading…
Reference in New Issue
Block a user