public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/1] bitbake: backport fetch2/aws: forward env-vars used in gitlab-ci K8s
@ 2023-11-24  7:50 Felix Moessbauer
  2023-11-24 13:52 ` Uladzimir Bely
  2023-11-29  9:24 ` Uladzimir Bely
  0 siblings, 2 replies; 8+ messages in thread
From: Felix Moessbauer @ 2023-11-24  7:50 UTC (permalink / raw)
  To: isar-users; +Cc: zhibin.dong, andre.bossert, wei.wh.huang, Felix Moessbauer

The patch "fetch2/aws: forward env-vars used in gitlab-ci K8s" was
accepted upstream as c534526e. We need to backport it here to have
it already until the next bitbake LTS version is released:

This patch adds the following variables to the allow-list, which are
used in the "IAM roles for AWS when using the GitLab chart":

- AWS_ROLE_ARN
- AWS_WEB_IDENTITY_TOKEN_FILE

These variables are set in the CI job environment and are needed to
access the sstate cache artifacts in a connected S3 bucket.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 bitbake/lib/bb/fetch2/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index a3140626..008adab9 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -850,6 +850,8 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH',
                      'AWS_PROFILE',
                      'AWS_ACCESS_KEY_ID',
                      'AWS_SECRET_ACCESS_KEY',
+                     'AWS_ROLE_ARN',
+                     'AWS_WEB_IDENTITY_TOKEN_FILE',
                      'AWS_DEFAULT_REGION']
 
 def get_fetcher_environment(d):
-- 
2.39.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-30  8:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-24  7:50 [PATCH 1/1] bitbake: backport fetch2/aws: forward env-vars used in gitlab-ci K8s Felix Moessbauer
2023-11-24 13:52 ` Uladzimir Bely
2023-11-24 14:00   ` Baurzhan Ismagulov
2023-11-25  8:19     ` Jan Kiszka
2023-11-29 10:11       ` Baurzhan Ismagulov
2023-11-30  2:48         ` MOESSBAUER, Felix
2023-11-30  8:45           ` Baurzhan Ismagulov
2023-11-29  9:24 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox