digitalocean / digitalocean/doctl

Incremental builds don't work with --remote-build

Open
#1,513 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

**Describe the Issue:**

```
$ doctl serverless deploy . --remote-build --incremental
Deploying '/Users/nathan/project'
to namespace 'fn-...'
on host 'https://faas-syd1-c274eac6.doserverless.co'
Error: Cannot read properties of undefined (reading 'packageVersions')
```

**Environment:**

- doctl version: doctl version 1.104.0-release
- OS: macOS Sonoma
- Installation method: Github release

**Additional Details:**

I'm not sure if incremental builds are supposed to work with remote builds, but that would save a lot of time, especially when deploying functions across multiple regions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.