Skip to content

Commit

Permalink
use dashes in obs-common subcommand names
Browse files Browse the repository at this point in the history
  • Loading branch information
relud committed Nov 19, 2024
1 parent ad46eb1 commit e14d705
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions bin/run_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ set -euo pipefail
echo "Delete and create GCS bucket..."
gcs-cli delete "${CRASHMOVER_CRASHSTORAGE_BUCKET_NAME}"
gcs-cli create "${CRASHMOVER_CRASHSTORAGE_BUCKET_NAME}"
gcs-cli list_buckets
gcs-cli list-buckets

echo "Delete and create Pub/Sub topic..."
pubsub-cli delete_topic "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}" "${CRASHMOVER_CRASHPUBLISH_TOPIC_NAME}"
pubsub-cli create_topic "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}" "${CRASHMOVER_CRASHPUBLISH_TOPIC_NAME}"
pubsub-cli create_subscription "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}" "${CRASHMOVER_CRASHPUBLISH_TOPIC_NAME}" "${CRASHMOVER_CRASHPUBLISH_SUBSCRIPTION_NAME}"
pubsub-cli list_topics "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}"
pubsub-cli delete-topic "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}" "${CRASHMOVER_CRASHPUBLISH_TOPIC_NAME}"
pubsub-cli create-topic "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}" "${CRASHMOVER_CRASHPUBLISH_TOPIC_NAME}"
pubsub-cli create-subscription "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}" "${CRASHMOVER_CRASHPUBLISH_TOPIC_NAME}" "${CRASHMOVER_CRASHPUBLISH_SUBSCRIPTION_NAME}"
pubsub-cli list-topics "${CRASHMOVER_CRASHPUBLISH_PROJECT_ID}"
2 changes: 1 addition & 1 deletion docs/dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ production, see documentation_.

.. code-block:: shell
$ docker compose run --rm web shell gcs-cli list_buckets
$ docker compose run --rm web shell gcs-cli list-buckets
If you do this a lot, turn it into a shell script.

Expand Down

0 comments on commit e14d705

Please sign in to comment.