add a warning to set_pipeline step
package exec
import (
- "code.cloudfoundry.org/lager"
- "code.cloudfoundry.org/lager/lagerctx"
"context"
"errors"
"fmt"
"io/ioutil"
+
+ "code.cloudfoundry.org/lager"
+ "code.cloudfoundry.org/lager/lagerctx"
"sigs.k8s.io/yaml"
"github.com/concourse/concourse/atc"
@@ -55,6 +56,11 @@ func (step *SetPipelineStep) Run(ctx context.Context, state RunState) error {
stdout := step.delegate.Stdout()
stderr := step.delegate.Stderr()
+ fmt.Fprintln(stderr, "\x1b[1;33mWARNING: the set_pipeline step is experimental and subject to change!\x1b[0m")
+ fmt.Fprintln(stderr, "")
+ fmt.Fprintln(stderr, "\x1b[33mfollow RFC #31 for updates: https://github.com/concourse/rfcs/pull/31\x1b[0m")
+ fmt.Fprintln(stderr, "")
+
source := setPipelineSource{
ctx: ctx,
logger: logger,
