All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] CI: define DEFAULT_TAG and CPU_REQUEST
@ 2022-12-15 15:24 Jon Mason
  2022-12-16 14:12 ` Jon Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Mason @ 2022-12-15 15:24 UTC (permalink / raw)
  To: meta-arm

DEFAULT_TAG and CPU_REQUEST are being used to help with internal Gitlab
pipeline setups know which type of machines to run on, but has no value
outside of Arm Corp.  Gitlab CI allows for variables to be overridden
by default.  So, we can give it a default value of NULL/empty and have
everything work internally and externally by default.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ee42315..cc5710c2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,10 @@
 image: ghcr.io/siemens/kas/kas:latest-release
 
-# These are needed as the k8s executor doesn't respect the container entrypoint
-# by default
 variables:
+  CPU_REQUEST: ""
+  DEFAULT_TAG: ""
+  # These are needed as the k8s executor doesn't respect the container entrypoint
+  # by default
   FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY: 0
   FF_KUBERNETES_HONOR_ENTRYPOINT: 1
 
-- 
2.17.1



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

* Re: [PATCH v2] CI: define DEFAULT_TAG and CPU_REQUEST
  2022-12-15 15:24 [PATCH v2] CI: define DEFAULT_TAG and CPU_REQUEST Jon Mason
@ 2022-12-16 14:12 ` Jon Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2022-12-16 14:12 UTC (permalink / raw)
  To: meta-arm, Jon Mason

On Thu, 15 Dec 2022 10:24:15 -0500, Jon Mason wrote:
> DEFAULT_TAG and CPU_REQUEST are being used to help with internal Gitlab
> pipeline setups know which type of machines to run on, but has no value
> outside of Arm Corp.  Gitlab CI allows for variables to be overridden
> by default.  So, we can give it a default value of NULL/empty and have
> everything work internally and externally by default.

Applied, thanks!

[1/1] CI: define DEFAULT_TAG and CPU_REQUEST
      commit: c32c4043ff6fade1ec96ce1381512fbf7ce771e5

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


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

end of thread, other threads:[~2022-12-16 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-15 15:24 [PATCH v2] CI: define DEFAULT_TAG and CPU_REQUEST Jon Mason
2022-12-16 14:12 ` Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.