Hemanth Mantri
9cb07a5490
[CI-13182]: Use snapshot-mode instead of snapshotMode
...
The kaniko flag `snapshotMode` is deprecated in favor of `snapshot-mode`. The default value of `snapshot-mode` is `full`. As a result, the `optimize` flag set in Harness CI's `BuildAndPushToDocker` steps doesn't behave as expected because the `full` mode triggers a full filesystem scan which is slow. The `optimize` flag in Harness translates to `snapshot-mode=redo` which means only filesystem deltas are compared which is much faster.
This change fixes the flag name being sent to Kaniko executor. I verified that the executor present in the current version already supports this flag as shown below:
```
hemanthkumarmantri@Hemanth Kumar harness-core % docker run -it --entrypoint /kaniko/executor plugins/kaniko:1.8.10 --help | grep snapshot-mode
--snapshot-mode string Change the file attributes inspected during snapshotting (default "full")
--snapshotMode string This flag is deprecated. Please use '--snapshot-mode'.
```
2024-06-26 20:02:16 -07:00
Abhay
20525e5403
feat: [CI-10849]: add git-leaks support ( #113 )
...
* feat: [CI-10849]: add git-leaks support
* correct reference
2024-05-10 12:38:31 +01:00
Aishwarya Lad
04885c8ec8
fix tests ( #117 )
v1.8.10
2024-05-01 15:14:04 -04:00
Aishwarya Lad
e4a0486a6e
modify base image registry variable ( #116 )
...
* modify base image registry variable
* adding instead of modifying
* adding instead of modifying
v1.8.9
2024-04-29 14:26:31 -04:00
Aishwarya Lad
7b442a53ff
Modify docker config to add base connector ( #115 )
...
* add config for base connector
* fix permissions code
* add gar step support
* add gar step support
* reformat code, add support for gar and acr
* remove logs
* address review comments
* delete bin file
2024-04-26 15:54:08 -04:00
Abhay
f224543240
fix: [CI-11358]: fix kaniko executor Vulnerabilities ( #114 )
2024-03-20 12:57:59 +05:30
rahkumar56
910bcb89c2
Update GO Version to latest version in all the files ( #112 )
2024-03-05 23:15:25 +05:30
Soumyajit Das
44ccf5a7c6
fix: [CI-10165]: Add additional kaniko args ( #102 )
...
* fix: [CI-10165]: Add additional kaniko args
* fix: [CI-10165]: support additional kaniko args
* fix: [CI-10165]: Add bool parse logic
2024-02-06 15:22:31 +05:30
Rojan Dinc
f8c678fcde
Revert "fix: [CI-10165]: support additional kaniko args from PLUGIN_ env vars ( #93 )" ( #99 )
...
This reverts commit 20c593c3e7 .
1.8.7
2024-01-30 21:33:04 +05:30
Soumyajit Das
20c593c3e7
fix: [CI-10165]: support additional kaniko args from PLUGIN_ env vars ( #93 )
v1.8.6
2024-01-30 12:31:18 +05:30
Vistaar Juneja
c2f00d6d86
follow next link for azure subscriptions API ( #94 )
v1.8.5
2024-01-25 09:35:14 +00:00
Soumyajit Das
467287429a
fix: [CI-10908]: added kaniko 1.19.2 suport for dockerignore ( #92 )
v1.8.4
2024-01-12 16:17:51 +05:30
Vistaar Juneja
65cd3884f1
add validations on response from /subscriptions API in ACR ( #91 )
v1.8.3
2024-01-10 10:48:31 +00:00
Eoin McAfee
5df1d55e7f
Split out gcr and gar ( #88 )
...
* seperate out gcr and gar
v1.8.2
2023-11-23 09:26:55 +00:00
Abhay
3181dc066f
[fix]: [ci-9254]: go version upgrade to 1.21 ( #86 )
v1.8.1
v1.8.0
2023-09-13 14:55:14 +05:30
Aman Singh
a26a84a1fe
Revert "fix: [CI-8113]: added kaniko 1.9.2 support ( #83 )" ( #84 )
...
This reverts commit cd3745b3ca .
v1.7.5
2023-06-01 10:28:40 +05:30
Aman Singh
cd3745b3ca
fix: [CI-8113]: added kaniko 1.9.2 support ( #83 )
...
* fix: [CI-8113]: added kaniko 1.9.2 support
* fix: [CI-8113]: added kaniko 1.9.2 support
v1.7.4
2023-05-24 15:52:18 +05:30
Dan Home
13a217a4af
ECR: Add assume-role support for create-repository, *-policy ( #79 )
...
* ECR: Add assume-role support for create-repository, *-policy
* Rearrange imports
2023-05-19 16:55:09 +01:00
Aman Singh
481ee9f624
incremented-drone-version ( #82 )
v1.7.3
2023-05-17 13:06:17 +05:30
Karl Trygve Kalleberg
0dee97e338
Expose tar_path command line option from Kaniko ( #78 )
1.7.2
2023-04-03 09:47:53 +01:00
Raghav
ed6f3c5bf4
Add output variable support ( #77 )
...
* add digest as output variable for kaniko plugin
2023-03-16 10:03:59 +00:00
Raghav
4893b5b945
add support for docker complaint registries for base image ( #74 )
v1.7.1
2023-02-23 11:38:53 +05:30
Soumyajit Das
447ee28867
fix: [CI-6505]: Upgrade kanoko version for all ( #71 )
v1.7.0
2023-01-17 13:00:11 +05:30
Soumyajit Das
9c90e58a2d
fix: [CI-6412]: Error message Refinement ( #70 )
v1.6.11
2023-01-04 11:13:01 +05:30
Shubham Agrawal
d998c00a4b
Add v1.9.1 kaniko image support ( #69 )
2022-12-02 15:43:35 +05:30
Aman Singh
2f55e25020
Merge pull request #68 from drone/aman/rename-config
...
fixed config-name for PLUGIN_CONFIG
v1.6.10
2022-11-10 12:28:26 +05:30
Aman Singh
f3544ce6ee
renamed docker config
2022-11-09 18:02:22 +05:30
Aman Singh
e4cd992d8d
renamed docker config
2022-11-08 16:21:45 +05:30
Aman Singh
d457df687d
renamed docker config
2022-11-08 15:05:26 +05:30
Aman Singh
4820b6af00
renamed docker config
2022-11-08 15:01:52 +05:30
Aman Singh
3717723366
fixed config-name for PLUGIN_CONFIG
2022-11-08 12:32:12 +05:30
Aman Singh
be3bf8ad1e
Merge pull request #67 from drone/aman/fix-config
...
added config for providing docker config
v1.6.9
2022-11-07 17:12:56 +05:30
Aman Singh
15255d3520
added comments
2022-11-07 17:07:26 +05:30
Aman Singh
6ba0eb58c3
added config for providing docker config
2022-11-07 14:21:40 +05:30
Aman Singh
17e907c7cf
Merge pull request #66 from drone/aman/fix-docker-plugin
...
Added option to use overriden docker config
v1.6.8
2022-11-04 19:57:58 +05:30
Aman Singh
190fbefe91
config override
2022-11-04 19:50:04 +05:30
Aman Singh
48f6e72954
config override
2022-11-04 19:49:25 +05:30
Aman Singh
1bee1629c2
added option to use overriden docker config
2022-11-04 19:48:03 +05:30
Kyle Lemons
2d0315e6bb
Add beta testcase for clarity, coverage, and regression prevention ( #64 )
2022-11-03 19:05:06 +05:30
Aman Singh
34cfbdfbd5
Merge pull request #65 from aman-harness/aman/acr-artifact
...
fixed public url in code for acr
v1.6.7
2022-11-03 16:53:33 +05:30
Aman Singh
d11c254840
fixed test
2022-11-02 17:12:34 +05:30
Aman Singh
7d751135b1
fixed url
2022-11-02 16:20:54 +05:30
Aman Singh
54f2fe097a
fixed url
2022-11-02 16:17:23 +05:30
Aman Singh
9c899979ff
fixed url
2022-11-02 16:09:57 +05:30
Aman Singh
6ac1efad25
fixed url
2022-11-02 15:58:40 +05:30
Aman Singh
128a2d77c0
fixed minor changes
2022-11-02 12:36:19 +05:30
Aman Singh
69e789b294
removed prints statements
2022-11-02 12:23:26 +05:30
Aman Singh
000711c7f1
fixed public url in code for acr
2022-11-02 11:50:39 +05:30
Jamie Li
864a7e5319
Fix manifest of ACR ( #62 )
v1.6.6
2022-08-18 11:52:19 +05:30
Jamie Li
1c34458f6c
Add arm stage as a depends_on for manifest stages ( #61 )
v1.6.5
2022-08-17 11:54:11 +05:30