Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
software-project-WS25
Reddit Team
Commits
b9cc5c4b
Commit
b9cc5c4b
authored
Dec 10, 2025
by
Benavides Ontiveros
Browse files
add manual run ingest
parent
c216a60f
Pipeline
#12277
canceled with stages
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci-ingest.yml
View file @
b9cc5c4b
workflow
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"web"'
when
:
always
# allow manual run from the UI
-
when
:
never
# block all automatic runs
stages
:
-
ingest
...
...
@@ -11,7 +17,7 @@ ingest:
-
reddit
rules
:
-
when
:
manual
-
when
:
manual
# job requires clicking the play button
before_script
:
-
apt-get update && apt-get install -y gettext jq
...
...
.gitlab-ci.yml
View file @
b9cc5c4b
...
...
@@ -115,12 +115,18 @@ ingest:
-
reddit
needs
:
-
job
:
generate
before_script
:
-
apt-get update && apt-get install -y gettext jq
-
cp tools/filesystem-plugin-2.1.0.jar plugin.jar
-
envsubst < tools/user-config.json > user-config.json
-
echo "--- READING FROM VM FOLDER ---"
-
echo "--- Listing files in /reddit_output ---"
-
ls -Ra /reddit_output/ || echo "No files found!"
-
echo "--- Listing files in /reddit_output/.meta ---"
-
ls -Ra /reddit_output/.meta || echo ".meta folder not found!"
script
:
-
echo "Running ingestion..."
-
java -jar plugin.jar "/reddit_output"
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment