<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Function-as-a-service Archives - PHYSICS</title>
	<atom:link href="https://physics-faas.eu/tag/function-as-a-service/feed/" rel="self" type="application/rss+xml" />
	<link>https://physics-faas.eu/tag/function-as-a-service/</link>
	<description>Optimized Hybrid Space-Time Continuum in Faas</description>
	<lastBuildDate>Tue, 18 Oct 2022 08:45:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://physics-faas.eu/wp-content/uploads/2021/02/cropped-cropped-PHYSICS-logo-32x32.png</url>
	<title>Function-as-a-service Archives - PHYSICS</title>
	<link>https://physics-faas.eu/tag/function-as-a-service/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>PHYSICS Framework Agile Deployment</title>
		<link>https://physics-faas.eu/physics-framework-agile-deployment/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Tue, 18 Oct 2022 08:14:57 +0000</pubDate>
				<category><![CDATA[FaaS]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Function-as-a-service]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1419</guid>

					<description><![CDATA[<p>The PHYSICS project aims to improve and extend the Function-as-a-service model paradigm. In order to achieve this goal it is not only necessary to develop and integrate different components with each other, but there is also a clear need to do it in an agile way with the involvement of several partners.</p>
<p>The post <a href="https://physics-faas.eu/physics-framework-agile-deployment/">PHYSICS Framework Agile Deployment</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The PHYSICS project aims to improve and extend the Function-as-a-service model paradigm. In order to achieve this goal it is not only necessary to develop and integrate different components with each other, but there is also a clear need to do it in an agile way with the involvement of several partners.</p>



<p>The first relevant choice made by the PHYSICS team to achieve this goal was to follow an agile development methodology, which various partners can leverage to develop, deploy and test their own components seamlessly from the edge to the cloud.</p>



<p>The implication of this method has been incorporated into the paradigm of DevOps<a href="#_ftn1">[1]</a>, based on the CI/CD (Continuous Integratio­n/Continuous Delivery) pipeline concept. The use of such pipelines is particularly suitable in PHYSICS, since it has been conceived and designed in a cloud-native perspective, therefore with the leverage of container-based microservices architectures.</p>



<hr class="wp-block-separator"/>



<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p><em><a href="#_ftnref1">[1]</a> https://www.gartner.com/en/information-technology/glossary/devops</em></p>



<hr class="wp-block-separator"/>



<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p>The second major choice that has been done by the team was to found the orchestration of these containers on what is the de-facto market standard on this topic, namely Kubernetes<a href="#_ftn1">[1]</a>.</p>



<p>In such technological context, a development environment based on OKD<a href="#_ftn2">[2]</a> has been created, where the tools for the implementation of the CI/CD have been installed within an isolated environment (namespace). The selected tools are:</p>



<ul class="wp-block-list"><li>Gitlab<a href="#_ftn3">[3]</a>, a Git repository manager that lets developer teams collaborate on PHYSICS’s source code.</li><li>Jenkins<a href="#_ftn4">[4]</a>, the de-facto standard open-source automation server for orchestrating CI/CD workflows.</li><li>Harbor<a href="#_ftn5">[5]</a>, a popular CNCF compliant Docker registry.</li><li>OpenLDAP<a href="#_ftn6">[6]</a>, used as the single user directory for all tools, centralising authentication and simplifying management of developer accounts.</li></ul>



<hr class="wp-block-separator"/>



<div style="height:23px" aria-hidden="true" class="wp-block-spacer"></div>



<p><em><a href="#_ftnref1">[1]</a> https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/</em></p>



<p><em><a href="#_ftnref2">[2]</a> https://www.okd.io/#what-is-okd</em></p>



<p><em><a href="#_ftnref3"><sup>[3]</sup></a> Gitlab (https://about.gitlab.com/solutions/agile-delivery/)</em></p>



<p><em><a href="#_ftnref4"><sup>[4]</sup></a> Jenkins (https://www.jenkins.io/doc/)</em></p>



<p><em><a href="#_ftnref5"><sup>[5]</sup></a> Harbor (https://goharbor.io/docs/2.3.0/install-config/)</em></p>



<p><em><a href="#_ftnref6"><sup>[6]</sup></a> OpenLDAP (https://www.openldap.org/doc/admin25/)</em></p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator"/>



<div style="height:9px" aria-hidden="true" class="wp-block-spacer"></div>



<div style="height:23px" aria-hidden="true" class="wp-block-spacer"></div>



<p>The interaction between such tools and the complete actual process and steps to be followed by a project development partner is shown the picture below:</p>



<div style="height:29px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image is-style-default"><figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2022/10/image-4.png" alt="" class="wp-image-1420" width="612" height="202" srcset="https://physics-faas.eu/wp-content/uploads/2022/10/image-4.png 854w, https://physics-faas.eu/wp-content/uploads/2022/10/image-4-300x99.png 300w, https://physics-faas.eu/wp-content/uploads/2022/10/image-4-768x254.png 768w" sizes="(max-width: 612px) 100vw, 612px" /></figure></div>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Starting from step #1, when a developer pushes a new component code, Gogs invokes through a webhook a pipeline (also referred as job) configured inside Jenkins. The job builds the component, runs unit tests and, if everything has worked in a proper way, builds an updated Docker image that is pushed to Harbor. The following step deploys the updated component in the specific namespace: in fact, we have as many namespaces as the WPs (Work Packages number.</p>



<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>



<p>At the end of the process, Jenkins sends a notification to a dedicated CI/CD channel on the PHYSICS Slack<a href="#_ftn1">[1]</a> workspace, so that developers are informed that a new build occurred and whether it was successful or not. This is just a preview of what has been done in PHYSICS to create a unified development, test and deployment environment for the PHYSICS solution framework: further challenges and enhancements are ongoing, so stay tuned!</p>



<hr class="wp-block-separator"/>



<div style="height:23px" aria-hidden="true" class="wp-block-spacer"></div>



<p><em><a href="#_ftnref1"><sup>[1]</sup></a> Slack (https://slack.com/intl/en-pt/features)</em></p>
<p>The post <a href="https://physics-faas.eu/physics-framework-agile-deployment/">PHYSICS Framework Agile Deployment</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
