This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
GCP_PROJECT_ID=... | |
MY_IMAGE=... | |
USERNAME=_json_key | |
PASSWORD=$(cat keyfile.json) | |
TOKEN=$(echo "$USERNAME:$PASSWORD" | base64) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
container: | |
image: gradle:4.4.1-jdk8 | |
cpu: 4 | |
memory: 12G | |
no_caching_task: | |
dist_script: gradle dist --no-build-cache | |
global_caching_task: | |
gradle_cache: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# workaround to make rule key to depend on node and npm versions | |
NODE_NPM_VERSIONS = 'cat $(location //:node_version) && cat $(location //:npm_version) && ' | |
# prepopulated modules | |
# for example CI fails to clone react-native-permissions fork due to ssh permissions | |
export_file( | |
name = 'locale_node_modules', | |
src = 'node_modules', | |
out = 'node_modules', | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: `python abandoned_projects_finder.py *.gradle` | |
import os | |
import re | |
import sys | |
import subprocess | |
rootdir = os.getcwd() | |
project_file_pattern = re.compile(sys.argv[1]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tw-mbp-fkorotkov pants (guava-version)]$ cat /Users/fkorotkov/workspace/fkorotkov/pants/examples/src/java/org/pantsbuild/example/hello/greet/BUILD | |
jar_library(name='guava', | |
jars=[ | |
jar('com.google.guava', 'guava', '16.0', | |
apidocs='http://docs.guava-libraries.googlecode.com/git-history/v16.0/javadoc/'), | |
]) | |
java_library(name = 'greet', | |
dependencies = [':guava'], |
NewerOlder