Skip to content

Commit f5c0b42

Browse files
committed
Incrementally testing GH action.
1 parent 1951484 commit f5c0b42

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/duplicate-prod-db.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@ jobs:
3434
gsutil mb -l $GCP_REGION -p $BUCKET_PROJECT_ID "gs://${DUMP_BUCKET_NAME}"
3535
else
3636
echo "Bucket already exists."
37-
fi
37+
fi
38+
39+
# Give write permission for the source sql instance to write to the bucket
40+
# gsutil iam ch serviceAccount:$SOURCE_SQL_SERVICE_ACCOUNT:objectCreator gs://$BUCKET_NAME
41+
42+
# Give read permission on the bucket to the destination sql instance
43+
#gsutil iam ch serviceAccount:$DEST_SQL_SERVICE_ACCOUNT:objectViewer gs://$BUCKET_NAME

0 commit comments

Comments
 (0)