Access a field from GitHub artifact


#1

Hello,

How can we use pipeline expression (or another way) to extract (access) a field from a github expected artifact (yaml file)?
(I want to use replicas number described in a .yaml file on the github to set the Replicas parameter at a Scale manifest stage.)

Example, I have a helm value file on GitHub that contains the following replicaCount field.

values.yaml

replicaCount: 1

#2

@hanglethao: I don’t believe there’s currently a way to use pipeline expressions to get the contents of a github artifact.

What’s the broader workflow you’re trying to build? There might be a different way of achieving your goal.