Skip to content

Commit

Permalink
Deps file may not be generated.
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <jortel@redhat.com>
  • Loading branch information
jortel committed May 1, 2024
1 parent 078d3e2 commit 50ff584
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions builder/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func (b *Deps) read() (input []output.DepsFlatItem, err error) {
input = []output.DepsFlatItem{}
f, err := os.Open(b.Path)
if err != nil {
if os.IsNotExist(err) {
err = nil
}
return
}
defer func() {
Expand Down
32 changes: 32 additions & 0 deletions hack/addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,38 @@ spec:
lspServerPath: /jdtls/bin/jdtls
mavenSettingsFile: $(maven.settings.path)

---
kind: Extension
apiVersion: tackle.konveyor.io/v1alpha1
metadata:
namespace: konveyor-tackle
name: generic
spec:
addon: analyzer
selector: tag:Language=Golang
container:
name: java
imagePullPolicy: Always
image: quay.io/konveyor/generic-external-provider
args:
- --port
- $(PORT)
env:
- name: PORT
value: ${seq:8000}
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi
metadata:
provider:
name: generic
address: localhost:$(PORT)
initConfig:

---
kind: Task
apiVersion: tackle.konveyor.io/v1alpha1
Expand Down

0 comments on commit 50ff584

Please sign in to comment.