Skip to content

Commit bb5911c

Browse files
committed
fix: set location to us-central1
1 parent 83df016 commit bb5911c

23 files changed

+23
-23
lines changed

ai-platform/snippets/expensive-test/create-data-labeling-job-video.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const instructionUri =
3131
'gs://ucaip-sample-resources/images/datalabeling_instructions.pdf';
3232
const annotationSpec = 'cartwheel';
3333
const project = process.env.CAIP_PROJECT_ID;
34-
const location = process.env.LOCATION;
34+
const location = 'us-central1';
3535

3636
let dataLabelingJobId;
3737

ai-platform/snippets/expensive-test/create-data-labeling-job.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const inputsSchemaUri =
3333
'gs://google-cloud-aiplatform/schema/datalabelingjob/inputs/image_classification.yaml';
3434
const annotationSpec = 'daisy';
3535
const project = process.env.CAIP_PROJECT_ID;
36-
const location = process.env.LOCATION;
36+
const location = 'us-central1';
3737

3838
let dataLabelingJobId;
3939

ai-platform/snippets/expensive-test/get-training-pipeline.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const cwd = path.join(__dirname, '..');
2626

2727
const trainingPipelineId = '1419759782528548864';
2828
const project = process.env.CAIP_PROJECT_ID;
29-
const location = process.env.LOCATION;
29+
const location = 'us-central1';
3030

3131
describe('AI platform get training pipeline', () => {
3232
it('should get the training pipeline', async () => {

ai-platform/snippets/expensive-test/import-data-text-entity-extraction.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const datasetId = '6203215905493614592';
2828
const gcsSourceUri =
2929
'gs://cloud-ml-data/NL-entity/AIPlatform-unified/entity_extraction_dataset.jsonl';
3030
const project = process.env.CAIP_PROJECT_ID;
31-
const location = process.env.LOCATION;
31+
const location = 'us-central1';
3232

3333
describe('AI platform import data text entity extraction', () => {
3434
it('should import data to text entity extraction dataset', async () => {

ai-platform/snippets/expensive-test/import-data-text-sentiment-analysis.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const datasetId = '5148529167758786560';
2828
const gcsSourceUri =
2929
'gs://cloud-ml-data/NL-sentiment/crowdflower-twitter-claritin-80-10-10.csv';
3030
const project = process.env.CAIP_PROJECT_ID;
31-
const location = process.env.LOCATION;
31+
const location = 'us-central1';
3232

3333
describe('AI platform import data text sentiment analysis', () => {
3434
it('should import data text sentiment analysis to dataset', async () => {

ai-platform/snippets/expensive-test/import-data-video-object-tracking.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const datasetId = '1138566280794603520';
2828
const gcsSourceUri =
2929
'gs://ucaip-sample-resources/youtube_8m_videos_animal_full.jsonl';
3030
const project = process.env.CAIP_PROJECT_ID;
31-
const location = process.env.LOCATION;
31+
const location = 'us-central1';
3232

3333
describe('AI platform import data video object tracking', () => {
3434
it('should import video object tracking data to dataset', async () => {

ai-platform/snippets/test/create-endpoint.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const cwd = path.join(__dirname, '..');
2727

2828
const endpointDisplayName = `temp_create_endpoint_test_${uuid()}`;
2929
const project = process.env.CAIP_PROJECT_ID;
30-
const location = process.env.LOCATION;
30+
const location = 'us-central1';
3131
let endpointId;
3232

3333
describe('AI platform create endpoint', () => {

ai-platform/snippets/test/deploy-model-custom-trained-model.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const endpointDisplayName = `temp_create_endpoint_test_${uuid()}`;
2828
const modelId = '6430031960164270080';
2929
const deployedModelDisplayName = `temp_deploy_model_custom_model_test_${uuid()}`;
3030
const project = process.env.CAIP_PROJECT_ID;
31-
const location = process.env.LOCATION;
31+
const location = 'us-central1';
3232
let deployedModelId;
3333
let endpointId;
3434

ai-platform/snippets/test/deploy-model.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const endpointDisplayName = `temp_create_endpoint_test_${uuid()}`;
2828
const modelId = '4190810559500779520';
2929
const deployedModelDisplayName = `temp_deploy_model_test_${uuid()}`;
3030
const project = process.env.CAIP_PROJECT_ID;
31-
const location = process.env.LOCATION;
31+
const location = 'us-central1';
3232
let deployedModelId;
3333
let endpointId;
3434

ai-platform/snippets/test/export-model-tabular-classification.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const cwd = path.join(__dirname, '..');
2727
const gcsDestinationOutputUriPrefix = 'gs://ucaip-samples-test-output';
2828
const modelId = '6036688272397172736';
2929
const project = process.env.CAIP_PROJECT_ID;
30-
const location = process.env.LOCATION;
30+
const location = 'us-central1';
3131

3232
describe('AI platform export data tabular classification', () => {
3333
it('should export model', async () => {

0 commit comments

Comments
 (0)