Skip to content

Commit

Permalink
Fix missed GCS target storage credentials (HumanSignal#1568)
Browse files Browse the repository at this point in the history
Co-authored-by: nik <[email protected]>
  • Loading branch information
niklub and nik authored Oct 5, 2021
1 parent 6dc2178 commit bead75e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions label_studio/io_storages/gcs/form_layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ title_bucket_prefix: &title_bucket_prefix
name: prefix
label: Bucket Prefix

gcs_credentials: &gcs_credentials
- type: password
name: google_application_credentials
label: Google Application Credentials
placeholder: Copy and paste here the content of credentials.json
autoComplete: "new-password"
skipAutofill: true
allowEmpty: false
validators:
- json

ImportStorage:
# Title, Bucket, Prefix
- columnCount: 3
Expand Down Expand Up @@ -46,19 +57,12 @@ ImportStorage:
value: 1
dependency: presign

# Regex filter
# GCS credentials
- columnCount: 1
fields:
- type: password
name: google_application_credentials
label: Google Application Credentials
placeholder: Copy and paste here the content of credentials.json
autoComplete: "new-password"
skipAutofill: true
allowEmpty: false
validators:
- json
fields: *gcs_credentials

ExportStorage:
- columnCount: 3
fields: *title_bucket_prefix
- columnCount: 1
fields: *gcs_credentials

0 comments on commit bead75e

Please sign in to comment.