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
7781844e
Commit
7781844e
authored
Apr 03, 2024
by
Tachibana
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
845a1b77
Pipeline
#26216
canceled with stages
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
.gitlab-ci.yml
.gitlab-ci.yml
+5
-5
No files found.
.gitlab-ci.yml
View file @
7781844e
...
...
@@ -56,15 +56,15 @@ pack:
-
sed -i '/mono-project.com/d' /etc/apt/sources.list /etc/apt/sources.list.d/*
-
apt update && apt -y install p7zip-full wget git
-
mkdir -p dist/archive dist/contents
-
git log --pretty=%H --since=$LAST_UPDATE_DATE | xargs -I {} git diff-tree --no-commit-id --name-only --diff-filter=ACMR -r {} | sed "/sound\//d;/update\//d;/.yml/d" | sort | uniq | sed "s/^/'/g;s/\$/'/g" | xargs 7z a -mx9 dist/archive/ygopro-
222
DIY-update.7z ||
true
-
git log --pretty=%H --since=$LAST_UPDATE_DATE | xargs -I {} git diff-tree --no-commit-id --name-only --diff-filter=ACMR -r {} | sed "/sound\//d;/update\//d;/.yml/d" | sort | uniq | sed "s/^/'/g;s/\$/'/g" | xargs 7z a -mx9 dist/archive/ygopro-
FiNALE-
DIY-update.7z ||
true
-
git clone --depth=1 https://code.mycard.moe/alstroemeria-silentlove/ygopro-222DIY-sound sound
-
wget -O update/filelist.txt https://cdn01.moecube.com/ygopro-222DIY/contents/update/filelist.txt || rm -rf update/filelist.txt
-
rm -rf .*.yml .git* sound/.git*
-
cd update
-
./update-server.sh
-
cd ..
-
7z a -mx9 dist/archive/ygopro-
222DIY-data
.7z expansions update
-
7z a -mx9 dist/archive/ygopro-
222
DIY-sound.7z sound
-
7z a -mx9 dist/archive/ygopro-
FiNALE-DIY-cards
.7z expansions update
-
7z a -mx9 dist/archive/ygopro-
FiNALE-
DIY-sound.7z sound
-
ls -1 | sed '/dist/d' | xargs -I {} mv {} dist/contents/
artifacts
:
paths
:
...
...
@@ -82,8 +82,8 @@ upload_to_minio:
image
:
python
script
:
-
pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
-
cp dist/archive/ygopro-
222DIY-data.7z dist/archive/ygopro-222DIY-data
-$CURRENT_UPDATE_DATE.7z
-
cp dist/archive/ygopro-
222DIY-update.7z dist/archive/ygopro-222
DIY-update-$CURRENT_UPDATE_DATE.7z
-
cp dist/archive/ygopro-
FiNALE-DIY-cards.7z dist/archive/ygopro-FiNALE-DIY-cards
-$CURRENT_UPDATE_DATE.7z
-
cp dist/archive/ygopro-
FiNALE-DIY-update.7z dist/archive/ygopro-FiNALE-
DIY-update-$CURRENT_UPDATE_DATE.7z
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/ygopro-222DIY > /dev/null
only
:
-
master
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