Skip to content
Commits on Source (2)
  • Dirk Brömmel's avatar
    Limit CI to simple test · 854c5a81
    Dirk Brömmel authored
    Removing attempt to push the updated `example.pdf` to the repository.
    Any credentials can be leaked via a change to `.gitlab-ci.yml`, so I
    don't think this can be done in a safe way.
    854c5a81
  • Dirk Brömmel's avatar
    Align with latest WORD template · 490e2fe0
    Dirk Brömmel authored
    Spacing before/after heading adjusted.
    Ordering of References/Acknowledgements changed.
    490e2fe0
stages:
- build
- deploy
build-example:
stage: build
......@@ -16,30 +15,3 @@ build-example:
when: on_success
paths:
- example/example.pdf
deploy-pdf:
stage: deploy
dependencies:
- build-example
tags:
- docker
image: blang/latex:ubuntu
before_script:
# I assume for this to work, I need to set up those variables in the repo
# This is likely not a good idea, adding access tokens...
# (they can easily leak with a change to .gitlab-ci.yml)
# https://forum.gitlab.com/t/is-it-possible-to-commit-artifacts-into-the-git/22218/6
- echo "${CI_ACCESS_TOKEN}"
- echo "${CI_EMAIL}"
- echo "${CI_USERNAME}"
- echo "${CI_COMMIT_SHORT_SHA}"
- echo "${CI_PROJECT_PATH}.git"
- echo "${CI_COMMIT_REF_NAME}"
script:
- ls
- git config --global user.email "${CI_EMAIL}"
- git config --global user.name "${CI_USERNAME}"
- git add example/example.pdf
- git commit -m "Compiled PDF from $CI_COMMIT_SHORT_SHA [skip ci]" || echo "No changes, nothing to commit!"
- git remote rm origin && git remote add origin https://repository.prace-ri.eu/git/${CI_PROJECT_PATH}
# - git push origin HEAD:$CI_COMMIT_REF_NAME # Pushes to the same branch as the trigger
No preview for this file type
......@@ -238,14 +238,6 @@ consequat vehicula. Morbi lacus velit, tristique ut iaculis volutpat in velit.
Duis nec mauris et velit mollis aliquam, nullam posuere. Mauris at turpis sit
amet dui imperdiet lobortis, proin eu felis.
\section*{Acknowledgements}
This work was financially supported by the PRACE project funded in part
by the EU’s Horizon 2020 Research and Innovation programme (2014-2020)
under grant agreement 823767.
The work was achieved using the PRACE Research Infrastructure resources at
the CURIE (GENCI), the FERMI (CINECA), and the SuperMUC (LRZ)
supercomputers.
% REFERENCE LIST
\begin{thebibliography}{99}
......@@ -264,6 +256,14 @@ D.L. Eaton, Porous Glass Support Material, US Patent No. 3 904 422 (1975).
\end{thebibliography}
\section*{Acknowledgements}
This work was financially supported by the PRACE project funded in part
by the EU’s Horizon 2020 Research and Innovation programme (2014-2020)
under grant agreement 823767.
The work was achieved using the PRACE Research Infrastructure resources at
the CURIE (GENCI), the FERMI (CINECA), and the SuperMUC (LRZ)
supercomputers.
%%% PRACE GENERIC LAYOUT; DO NOT CHANGE %%%
\end{document}
%%% END OF PRACE GENERIC LAYOUT %%%
......@@ -187,16 +187,16 @@
% section heading formats
\def\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{-3.0ex \@plus -.8ex \@minus -.2ex}% beforeskip, corresponding to 18pt in total
{3.3ex \@plus.7ex}% afterskip, corresponding to 18pt in total
{\normalfont\normalsize\bfseries}}
\def\subsection{\@startsection{subsection}{2}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{-3.0ex \@plus -.8ex \@minus -.2ex}% beforeskip, corresponding to 18pt in total
{2.0ex \@plus.67ex}% afterskip, corresponding to 12pt in total
{\normalfont\normalsize\itshape}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{-1.67ex \@plus -.8ex \@minus -.2ex}% beforeskip, corresponding to 12pt in total
{2.0ex \@plus.67ex}% afterskip, corresponding to 12pt in total
{\normalfont\normalsize\itshape}}
% redefine section, figure etc. format
\def\thesection {\arabic{section}.}
......
......@@ -234,17 +234,6 @@
\label{}
\end{equation}
% ACKNOWLEDGEMENTS
% - additional acknowledgements may be added
% - names of PRACE machines and the corresponding sites and countries
% should be inserted to end of the general PRACE acknowledgement
\section*{Acknowledgements}
This work was financially supported by the PRACE project funded in part
by the EU’s Horizon 2020 Research and Innovation programme (2014-2020)
under grant agreement 823767.
The work was achieved using the PRACE Research Infrastructure resources at
[insert here machine names and the corresponding sites and countries].
% REFERENCE LIST
% - use \thebibliography and \bibitems to enter references, no separate .bib
% files
......@@ -271,6 +260,17 @@ The work was achieved using the PRACE Research Infrastructure resources at
\bibitem{}
\end{thebibliography}
% ACKNOWLEDGEMENTS
% - additional acknowledgements may be added
% - names of PRACE machines and the corresponding sites and countries
% should be inserted to end of the general PRACE acknowledgement
\section*{Acknowledgements}
This work was financially supported by the PRACE project funded in part
by the EU’s Horizon 2020 Research and Innovation programme (2014-2020)
under grant agreement 823767.
The work was achieved using the PRACE Research Infrastructure resources at
[insert here machine names and the corresponding sites and countries].
%%% PRACE GENERIC LAYOUT; DO NOT CHANGE %%%
\end{document}
%%% END OF PRACE GENERIC LAYOUT %%%