Skip to content

Commit

Permalink
feat(tekton provider): Update tekton provider (IBM-Cloud#3933)
Browse files Browse the repository at this point in the history
* Update CD Tekton provider

* Update tekton provider

* Add tekton diff suppress functions

* chore(tekton provider): bump tekton go sdk version to latest

* chore(tekton provider): update secrets baseline

* fix(tekton pipeline):fix pipeline_definition error

* chore(tekton provider): fix optional property for trigger

* chore(review): revert changes in provider.go

* chore(review): revert provider.go changes

* chore(code review): fix pipeline_id in doc

* chore(code review): tekton provider string updates

* chore(code review): doc fix

* chore(code review): add missing provider updates

* fix(tekton): schema, string and doc updates

* chore(tekton): minor clean up

* fix(tekton): fix trigger worker props

* fix(tekton): json merge patch schema

* fix(tekton): refactor enum property types

* fix(tekton): snake case secret types

* fix(tekton): refactor enum value

* fix(tekton): support other settings on creation

* fix(tekton): remove enabled flag

* chore(tekton): remove duplicate trigger

* fix(tekton): refactor trigger resource

* chore(tekton): fix merge issue

* chore(tekton): update secrets baseline

* chore(tekton): format files

* chore(tekton): format provider.go

* chore(tekton): update to 0.1.0 Go SDK

* fix(tekton): fix tekton test
  • Loading branch information
briangleeson authored and SunithaGudisagarIBM1 committed Sep 14, 2022
1 parent e8fa0d0 commit 3d4a409
Show file tree
Hide file tree
Showing 31 changed files with 1,970 additions and 2,202 deletions.
102 changes: 47 additions & 55 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "go.sum|^.secrets.baseline$|metadata",
"lines": null
},
"generated_at": "2022-08-24T16:50:18Z",
"generated_at": "2022-09-05T12:30:29Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -307,6 +307,16 @@
"verified_result": null
}
],
"examples/ibm-cd-tekton-pipeline/README.md": [
{
"hashed_secret": "7964264efab8ce11653cec07a2c472d973123783",
"is_secret": false,
"is_verified": false,
"line_number": 73,
"type": "Secret Keyword",
"verified_result": null
}
],
"examples/ibm-cis/README.md": [
{
"hashed_secret": "1f1c2ad5fded044aae42281c1fd4253dd624bf65",
Expand Down Expand Up @@ -684,23 +694,33 @@
"hashed_secret": "1f614c2eb6b3da22d89bd1b9fd47d7cb7c8fc670",
"is_secret": false,
"is_verified": false,
"line_number": 3182,
"line_number": 3177,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "7abfce65b8504403afc25c9790f358d513dfbcc6",
"is_secret": false,
"is_verified": false,
"line_number": 3195,
"line_number": 3190,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "0c2d85bf9a9b1579b16f220a4ea8c3d62b2e24b1",
"is_secret": false,
"is_verified": false,
"line_number": 3236,
"line_number": 3231,
"type": "Secret Keyword",
"verified_result": null
}
],
"ibm/flex/diff_supress_funcs.go": [
{
"hashed_secret": "9982fcad895acdfd083f1f38a5e9b44a084e4747",
"is_secret": false,
"is_verified": false,
"line_number": 97,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -710,7 +730,7 @@
"hashed_secret": "da8cae6284528565678de15e03d461e23fe22538",
"is_secret": false,
"is_verified": false,
"line_number": 1551,
"line_number": 1552,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -992,7 +1012,7 @@
"hashed_secret": "3046d9f6cfaaeea6eed9bb7a4ab010fe49b0cfd4",
"is_secret": false,
"is_verified": false,
"line_number": 378,
"line_number": 346,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -1002,15 +1022,15 @@
"hashed_secret": "3046d9f6cfaaeea6eed9bb7a4ab010fe49b0cfd4",
"is_secret": false,
"is_verified": false,
"line_number": 218,
"line_number": 211,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "17f5f58d3d8d9871c52ab032989df3d810d2443e",
"is_secret": false,
"is_verified": false,
"line_number": 373,
"line_number": 358,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -1020,17 +1040,7 @@
"hashed_secret": "3046d9f6cfaaeea6eed9bb7a4ab010fe49b0cfd4",
"is_secret": false,
"is_verified": false,
"line_number": 408,
"type": "Secret Keyword",
"verified_result": null
}
],
"ibm/service/cdtektonpipeline/resource_ibm_cd_tekton_pipeline_property.go": [
{
"hashed_secret": "9982fcad895acdfd083f1f38a5e9b44a084e4747",
"is_secret": false,
"is_verified": false,
"line_number": 57,
"line_number": 384,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -1040,33 +1050,15 @@
"hashed_secret": "3046d9f6cfaaeea6eed9bb7a4ab010fe49b0cfd4",
"is_secret": false,
"is_verified": false,
"line_number": 202,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "9982fcad895acdfd083f1f38a5e9b44a084e4747",
"is_secret": false,
"is_verified": false,
"line_number": 220,
"line_number": 99,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "eea5864a56855d23883cb6b46cbf5d60080f2726",
"is_secret": false,
"is_verified": false,
"line_number": 537,
"type": "Secret Keyword",
"verified_result": null
}
],
"ibm/service/cdtektonpipeline/resource_ibm_cd_tekton_pipeline_trigger_property.go": [
{
"hashed_secret": "9982fcad895acdfd083f1f38a5e9b44a084e4747",
"hashed_secret": "b732fb611fd46a38e8667f9972e0cde777fbe37f",
"is_secret": false,
"is_verified": false,
"line_number": 64,
"line_number": 463,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -1674,23 +1666,23 @@
"hashed_secret": "20a25bac21219ffff1904bde871ded4027eca2f8",
"is_secret": false,
"is_verified": false,
"line_number": 2028,
"line_number": 2035,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "b732fb611fd46a38e8667f9972e0cde777fbe37f",
"is_secret": false,
"is_verified": false,
"line_number": 2047,
"line_number": 2054,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "1f5e25be9b575e9f5d39c82dfd1d9f4d73f1975c",
"is_secret": false,
"is_verified": false,
"line_number": 2319,
"line_number": 2326,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -1778,7 +1770,7 @@
"hashed_secret": "10c28f9cf0668595d45c1090a7b4a2ae98edfa58",
"is_secret": false,
"is_verified": false,
"line_number": 871,
"line_number": 917,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -2594,15 +2586,15 @@
"hashed_secret": "d47dcacc720a39e236679ac3e311a0d58bb6519e",
"is_secret": false,
"is_verified": false,
"line_number": 203,
"line_number": 190,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "e66e7d67fdf3c596c435fc7828b13205e4950a0f",
"is_secret": false,
"is_verified": false,
"line_number": 205,
"line_number": 192,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -2612,15 +2604,15 @@
"hashed_secret": "d47dcacc720a39e236679ac3e311a0d58bb6519e",
"is_secret": false,
"is_verified": false,
"line_number": 88,
"line_number": 87,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "e66e7d67fdf3c596c435fc7828b13205e4950a0f",
"is_secret": false,
"is_verified": false,
"line_number": 90,
"line_number": 89,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -2630,15 +2622,15 @@
"hashed_secret": "d47dcacc720a39e236679ac3e311a0d58bb6519e",
"is_secret": false,
"is_verified": false,
"line_number": 83,
"line_number": 79,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "e66e7d67fdf3c596c435fc7828b13205e4950a0f",
"is_secret": false,
"is_verified": false,
"line_number": 85,
"line_number": 81,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -2648,15 +2640,15 @@
"hashed_secret": "d47dcacc720a39e236679ac3e311a0d58bb6519e",
"is_secret": false,
"is_verified": false,
"line_number": 223,
"line_number": 164,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "e66e7d67fdf3c596c435fc7828b13205e4950a0f",
"is_secret": false,
"is_verified": false,
"line_number": 225,
"line_number": 166,
"type": "Secret Keyword",
"verified_result": null
}
Expand All @@ -2666,15 +2658,15 @@
"hashed_secret": "d47dcacc720a39e236679ac3e311a0d58bb6519e",
"is_secret": false,
"is_verified": false,
"line_number": 86,
"line_number": 82,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "e66e7d67fdf3c596c435fc7828b13205e4950a0f",
"is_secret": false,
"is_verified": false,
"line_number": 88,
"line_number": 84,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -3416,7 +3408,7 @@
}
]
},
"version": "0.13.1+ibm.50.dss",
"version": "0.13.1+ibm.51.dss",
"word_list": {
"file": null,
"hash": null
Expand Down
Loading

0 comments on commit 3d4a409

Please sign in to comment.