Skip to content

Do an update check when deploying Cloud Functions #41

@erictuvesson

Description

@erictuvesson

When deploying new cloud functions to the cloud service it would be ideal to make an update check to verify that the new version is uploaded correctly.

This would require some changes to the cloud service, to have a way to verify that the new version is there. Preferably a unique id created by the editor and not the cloud service to be certain.

Here is where the deploy functions are in the cloud service:
https://github.com/noodlapp/noodl-cloudservice/blob/main/packages/noodl-cloudservice/src/routes/functions-admin.ts#L5

Here is where the deploy cloud functions code is in the editor:
/packages/noodl-editor/src/editor/src/utils/compilation/passes/deploy-cloud-functions.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions