Skip to content

Commit

Permalink
Website autopush release with import group (#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
shifucun authored Mar 7, 2022
1 parent 56dcc93 commit 8263114
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/base/deployment.yaml
Original file line number Diff line number Diff line change
@@ -138,7 +138,7 @@ spec:
valueFrom:
configMapKeyRef:
name: store-configmap
key: bigtable_import_groups.json
key: bigtable_import_groups.version
- name: MIXER_HASH
valueFrom:
configMapKeyRef:
2 changes: 1 addition & 1 deletion mixer
Submodule mixer updated 353 files
6 changes: 6 additions & 0 deletions scripts/autopush.sh
Original file line number Diff line number Diff line change
@@ -33,6 +33,12 @@ git checkout master
# Deploy autopush instance
gsutil cp gs://datcom-control/latest_base_cache_version.txt deploy/storage/bigtable.version
gsutil cp gs://datcom-control/latest_base_bigquery_version.txt deploy/storage/bigquery.version
# Import Group
> deploy/storage/bigtable_import_groups.version
for src in $(gsutil ls gs://datcom-control/autopush/*_latest_base_cache_version.txt); do
echo "Copying $src"
echo "$(gsutil cat $src)" >> deploy/storage/bigtable_import_groups.version
done
$ROOT/scripts/deploy_gke.sh autopush us-central1
$ROOT/scripts/deploy_gke.sh autopush europe-west2
$ROOT/scripts/deploy_gke.sh feeding-america us-central1

0 comments on commit 8263114

Please sign in to comment.