Skip to content

new-app misleading message #6696

Closed

Description

@rhcarvalho

After instantiating a template with a BuildConfig with only a Generic trigger, the success message incorrectly states that a Build was scheduled:

$ oc new-app --template chained-builds              
--> Deploying template chained-builds for "chained-builds"
     With parameters:
      SOURCE_REPOSITORY_URL=https://github.com/rhcarvalho/chained-builds-ex.git
      SOURCE_REPOSITORY_REF=
      GENERIC_WEBHOOK_SECRET=ijijohQDapDu54vJ1dUNEeGsHnQUPrxofkssYHTg # generated
--> Creating resources with label app=chained-builds-app1 ...
    Service "chain-app1-frontend" created
    ImageStream "chained-builds-app1" created
    BuildConfig "chained-builds-app1" created
    DeploymentConfig "chain-app1-frontend" created
--> Success
    Build scheduled for "chained-builds-app1" - use the logs command to track its progress.
    Run 'oc status' to view your app.

A Build will be run only if the BC has a ConfigChange or ImageChange trigger. The latter will only trigger a build if using an ImageStream and not a DockerImage reference.

@bparees FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions