소스 정보
- 저장소
- firebase/firebase-tools
- 최근 소스 활동
- 2026년 3월 19일 16:17
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4,466
- 포크
- 1,252
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/firebase/firebase-tools --skill update-pubsub-emulator명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | Update Pub/Sub Emulator |
| description | How to update the Pub/Sub emulator |
Update Local Emulator Run the following command to make sure you have the latest version of the pubsub emulator installed via gcloud:
gcloud components update pubsub-emulator
Locate Emulator Directory
The emulator represents a directory likely located at <gcloud-install-path>/platform/pubsub-emulator.
You can find the exact path by running the emulator and checking the output, or by inspecting where gcloud is installed (e.g. which gcloud usually points to a bin directory, and the platform directory is a sibling of bin).
Verify the version by running the emulator or checking the VERSION file if it exists.
Package the Emulator
Zip the directory found in the previous step. Name it pubsub-emulator-<version>.zip.
Ensure the zip structure is such that the top-level directory inside the zip is pubsub-emulator.
Note: The existing code expects the binary at pubsub-emulator-<version>/pubsub-emulator/bin/cloud-pubsub-emulator inside the cache, which usually means the zip contains a root folder pubsub-emulator.
Upload to Storage Upload the zip file to the Firebase preview bucket:
gcloud storage cp pubsub-emulator-<version>.zip gs://firebase-preview-drop/emulator/
Make the file publicly readable if necessary (usually the bucket permissions handle this, or use gcloud storage objects update ... --add-acl-grant=entity=allUsers,role=READER).
Note: For the version 0.8.27 update, this step was already done.
Calculate Metadata Calculate the file size in bytes, MD5 checksum, and SHA256 checksum of the zip file.
# Size
ls -l pubsub-emulator-<version>.zip
# MD5 (macOS: `md5`, Linux: `md5sum`)
md5 pubsub-emulator-<version>.zip
# SHA256 (macOS: `shasum -a 256`, Linux: `sha256sum`)
shasum -a 256 pubsub-emulator-<version>.zip
Update Configuration
Edit src/emulator/downloadableEmulatorInfo.json:
pubsub.version to the new version.pubsub.expectedSize.pubsub.expectedChecksum (MD5).pubsub.expectedChecksumSHA256.pubsub.remoteUrl and pubsub.downloadPathRelativeToCacheDir.Verify Run the emulators to ensure the new version is downloaded and starts correctly.
firebase emulators:start --only pubsub
Add a Changelog Entry
Add a changelog entry to CHANGELOG.md like '- Updated Pub/Sub emulator to version '