GoogleContainerTools / GoogleContainerTools/skaffold
Sync is not working with helm and jib
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
### Expected behavior
Synced files should work
### Actual behavior
No watching or syncing happening, no files going into the pod
### Information
- Skaffold version: 1.9.1
- Operating system: Mac OS X Catalina 10.15.4
- Contents of skaffold.yaml:
```yaml
apiVersion: skaffold/v1
kind: Config
profiles:
- name: qc
build:
artifacts:
- image: skaffold-qc
context: '.'
sync:
manual:
- src: 'lombok.config'
dest: /app
- src: '**/*.config'
dest: /app
- src: 'KVP/heyo.txt'
dest: /app/deploy
jib: {}
local: {}
deploy:
helm:
releases:
- name: "{{.USER}}-skaffold-qc"
chartPath: "skaffold/qumucloud"
values:
image: skaffold-qc
setValueTemplates:
redisServerEndpoint: "dev-rds-euw1b-d01"
redisServerPort: "6379"
flags:
upgrade:
- --install
statusCheckDeadlineSeconds: 240
```
### Steps to reproduce the behavior
1. a clonable repository with the sample skaffold project: I cannot reproduce easily in the current project as it has too many folders. If nothing obvious shows up I'll try to extract
2. `skaffold dev --filename skaffold.yml --profile qc --default-repo eu.gcr.io/qumu-dev --cleanup=false -v debug`
The debug logs show up changes happening:
```
DEBU[0708] Change detected notify.Write: "/Users/dfernandez/development/repos/qumu-cloud-fork/qumu-cloud/skaffold/lombok.config"
DEBU[0708] Change detected notify.Write: "/Users/dfernandez/development/repos/qumu-cloud-fork/qumu-cloud/skaffold/lombok.config~"
DEBU[0708] Change detected notify.Create: "/Users/dfernandez/development/repos/qumu-cloud-fork/qumu-cloud/skaffold/lombok.config~"
DEBU[0708] Change detected notify.Remove: "/Users/dfernandez/development/repos/qumu-cloud-fork/qumu-cloud/skaffold/lombok.config~"
DEBU[0709] Using wrapper for gradlew: gradle
DEBU[0709] Found dependencies for jib-gradle artifact: [build.gradle build/libs/com/qumu/cloud/database/UpdateJobProcessorScriptsTableTask.class build/libs/commons-io-2.6.jar build/libs/liquibase-core-3.6.2.jar build/libs/logback-classic-1.2.3.jar build/libs/logback-core-1.2.3.jar build/libs/lombok-1.18.12.jar build/libs/lombok-1.18.4.jar build/libs/mariadb-java-client-2.4.3.jar build/libs/qumu-cloud.war build/libs/slf4j-api-1.7.25.jar build/libs/snakeyaml-1.18.jar database/liquibase/changesets/CLD-5865-pre.sql database/liquibase/changesets/DEV-9588.sql database/liquibase/changesets/DEV-9688.sql database/liquibase/changesets/QC-2323.sql database/liquibase/changesets/QC-2324.sql database/liquibase/changesets/QC-2644.sql database/liquibase/changese
....
```
And then more log with all the files detected by jib.
Is there anything obvious I am missing?
The structure is `skaffold.yml` and in the same folder `lombok.config`. Just seems the file is not being watched at all.
Contributor guide
Assessment
This issue has not been assessed yet.