commit | 0992123a28581b37cdf4512cc774c94c86b87005 | [log] [tgz] |
---|---|---|
author | borenet <borenet@google.com> | Thu Nov 17 11:09:11 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Nov 17 16:47:21 2022 +0000 |
tree | 6c075ae9c0ed7d4e9a9a3b4ad40019fc7fb00215 | |
parent | bda58885fb7a61febbd0734c89780300626b6d15 [diff] |
[infra] Make kubectl executable in asset Change-Id: I23937444600c0da2c6a9b4813c04ae335e7e3aff Reviewed-on: https://skia-review.googlesource.com/c/skia/+/607008 Auto-Submit: Eric Boren <borenet@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Eric Boren <borenet@google.com>
diff --git a/infra/bots/assets/kubectl/VERSION b/infra/bots/assets/kubectl/VERSION index c227083..56a6051 100755 --- a/infra/bots/assets/kubectl/VERSION +++ b/infra/bots/assets/kubectl/VERSION
@@ -1 +1 @@ -0 \ No newline at end of file +1 \ No newline at end of file
diff --git a/infra/bots/assets/kubectl/create.py b/infra/bots/assets/kubectl/create.py index e8c05a8..04e3274 100755 --- a/infra/bots/assets/kubectl/create.py +++ b/infra/bots/assets/kubectl/create.py
@@ -33,6 +33,7 @@ input=(sha256 + ' kubectl').encode('utf-8'))[0].decode('utf-8') if 'OK' not in output: raise ValueError('Got wrong checksum for kubectl: %s' % output) + subprocess.check_call(['chmod', 'a+x', 'kubectl'], cwd=target_dir) def main():