← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 8748.c · 生成模型:GPT-6

发布伪代码缺口需要显式补齐

理解等级:中级

推送镜像到registry和让云服务部署该镜像是不同动作。原书伪代码省略构建、打标签、认证及跨job产物传递,不能直接复制为完整部署;必须能把所发布版本对应到实际模型和镜像。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      To make this code sample simple and generalizable regardless of which cloud provider you are using, we have opted to illustrate this step with pseudo-code: # .github/workflows/ci.yaml name: CI/CD pipeline on: [push] jobs: # ... other jobs (e.g. run tests) publish-image: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - name: Publish image to docker registry run: docker push loan-default-prediction-api:${{github.run_number}} deploy-api: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3

    参考来源

    - 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第04章《依赖管理实践》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch04.html) - 结论依据:摘录中关于发布伪代码缺口需要显式补齐的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:To make this code sample simple and generalizable regardless of which cloud provider you are using, we have opted to illustrate this step with pseudo-code: # .github/workflows/ci.yaml name: CI/CD pipeline on: [push] jobs: # ... other jobs (e.g. run tests) publish-image: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - name: Publish image to docker registry run: docker push loan-default-prediction-api:${{github.run_number}} deploy-api: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3