cloudfoundry / cloudfoundry/stratos

CF App Deploy: spring-music example fails to deploy

Open
#4,713 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug community
Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

  • https://github.com/cloudfoundry-samples/spring-music
  • when pushing from cli the manifest has a path
    applications:
    - name: spring-music
      memory: 1G
      random-route: true
      path: build/libs/spring-music-1.0.jar
    
    • this fails the push if the jar is missing
    • File not found locally, make sure the file exists at given path /home/richard/dev/github/spring-music/build/libs/spring-music-1.0.jar
      FAILED
      
  • when pushing via stratos i think the path is dropped from our manifest, we eventually get an error at staging
    16:16:10.772: [STG.0] None of the buildpacks detected a compatible application

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Stratos's CF App Deploy flow for the spring-music example and compare it with the CLI manifest containing path: build/libs/spring-music-1.0.jar. Reproduce the missing-jar and staging failures, then verify that the manifest path is preserved and that deployment reports the appropriate result.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.