Skip to content

Commit

Permalink
Merge pull request spinnaker#8837 from armory/fix-gitlab-helptext
Browse files Browse the repository at this point in the history
fix(gitlab): fix help text for gitlab artifacts
  • Loading branch information
dogonthehorizon committed Jan 11, 2021
2 parents 8858746 + a027d62 commit ad7608d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ export const GitlabDefault: IArtifactKindConfig = {
public render() {
return (
<>
<StageConfigField label="Content URL" helpKey="pipeline.config.expectedArtifact.defaultGithub.reference">
<StageConfigField label="Content URL" helpKey="pipeline.config.expectedArtifact.defaultGitlab.reference">
<SpelText
placeholder="https://api.github.com/repos/$ORG/$REPO/contents/$FILEPATH"
placeholder="https://gitlab.com/api/v4/projects/$ORG%2F$REPO/repository/files/path%2Fto%2Ffile.yml/raw"
value={this.props.artifact.reference}
onChange={this.onReferenceChange}
pipeline={this.props.pipeline}
docLink={false}
/>
</StageConfigField>
<StageConfigField label="Commit/Branch" helpKey="pipeline.config.expectedArtifact.defaultGithub.version">
<StageConfigField label="Commit/Branch" helpKey="pipeline.config.expectedArtifact.defaultGitlab.version">
<SpelText
placeholder="master"
value={this.props.artifact.version}
Expand Down

0 comments on commit ad7608d

Please sign in to comment.