Skip to content

Serverless triggers are not being deployed #1474

@davidsbond

Description

@davidsbond

Describe the Issue:

Hi! I'm trying to use doctl to deploy a serverless function with a cron trigger. When I run the doctl serverless deploy command my function is deployed but the trigger is not. I do not see a section in my console output for the trigger.

Environment:

  • doctl version: 1.101.0-release
  • OS: Ubuntu
  • Installation method: Snap

Additional Details:

Adding a trace flag provides no additional output. My project file looks like this:

packages:
  - name: jobs
    shared: false
    functions:
       - name: test
         runtime: go:default
         web: false
         triggers:
           - name: cron-trigger
             sourceType: scheduler
             sourceDetails:
               cron: "0 12 * * *"
               withBody: {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdo-apiDepends on additional features for the DigitalOcean API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions