Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
pre-release-database-cdb
Commits
9d4e0f30
Commit
9d4e0f30
authored
Jun 14, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add back redtext.txt
parent
42383a19
Pipeline
#37600
failed with stages
in 3 minutes and 39 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
21 deletions
+20
-21
.gitlab-ci.yml
.gitlab-ci.yml
+20
-21
No files found.
.gitlab-ci.yml
View file @
9d4e0f30
...
...
@@ -7,27 +7,6 @@ stages:
variables
:
GIT_DEPTH
:
"
1"
# redtext:
# stage: pack
# dependencies: []
# tags:
# - linux
# image: git-registry.moenext.com/nanahira/srvpro:lite
# variables:
# DATABASE_FILE: expansions/test-release.cdb
# script:
# - apt update && apt -y install sqlite3
# - mv /ygopro-server/ygopro .
# - mkdir dist
# - cd ygopro
# - mkdir -p expansions
# - mv ../script expansions/
# - mv ../*.cdb expansions
# - echo "# Result of redtext test of commit $CI_COMMIT_SHA"
# - echo "select id from datas where type != 0x10 and (type & 0x4000) = 0;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ../dist/redtext.txt
# - cd ..
# - exit $(cat dist/redtext.txt | wc -l)
merge_databases
:
stage
:
prepare
dependencies
:
[]
...
...
@@ -119,6 +98,26 @@ json2:
paths
:
-
test-release-v2.json
redtext
:
stage
:
prepare2
dependencies
:
-
add_script_diff
tags
:
-
linux
image
:
git-registry.moenext.com/nanahira/srvpro:lite
script
:
-
apt update && apt -y install sqlite3
-
mv /ygopro-server/ygopro .
-
mkdir dist
-
cd ygopro
-
rm -rf expansions
-
ln -s ../ ./expansions
-
ls -1 ../*.cdb | xargs -I '{}' "select id from datas where type != 0x11 and (type & 0x4000) = 0;" | xargs -I {} -P $(nproc) bash -c './ygopro {} 2>&1 | tee ../redtext-{}.txt'
-
cd ..
-
cat redtext-*.txt > redtext.txt
# if there are any lines in redtext.txt fail the job
-
exit $(wc -l < redtext.txt)
neos
:
stage
:
pack
dependencies
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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