-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 878 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 878 Bytes
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
.PHONY: all
COMMAND = bundle exec ./s3_to_gcs.rb
S3_REGION = us-east-1
GCS_REGION = us
GCS_JSON = creds.json
GCS_BUCKET = travis-ci-language-archives
ARGS = --s3-region=$(S3_REGION) \
--s3-prefix=binaries/ \
--gcs-region=$(GCS_REGION) \
--gcs-creds-json=$(GCS_JSON) \
--gcs-project-id=$(GCS_PROJECT_ID) \
--gcs-bucket=$(GCS_BUCKET) \
--log-level=info
ruby:
@$(COMMAND) $(ARGS) --s3-bucket=travis-rubies --gcs-prefix=ruby/binaries/
python:
@$(COMMAND) $(ARGS) --s3-bucket=travis-python-archives --gcs-prefix=python/binaries/
erlang:
@$(COMMAND) $(ARGS) --s3-bucket=travis-otp-releases --gcs-prefix=erlang/binaries/
php:
@$(COMMAND) $(ARGS) --s3-bucket=travis-php-archives --gcs-prefix=php/binaries/
perl:
@$(COMMAND) $(ARGS) --s3-bucket=travis-perl-archives --gcs-prefix=perl/binaries/
all: ruby python erlang php perl