Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Book
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MUDE
Book
Merge requests
!407
Update 2 files
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update 2 files
main
into
release
Overview
0
Commits
15
Pipelines
16
Changes
2
Merged
Kwangjin Lee
requested to merge
main
into
release
3 months ago
Overview
0
Commits
15
Pipelines
16
Changes
1
Expand
/.gitlab-ci.yml
/book/intro.md
0
0
Merge request reports
Compare
version 2
version 12
b1217152
3 months ago
version 11
f81a44a6
3 months ago
version 10
1a552274
3 months ago
version 9
1ddc76ce
3 months ago
version 8
35aab0d1
3 months ago
version 7
420affdf
3 months ago
version 6
59782752
3 months ago
version 5
b2ab56f5
3 months ago
version 4
4464525f
3 months ago
version 3
5b2e7c34
3 months ago
version 2
861c4f7a
3 months ago
version 1
e9c463fa
3 months ago
release (base)
and
version 3
latest version
f27883cb
15 commits,
3 months ago
version 12
b1217152
14 commits,
3 months ago
version 11
f81a44a6
13 commits,
3 months ago
version 10
1a552274
12 commits,
3 months ago
version 9
1ddc76ce
11 commits,
3 months ago
version 8
35aab0d1
10 commits,
3 months ago
version 7
420affdf
9 commits,
3 months ago
version 6
59782752
8 commits,
3 months ago
version 5
b2ab56f5
7 commits,
3 months ago
version 4
4464525f
6 commits,
3 months ago
version 3
5b2e7c34
5 commits,
3 months ago
version 2
861c4f7a
4 commits,
3 months ago
version 1
e9c463fa
3 commits,
3 months ago
Show latest version
1 file
+
29
−
29
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
29
−
29
Options
@@ -24,7 +24,7 @@ before_script:
build-book
:
stage
:
build
script
:
# Build logic
# Build logic
remains same
-
|
if [ "$CI_COMMIT_BRANCH" == "release" ]; then
echo "Building production version"
@@ -35,50 +35,50 @@ build-book:
fi
# Size debugging
-
echo "Initial directory sizes:" | tee -a build_debug.log
-
du -sh book/_build/* | tee -a build_debug.log
-
find book/_build -type f -size +5M -exec ls -lh {} \; | tee -a build_debug.log
-
echo "Initial directory sizes:"
-
du -sh book/_build/* | tee build_debug.log
-
echo "Files larger than 5MB:"
-
find book/_build -type f -size +5M -exec ls -lh {} \; >> build_debug.log
-
echo $CI_JOB_ID > build_job_id.txt
artifacts
:
paths
:
-
book/_build/html/**
-
book/_build/jupyter_execute/**/*.html
# HTML and static content
-
book/_build/html/**/*.html
-
book/_build/html/**/*.css
-
book/_build/html/**/*.js
-
book/_build/html/_images/**
-
book/_build/html/_static/**
-
book/_build/html/_custom_downloads/**
# Keep core JavaScript functionality
-
book/_build/html/_static/index.js
-
book/_build/html/_static/jquery.js
-
book/_build/html/_static/underscore.js
# Build logs and ID
-
book/_build/*.log
-
build_job_id.txt
-
build_debug.log
-
stdout.log
-
stderr.log
-
build_debug.log
exclude
:
# Build cache and temp files
# Large unnecessary files
-
"
**/*.js.map"
-
"
**/*.doctree"
-
"
**/*.ipynb"
-
"
**/_sources/**"
# Build artifacts
-
"
**/__pycache__/**"
-
"
**/*.pyc"
-
book/_build/.doctrees/**
-
book/_build/jupyter_cache/**
-
"
**/*.pickle"
-
"
**/*.doctree"
# Jupyter temporary files
-
"
**/.ipynb_checkpoints/**"
-
book/_build/jupyter_execute/**/*.ipynb
-
book/_build/jupyter_execute/**/*.py
# Source and backup files
-
"
**/*.md.temp"
-
"
**/*.bak"
-
"
**/*.orig"
# Debug files
-
"
**/*.log"
-
"
**/*.debug"
-
"
**/*.dump"
expire_in
:
1 week
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "release"
-
if
:
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "release"
when
:
always
deploy-draft
:
stage
:
deploy
needs
:
[
"
build-book"
]
Loading