Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 98ed0367cc |
@@ -25,30 +25,6 @@ jobs:
|
|||||||
- name: Check out the triggering commit
|
- name: Check out the triggering commit
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Generate build metadata
|
|
||||||
working-directory: manual
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
BUILD_NUMBER: ${{ github.run_number }}
|
|
||||||
run: |
|
|
||||||
MANUAL_VERSION="v1.4"
|
|
||||||
SHORT_SHA="${GIT_COMMIT:0:7}"
|
|
||||||
BUILD_ID="${MANUAL_VERSION}+build.${BUILD_NUMBER}.${SHORT_SHA}"
|
|
||||||
|
|
||||||
cat > build-metadata.tex <<EOF
|
|
||||||
\newcommand{\ManualVersion}{${MANUAL_VERSION}}
|
|
||||||
\newcommand{\BuildIdentifier}{${BUILD_ID}}
|
|
||||||
\newcommand{\BuildCommit}{${GIT_COMMIT}}
|
|
||||||
\newcommand{\BuildRunNumber}{${BUILD_NUMBER}}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat >> build-metadata.tex <<'EOF'
|
|
||||||
\noindent\textbf{Manual version:} \ManualVersion\\
|
|
||||||
\textbf{Build identifier:} \BuildIdentifier\\
|
|
||||||
\textbf{Commit hash:} \BuildCommit\\
|
|
||||||
\textbf{Gitea Actions run:} \BuildRunNumber
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Record build identity and toolchain
|
- name: Record build identity and toolchain
|
||||||
run: |
|
run: |
|
||||||
SHORT_SHA="${GITHUB_SHA::7}"
|
SHORT_SHA="${GITHUB_SHA::7}"
|
||||||
@@ -75,7 +51,7 @@ jobs:
|
|||||||
ls -l devopsAssignment.pdf
|
ls -l devopsAssignment.pdf
|
||||||
|
|
||||||
- name: Upload the PDF as an artifact
|
- name: Upload the PDF as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: it-manual-build-${{ github.run_number }}-${{ env.SHORT_SHA }}
|
name: it-manual-build-${{ github.run_number }}-${{ env.SHORT_SHA }}
|
||||||
path: manual/devopsAssignment.pdf
|
path: manual/devopsAssignment.pdf
|
||||||
|
|||||||
Vendored
-27
@@ -1,27 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
|
|
||||||
options {
|
|
||||||
skipDefaultCheckout()
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Checkout') {
|
|
||||||
steps {
|
|
||||||
checkout scm
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Syntax check') {
|
|
||||||
steps {
|
|
||||||
sh 'python3 -m py_compile pricing.py'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Test') {
|
|
||||||
steps {
|
|
||||||
sh 'python3 -m unittest discover -s tests -v'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -3,5 +3,3 @@
|
|||||||
This Repo is here to act as Group 8's repo for the SSW590 course
|
This Repo is here to act as Group 8's repo for the SSW590 course
|
||||||
|
|
||||||
In the 10/2 assignment, we added a domain, reverse proxy, https, and created our repo in Gitea
|
In the 10/2 assignment, we added a domain, reverse proxy, https, and created our repo in Gitea
|
||||||
|
|
||||||
In the 10/10 assignment, we added an automation workflow for compiling a LaTeX artifact upon git pushes
|
|
||||||
+10
-16
@@ -8,24 +8,18 @@ FROM texlive/texlive:TL2025-historic
|
|||||||
# The workflow's actions (checkout, upload-artifact) are JavaScript actions and
|
# The workflow's actions (checkout, upload-artifact) are JavaScript actions and
|
||||||
# need Node.js inside the job container; git lets checkout do a real clone.
|
# need Node.js inside the job container; git lets checkout do a real clone.
|
||||||
# Packages come from the image's own Debian repositories -- no downloaded scripts.
|
# Packages come from the image's own Debian repositories -- no downloaded scripts.
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
nodejs git ca-certificates python3 python3-pip python3-venv curl \
|
nodejs \
|
||||||
|
git \
|
||||||
|
ca-certificates \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-venv \
|
||||||
&& python3 -m venv /opt/latex-venv \
|
&& python3 -m venv /opt/latex-venv \
|
||||||
&& /opt/latex-venv/bin/pip install --upgrade pip \
|
&& /opt/latex-venv/bin/pip install --no-cache-dir latexminted Pygments \
|
||||||
&& /opt/latex-venv/bin/pip install --upgrade latexminted==0.7.1 Pygments \
|
&& ln -s /opt/latex-venv/bin/latexminted /usr/local/bin/latexminted \
|
||||||
&& mkdir -p /tmp/minted-src /usr/local/share/texmf/tex/latex/minted \
|
&& ln -s /opt/latex-venv/bin/pygmentize /usr/local/bin/pygmentize \
|
||||||
&& curl -fsSL https://mirrors.ctan.org/macros/latex/contrib/minted/minted.dtx \
|
|
||||||
-o /tmp/minted-src/minted.dtx \
|
|
||||||
&& curl -fsSL https://mirrors.ctan.org/macros/latex/contrib/minted/minted.ins \
|
|
||||||
-o /tmp/minted-src/minted.ins \
|
|
||||||
&& cd /tmp/minted-src \
|
|
||||||
&& latex minted.ins \
|
|
||||||
&& cp minted.sty /usr/local/texlive/2025/texmf-dist/tex/latex/minted/minted.sty \
|
|
||||||
&& mktexlsr \
|
|
||||||
&& rm -rf /tmp/minted-src \
|
|
||||||
&& mktexlsr \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV PATH="/opt/latex-venv/bin:/usr/local/bin:${PATH}"
|
ENV PATH="/opt/latex-venv/bin:${PATH}"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
% This file acts as the entry point for AI
|
|
||||||
\chapter{AI Agent Usage Guide}
|
\chapter{AI Agent Usage Guide}
|
||||||
\ChapterLabel{AIAgentGuide}
|
\ChapterLabel{AIAgentGuide}
|
||||||
\index{AI agent}
|
\index{AI agent}
|
||||||
|
|||||||
@@ -40,10 +40,10 @@
|
|||||||
\newcommand{\CourseName}{DevOps}
|
\newcommand{\CourseName}{DevOps}
|
||||||
\newcommand{\Instructor}{Samah Keshiro and Kayla Holmes}
|
\newcommand{\Instructor}{Samah Keshiro and Kayla Holmes}
|
||||||
\newcommand{\Organization}{Stevens Institute of Technology}
|
\newcommand{\Organization}{Stevens Institute of Technology}
|
||||||
\newcommand{\DocumentDate}{10/10/26}
|
\newcommand{\DocumentDate}{10/02/26}
|
||||||
\newcommand{\DueDate}{[Due Date and Time]}
|
\newcommand{\DueDate}{[Due Date and Time]}
|
||||||
\newcommand{\VERSION}{Version 1.4}
|
\newcommand{\VERSION}{Version 1.3}
|
||||||
\newcommand{\AssignmentNumber}{5}
|
\newcommand{\AssignmentNumber}{2}
|
||||||
|
|
||||||
\newcolumntype{Y}{>{\raggedright\arraybackslash}X}
|
\newcolumntype{Y}{>{\raggedright\arraybackslash}X}
|
||||||
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
|
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
|
||||||
@@ -104,14 +104,6 @@
|
|||||||
\singlespacing
|
\singlespacing
|
||||||
\include{prologue}
|
\include{prologue}
|
||||||
|
|
||||||
% Display build metadata generated by Gitea Actions.
|
|
||||||
\IfFileExists{build-metadata.tex}{
|
|
||||||
\input{build-metadata.tex}
|
|
||||||
}{
|
|
||||||
\textit{Build metadata is available in automated builds.}
|
|
||||||
}
|
|
||||||
|
|
||||||
% Adds in variables for title page
|
|
||||||
\setcounter{page}{1}
|
\setcounter{page}{1}
|
||||||
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
||||||
\pagestyle{fancy}
|
\pagestyle{fancy}
|
||||||
|
|||||||
Reference in New Issue
Block a user