Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ant.sr
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anton Sarukhanov
ant.sr
Commits
6b2a098e
Commit
6b2a098e
authored
4 years ago
by
Anton Sarukhanov
Browse files
Options
Downloads
Patches
Plain Diff
Include frontend deps when building in CI
parent
bfb6ecc0
No related branches found
No related tags found
1 merge request
!5
Include frontend deps when building in CI
Pipeline
#200
passed with stages
in 1 minute and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+18
-5
18 additions, 5 deletions
.gitlab-ci.yml
Makefile
+4
-1
4 additions, 1 deletion
Makefile
with
22 additions
and
6 deletions
.gitlab-ci.yml
+
18
−
5
View file @
6b2a098e
stages
:
-
build_content
-
build_js
-
build_html
-
build_image
build_content
:
stage
:
build_content
build_js
:
stage
:
build_js
image
:
node:14
script
:
-
npm install --dev
-
make js
artifacts
:
paths
:
-
theme/static/
build_html
:
stage
:
build_html
dependencies
:
-
build_js
image
:
python:3
script
:
-
pip install -r requirements.txt
-
pelican content -o output -s pelicanconf.py
-
make html
artifacts
:
paths
:
-
output/
...
...
@@ -15,7 +28,7 @@ build_content:
build_image
:
stage
:
build_image
dependencies
:
-
build_
content
-
build_
html
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
"
"
]
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
4
−
1
View file @
6b2a098e
js
:
npm run build
html
:
npm run build
&&
pelican content
-o
output
-s
pelicanconf.py
pelican content
-o
output
-s
pelicanconf.py
regenerate
:
npm run build
&&
pelican
-r
content
-o
output
-s
pelicanconf.py
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment