Skip to content

Commit 982ad41

Browse files
chore(cloudfunctions): remove unused functions/speech-to-speech sample app (#3964)
* chore(speech-to-speech): delete call_speech_to_text tag from functions/speech-to-speech/functions/index.js * chore(speech-to-speech): delete call_text_to_speech tag from functions/speech-to-speech/functions/index.js * chore(speech-to-speech): delete call_text_translation tag from functions/speech-to-speech/functions/index.js * chore(speech-to-speech): delete region tags from functions/speech-to-speech/functions/index.js * chore(speech-to-speech): Remove tests related to deleted region tags * chore(speech-to-speech): fix linting issues * chore(speech-to-speech): restore validate_request region tag * chore(speech-to-speech): delete sample structure * chore(speech-to-speech): delete speech-to-speech references
1 parent 4a7ba19 commit 982ad41

16 files changed

+7
-760
lines changed

.github/config/nodejs-dev.jsonc

+6-7
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
{
18-
"package-file": [ "package.json" ],
17+
"package-file": [
18+
"package.json"
19+
],
1920
"ci-setup-filename": "ci-setup.json",
2021
"ci-setup-defaults": {
2122
"node-version": 20,
@@ -24,8 +25,8 @@
2425
"workload-identity-provider": "projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider",
2526
"service-account": "[email protected]",
2627
"access-token-lifetime": "600s", // 10 minutes
27-
"env": { },
28-
"secrets": { }
28+
"env": {},
29+
"secrets": {}
2930
},
3031
"ignore": [
3132
".eslintignore",
@@ -71,7 +72,6 @@
7172
"functions/pubsub", // parent directory
7273
"memorystore/redis", // parent directory
7374
"recaptcha_enterprise/demosite/app", // no tests exist
74-
7575
// These tests are already passing in prod, so skip them in dev.
7676
"appengine/building-an-app/build",
7777
"appengine/building-an-app/update",
@@ -145,7 +145,6 @@
145145
"functions/scheduleinstance",
146146
"functions/security",
147147
"functions/spanner",
148-
"functions/speech-to-speech/functions",
149148
"functions/tips",
150149
"functions/tips/avoidInfiniteRetries",
151150
"functions/tips/connectionPools",
@@ -201,4 +200,4 @@
201200
"tpu",
202201
"workflows/invoke-private-endpoint"
203202
]
204-
}
203+
}

.github/workflows/functions-speech-to-speech-functions.yaml

-52
This file was deleted.

.github/workflows/utils/workflows.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"functions/scheduleinstance",
5151
"functions/security",
5252
"functions/spanner",
53-
"functions/speech-to-speech/functions",
5453
"functions/v2/autoLabelInstance",
5554
"functions/v2/cloudEventLogging",
5655
"functions/v2/firebase/firestore/helloFirestore",
@@ -94,4 +93,4 @@
9493
"vision/productSearch",
9594
"workflows",
9695
"workflows/invoke-private-endpoint"
97-
]
96+
]

.kokoro/build.sh

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ export FUNCTIONS_BUCKET=$GOOGLE_CLOUD_PROJECT
5050
export FUNCTIONS_DELETABLE_BUCKET=$GOOGLE_CLOUD_PROJECT-functions
5151
export BASE_URL="https://$GCF_REGION-$GOOGLE_CLOUD_PROJECT.cloudfunctions.net/"
5252

53-
# functions/speech-to-speech
54-
export OUTPUT_BUCKET=$FUNCTIONS_BUCKET
55-
5653
# functions/memorystore/redis
5754
export REDISHOST=$(cat $KOKORO_GFILE_DIR/secrets-memorystore-redis-ip.txt)
5855
export REDISPORT=6379

functions/speech-to-speech/.firebaserc

-5
This file was deleted.

functions/speech-to-speech/.gcloudignore

-16
This file was deleted.

functions/speech-to-speech/.gitignore

-65
This file was deleted.

functions/speech-to-speech/.nvmrc

-1
This file was deleted.

functions/speech-to-speech/README.md

-118
This file was deleted.

functions/speech-to-speech/firebase.json

-1
This file was deleted.

0 commit comments

Comments
 (0)