Skip to content

Commit

Permalink
Merge pull request #2687 from jingyih/fix_generate_script
Browse files Browse the repository at this point in the history
chore: fix generate.sh
  • Loading branch information
google-oss-prow[bot] authored Sep 12, 2024
2 parents 3d7022e + 514a2fe commit d9105b2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dev/tools/controllerbuilder/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ go run . generate-types \
--output-api ${APIS_DIR} \
--kind BigQueryDataTransferConfig \
--proto-resource TransferConfig

go run . generate-mapper \
--proto-source-path ../proto-to-mapper/build/googleapis.pb \
--service google.cloud.bigquery.datatransfer.v1 \
--api-version bigquerydatatransfer.cnrm.cloud.google.com/v1alpha1 \
--api-go-package-path github.com/GoogleCloudPlatform/k8s-config-connector/apis \
--output-dir ${OUTPUT_MAPPER} \
--api-dir ${APIS_DIR}

# Firestore
go run . generate-types \
Expand All @@ -136,13 +144,5 @@ go run . generate-mapper \
--output-dir ${OUTPUT_MAPPER} \
--api-dir ${APIS_DIR}

go run . generate-mapper \
--proto-source-path ../proto-to-mapper/build/googleapis.pb \
--service google.cloud.bigquery.datatransfer.v1 \
--api-version bigquerydatatransfer.cnrm.cloud.google.com/v1alpha1 \
--api-go-package-path github.com/GoogleCloudPlatform/k8s-config-connector/apis \
--output-dir ${OUTPUT_MAPPER} \
--api-dir ${APIS_DIR}

# Fix up formatting
${REPO_ROOT}/dev/tasks/fix-gofmt

0 comments on commit d9105b2

Please sign in to comment.