2016-05-17 08:36:13 +00:00
|
|
|
\section*{Agricola Release HowTo}
|
|
|
|
\subsection*{Create release branch}
|
|
|
|
A push event to a \textit{release/...} named branch will create release
|
|
|
|
candidates. These release candidates are deployed to agricola's project svn.
|
|
|
|
(\texttt{http://dabsvn01.internal.novero.com/svn/\ \\
|
|
|
|
0\_31X\_P0070\_agricola/trunk/development/software/\ \\
|
|
|
|
releases/release\_candidate/})\\
|
|
|
|
Checkout the new release branch:
|
|
|
|
\begin{lstlisting}
|
|
|
|
git checkout -b release/<release_name>
|
|
|
|
\end{lstlisting}
|
|
|
|
Prepare build variables in the \textit{variables} section of the build job
|
|
|
|
file\\(\texttt{.gitlab-ci.yml} in agricola's root directory).
|
|
|
|
\begin{lstlisting}
|
|
|
|
variables:
|
|
|
|
PRODUCT_NAME: "AG"
|
|
|
|
PRODUCT_VARIANT: "NA"
|
|
|
|
# PRODUCT_VARIANT: "EU"
|
|
|
|
# PRODUCT_VARIANT: "CN"
|
|
|
|
PROJECT_VERSION: "10"
|
|
|
|
SW_MAJOR: "1"
|
|
|
|
SW_MINOR: "2"
|
|
|
|
\end{lstlisting}
|
|
|
|
Push the new branch to the gitlab-server:
|
|
|
|
\begin{lstlisting}
|
2016-05-18 11:39:58 +00:00
|
|
|
git push --set-upstream origin release/<release_name>
|
2016-05-17 08:36:13 +00:00
|
|
|
\end{lstlisting}
|
|
|
|
\subsection*{Create release tag}
|
|
|
|
A \textit{release/174\_AG...} named tag in the agricola repository at the
|
|
|
|
gitlab server will create a release and deploys it to the agricola project
|
|
|
|
svn repository. To create the tag:
|
2016-02-20 16:48:57 +00:00
|
|
|
\begin{itemize}
|
2016-05-17 08:36:13 +00:00
|
|
|
\item go to agricola's gitlab tags section \\
|
|
|
|
(\texttt{https://novgit05.novero.com/agricola/agricola/tags})
|
|
|
|
\item Hit the \textit{+ New tag} button
|
|
|
|
\item Choose a valid tag name \textit{(release/174\_AG...)}
|
|
|
|
\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}
|
|
|
|
|