【问题标题】:Download Android .apk from Firebase (APP Distribution) with Gitlab, to run e2e automated tests使用 Gitlab 从 Firebase (APP Distribution) 下载 Android .apk,以运行 e2e 自动化测试
【发布时间】:2021-05-11 20:39:40
【问题描述】:

我们正在寻找一种从 Gitlab 下载通过 Firebase 分发并位于(APP 分发)部分的 Android .apk 的方法,以将其上传到 e2e 自动化测试存储库并针对下载的 .apk 运行这些测试。 APK。

有没有办法做到这一点?在 Firebase 页面中,我只能找到通过 CLI 将其上传到 Firebase 的方法,而无法找到下载它的方法。

有没有人有任何想法或做过类似的事情?

firebase:
    stage: firebase
    image: node:latest
    script:
        - npm i -g firebase-tools
        - firebase --help
        - firebase projects:list --token $FIREBASE_TOKEN
        - firebase apps:list --project escript-app-63c00 --token $FIREBASE_TOKEN
        - ?????
        - curl -O "here would go the URL of the downloadable .apk"

如何访问这些应用列表之一并下载 .apk 或 .ipa?

【问题讨论】:

  • 根据您的回答,我也想为此“投票”。请问您是如何向 Firebase 提出请求的,我会模仿您的做法?

标签: android firebase gitlab apk gitlab-ci


【解决方案1】:

Firebase 响应

"目前,您只能从 Firebase 控制台下载上传的 .ipa 和 .apk 文件。有一个内部请求,要求可以通过 Firebase CLI 下载文件。作为一项操作,我已经提出了您的案例,以便将其视为可能的“投票”,但是,我将无法提供有关何时实现的具体细节或时间表。现在,您可以密切关注我们的更新新添加的产品、功能和 SDK 的官方博客和发行说明。 您还可以查看以下文档以了解当前可用的 App Distribution 命令:

https://firebase.google.com/docs/cli#appdistro-commands https://firebase.google.com/docs/app-distribution/android/distribute-cli

"

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-02-04
    • 1970-01-01
    • 2019-11-06
    • 1970-01-01
    • 2020-02-01
    • 2015-05-08
    • 2021-06-09
    相关资源
    最近更新 更多