Skip to content

Commit

Permalink
Remove EncodedTags parameter from ADO package.
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiel committed Jun 27, 2024
1 parent f858f4a commit cd330ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions pkg/azuredevops/pipelines/templatesParams.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ func (p OCIImageBuilderTemplateParams) SetImageTags(tags string) {
p["Tags"] = encodedTags
}

func (p OCIImageBuilderTemplateParams) SetEncodedTags(encodedTags bool) {
p["EncodedTags"] = strconv.FormatBool(encodedTags)
}

// SetUseKanikoConfigFromPR sets optional parameter UseKanikoConfigFromPR.
// If true, ADO pipeline will use a Kaniko config from PR.
// This is used for testing purposes.
Expand Down
5 changes: 0 additions & 5 deletions pkg/azuredevops/pipelines/templatesParams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ var _ = Describe("Test OCIImageBuilderTemplateParams", func() {
Expect(params["Tags"]).To(Equal(expected))
})

It("sets the correct EncodedTags", func() {
params.SetEncodedTags(true)
Expect(params["EncodedTags"]).To(Equal("true"))
})

It("sets the correct UseKanikoConfigFromPR", func() {
params.SetUseKanikoConfigFromPR(true)
Expect(params["UseKanikoConfigFromPR"]).To(Equal("true"))
Expand Down

0 comments on commit cd330ba

Please sign in to comment.