Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
54a96df5
Commit
54a96df5
authored
Jun 11, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ci
parent
b88d40e6
Pipeline
#98
canceled with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
.gitlab-ci.yml
.gitlab-ci.yml
+39
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
54a96df5
stages
:
-
test
-
deploy
variables
:
GIT_DEPTH
:
"
1"
redtext
:
stage
:
test
dependencies
:
[]
tags
:
-
linux
image
:
git-registry.mycard.moe/nanahira/srvpro
variables
:
DATABASE_FILE
:
expansions/222DIY.cdb
script
:
-
apt update && apt -y install sqlite3
-
mv /ygopro-server/ygopro .
-
cd ygopro
-
mkdir dist
-
echo "select id from datas;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ../dist/redtext.txt
-
cd ..
-
cat dist/redtext.txt
artifacts
:
paths
:
-
dist/
upload_to_minio
:
stage
:
deploy
dependencies
:
-
redtext
tags
:
-
linux
image
:
python
script
:
-
pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://mycard/ygopro-222DIY
only
:
-
tags
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