Moved pipeline to actions

This commit is contained in:
Oscar Blue 2023-10-29 12:35:57 +00:00
parent 6ab62ff389
commit eadaa5a055
10 changed files with 54 additions and 27 deletions

View file

@ -0,0 +1,20 @@
on: [push]
jobs:
build:
runs-on: docker
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
uses: https://github.com/xu-cheng/latex-action@v3
with:
root_file: main.tex
latexmk_use_lualatex: true
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: CV
path: main.pdf

View file

@ -1,19 +0,0 @@
branches:
include: [main]
pipeline:
generate-pdf:
image: git.oscar.blue/noble/lualatex:latest
commands: lualatex --output-format=pdf cv.tex
publish:
when:
event: tag
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://git.oscar.blue
files:
- "cv.pdf"
api_key:
from_secret: GITEA_ACCESS_TOKEN
target: main

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
# Use a minimal base image
FROM alpine:latest
# Install necessary packages
RUN apk update && apk add --no-cache \
texlive-full \
ghostscript
# Set the working directory
WORKDIR /tmp
# RUN lualatex --output-format=pdf cv.tex
# Specify the entrypoint
ENTRYPOINT ["lualatex", "--output-format=pdf"]
CMD ["cv.tex"]

BIN
cv.pdf

Binary file not shown.

4
makefile Normal file
View file

@ -0,0 +1,4 @@
pdf:
docker run -v ./:/tmp git.oscar.blue/noble/lualatex
clean:
rm -f cv.aux cv.fdb_latexmk cv.fls cv.log cv.out missfont.log

View file

@ -3,3 +3,5 @@
\cert{Microsoft Certified: Azure Administrator Associate}{Microsoft}{Sep 2021} \cert{Microsoft Certified: Azure Administrator Associate}{Microsoft}{Sep 2021}
\vspace{-0.5em} \vspace{-0.5em}
\cert{Microsoft Certified: Azure Fundamentals}{Microsoft}{Apr 2021} \cert{Microsoft Certified: Azure Fundamentals}{Microsoft}{Apr 2021}
\vspace{-0.5em}
\cert{AWS Certified Cloud Practitioner}{Amazon Web Services}{Nov 2022}

View file

@ -1,6 +1,5 @@
% Aberystwyth University % Aberystwyth University
%\uni{Aberystwyth University}{Sep 2018--Present}{BSC Computer Science (with integrated year in industry) [G401], (Exp. {\fontfamily{cmr}\selectfont I})} \uni{Aberystwyth University}{Sep 2018--Jun 2022}{BSC Computer Science (with integrated year in industry) [G401]: 1\textsuperscript{st}} Class Honours
\uni{Aberystwyth University}{Sep 2018--Present}{BSC Computer Science (with integrated year in industry) [G401]: 1\textsuperscript{st}}
\textit{Including the following modules:} \textit{Including the following modules:}
\begin{itemize*} \begin{itemize*}
\item System and Network Services Administration (77\%) \item System and Network Services Administration (77\%)
@ -13,7 +12,7 @@
% Uckfield College % Uckfield College
\college{Uckfield College}{Sep 2011--June 2018}{ \college{Uckfield College}{Sep 2011--June 2018}{
\begin{tabular}{@{}l l} \begin{tabular}{@{}l l}
{A-Level}: & French: B, Maths: C, Physics: D\\ {A-Level}: & French, Maths, Physics\\
{GCSE}: & 11 A*-C including Maths, English and Computing {GCSE}: & 11 A*-C including Maths, English and Computing
\end{tabular} \end{tabular}
} }

View file

@ -1,4 +1,4 @@
\textbf{Technologies:} Ansible, Apache, Azure, Azure DevOps, Docker, GCP, Git, Grafana, KVM, Nginx, Prometheus, Terraform\\ \textbf{Technologies:} Ansible, Apache, AWS, Azure, Azure DevOps, Docker, GCP, Git, Grafana, KVM, Nginx, Prometheus, Terraform\\
\vspace{0.25\baselineskip} % Whitespace before the section title \vspace{0.25\baselineskip} % Whitespace before the section title
\textbf{Operating Systems:}\\ \textbf{Operating Systems:}\\
\begin{tabular}{@{}ll} \begin{tabular}{@{}ll}

View file

@ -1,5 +1,10 @@
\work{Cloud Egnineer}{NTT DATA UK\&I}{London, UK}{Aug 2022--Present}
\begin{workitems}
\item Deployed managed services on \textbf{Azure} using \textbf{Terraform}
\item Worked as part of a team following \textbf{Agile} methods with the aid of \textbf{Azure DevOps}
\end{workitems}
% 03/11/2021 - 29/04/2021 % 03/11/2021 - 29/04/2021
\work{Demonstrator}{Aberystwyth University}{Aberystwyth, UK}{Nov 2021--Present} \work{Demonstrator}{Aberystwyth University}{Aberystwyth, UK}{Nov 2021--Apr 2022}
\begin{workitems} \begin{workitems}
\item Demonstrating for: \item Demonstrating for:
\begin{workitems} \begin{workitems}
@ -12,7 +17,7 @@
\item Solving unexpected problems that prevent students from completing the practical \item Solving unexpected problems that prevent students from completing the practical
\end{workitems} \end{workitems}
% 05/10/20 - 26/08/21 % 05/10/20 - 26/08/21
\work{Cloud Engineer}{NTT DATA UK}{Birmingham, UK}{Oct 2020--Aug 2021} \work{Cloud Engineer}{NTT DATA UK\&I}{Birmingham, UK}{Oct 2020--Aug 2021}
\begin{workitems} \begin{workitems}
\item Deployed managed services on \textbf{Azure} using \textbf{Terraform} \item Deployed managed services on \textbf{Azure} using \textbf{Terraform}
\item Wrote high/low-level design and architecture documents \item Wrote high/low-level design and architecture documents

View file

@ -1,6 +1,6 @@
\begin{center} \begin{center}
\begin{tabular}{c c c c c} \begin{tabular}{c c c c}
\footnotesize{{\faMapMarker} London, UK} & \footnotesize{\href{mailto:work@oscarpo.co}{{\faEnvelope} work@oscarpo.co}} & \footnotesize{\href{https://git.oscar.blue/noble}{{\iconGitea} git.oscar.blue/noble}} & \footnotesize{\href{https://gitlab.com/oscarpocock}{{\faGitlab} gitlab.com/oscarpocock}} & \footnotesize{\href{https://linkedin.com/in/oscarpocock}{\textsc{\faLinkedin} linkedin.com/in/oscarpocock}} \footnotesize{{\faMapMarker} London, UK} & \footnotesize{\href{mailto:work@oscarpo.co}{{\faEnvelope} work@oscarpo.co}} & \footnotesize{\href{https://oscar.blue/git}{{\faCodeFork} oscar.blue/git}} & \footnotesize{\href{https://linkedin.com/in/oscarpocock}{\textsc{\faLinkedin} linkedin.com/in/oscarpocock}}
\end{tabular} \end{tabular}
\end{center} \end{center}