2016-12-08 12:16:15 +00:00
|
|
|
\section*{Pike Blue Release HowTo}
|
|
|
|
\subsection*{Internal release}
|
2016-05-17 08:36:13 +00:00
|
|
|
A push event to a \textit{release/...} named branch will create release
|
2016-12-08 12:16:15 +00:00
|
|
|
candidates. These release candidates are deployed to the pike blue project svn
|
|
|
|
repository (\texttt{http://dabsvn01.internal.novero.com/svn/\ \\
|
|
|
|
0\_31X\_P0610\_pike\_blue/trunk/development/software/\ \\
|
|
|
|
releases/release\_candidate/}).\\
|
|
|
|
The branch can be created eiter by gitlab ui or locally.
|
|
|
|
\subsubsection*{Local}
|
2016-05-17 08:36:13 +00:00
|
|
|
Checkout the new release branch:
|
2016-12-08 12:16:15 +00:00
|
|
|
\lstsetbash
|
2016-05-17 08:36:13 +00:00
|
|
|
\begin{lstlisting}
|
|
|
|
git checkout -b release/<release_name>
|
|
|
|
\end{lstlisting}
|
|
|
|
Prepare build variables in the \textit{variables} section of the build job
|
2016-12-08 12:16:15 +00:00
|
|
|
file\\(\texttt{.gitlab-ci.yml} in pike blue's root directory).
|
2016-05-17 08:36:13 +00:00
|
|
|
\begin{lstlisting}
|
|
|
|
variables:
|
2016-12-08 12:16:15 +00:00
|
|
|
PRODUCT_NAME: "PI"
|
|
|
|
PRODUCT_VARIANT: "CX"
|
|
|
|
PROJECT_VERSION: "20"
|
2016-05-17 08:36:13 +00:00
|
|
|
SW_MAJOR: "1"
|
2016-12-08 12:16:15 +00:00
|
|
|
SW_MINOR: "0"
|
2016-05-17 08:36:13 +00:00
|
|
|
\end{lstlisting}
|
|
|
|
Push the new branch to the gitlab-server:
|
|
|
|
\begin{lstlisting}
|
2016-12-08 12:16:15 +00:00
|
|
|
git push -u origin release/<release_name>
|
2016-05-17 08:36:13 +00:00
|
|
|
\end{lstlisting}
|
2016-12-08 12:16:15 +00:00
|
|
|
\subsection*{External release}
|
|
|
|
A \textit{release/\_PI\_CX\_20...} named tag in the pike blue repository at the
|
|
|
|
gitlab server will create a release and deploys it to the pike blue project
|
|
|
|
svn repository (\texttt{http://dabsvn01.internal.novero.com/svn/\ \\
|
|
|
|
0\_31X\_P0610\_pike\_blue/trunk/development/software/\ \\
|
|
|
|
releases/release/}).\\
|
|
|
|
The tag can be created eiter by gitlab ui or locally.
|
|
|
|
\subsubsection{Gitlab UI}
|
|
|
|
To create the tag:
|
2016-02-20 16:48:57 +00:00
|
|
|
\begin{itemize}
|
2016-12-08 12:16:15 +00:00
|
|
|
\item go to the pike blue gitlab tags section \\
|
|
|
|
(\texttt{https://novgit05.novero.com/Pike/Blue/tags})
|
2016-05-17 08:36:13 +00:00
|
|
|
\item Hit the \textit{+ New tag} button
|
2016-12-08 12:16:15 +00:00
|
|
|
\item Choose a valid tag name \textit{(release/PI\_CX\_20...)}
|
2016-05-17 08:36:13 +00:00
|
|
|
\item Choose the above created release branch as source for the new tag.
|
|
|
|
\item Hit the \textit{Create tag} button
|
2016-02-20 16:48:57 +00:00
|
|
|
\end{itemize}
|
|
|
|
|