Compare commits
22 Commits
BL3_Lunch_
...
split-gite
Author | SHA1 | Date | |
---|---|---|---|
2176187f2f | |||
834e335b4e | |||
086c93e8ea | |||
5abfa7ec16 | |||
f9fae12ae4 | |||
b54f6025fc | |||
fc2b32df32 | |||
9666a52b1c | |||
d5720caadb | |||
99c58c106b | |||
3f7d49e042 | |||
82629255fc | |||
657ab5f0f9 | |||
|
5ab2f16b86 | ||
|
804f70f517 | ||
8a72046a65 | |||
|
0a9afe5e1d | ||
|
01a65c005c | ||
|
8087160da4 | ||
|
3bfb59f5dd | ||
|
9e1aa198da | ||
|
7d76ed6af0 |
55
.gitea/workflows/deliver.yml
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
name: Wallset Pipeline
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'assets/**'
|
||||||
|
|
||||||
|
env:
|
||||||
|
ENTRY_FOLDER: assets
|
||||||
|
PACKAGE_NAME: "" # Not used while matrixing
|
||||||
|
RELEASE_VERSION: v${{ github.run_number }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
detect-changes:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
changed: ${{ steps.set.outputs.changed }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Dump GitHub context
|
||||||
|
env:
|
||||||
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
|
run: echo "$GITHUB_CONTEXT"
|
||||||
|
|
||||||
|
- name: Detect changed packs
|
||||||
|
id: set
|
||||||
|
run: |
|
||||||
|
PACKS=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep '^assets/' | cut -d '/' -f2 | sort -u | jq -R -s -c 'split("\n")[:-1]')
|
||||||
|
echo "changed=$PACKS" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
gen-manifest:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: detect-changes
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
pack: ${{ fromJson(needs.detect-changes.outputs.changed) }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Node.js manifest check
|
||||||
|
run: |
|
||||||
|
cd src/
|
||||||
|
npm install
|
||||||
|
npm run start -- ${ENTRY_FOLDER} ${{ matrix.pack }}
|
||||||
|
cat ../${ENTRY_FOLDER}/${{ matrix.pack }}/theme.json
|
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
|||||||
|
# Ignore les résultats de compilations locales
|
||||||
|
**/builds/
|
||||||
|
|
||||||
# Ignore node_module
|
# Ignore node_module
|
||||||
**/node_modules/
|
**/node_modules/
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
include:
|
include:
|
||||||
- .gitlab/*.yml
|
- ./*.yml
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- Manifest
|
- Manifest
|
32
.gitlab/BL3_Athenas_Tree.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
manifest-job/BL3_Athenas_Tree:
|
||||||
|
variables:
|
||||||
|
PACKAGE_NAME: "BL3_Athenas_Tree"
|
||||||
|
extends: .manifest-job
|
||||||
|
|
||||||
|
test-images-job/BL3_Athenas_Tree:
|
||||||
|
needs:
|
||||||
|
- manifest-job/BL3_Athenas_Tree
|
||||||
|
variables:
|
||||||
|
PACKAGE_NAME: "BL3_Athenas_Tree"
|
||||||
|
extends: .test-job
|
||||||
|
|
||||||
|
bundle-job/BL3_Athenas_Tree:
|
||||||
|
needs:
|
||||||
|
- manifest-job/BL3_Athenas_Tree
|
||||||
|
variables:
|
||||||
|
PACKAGE_NAME: "BL3_Athenas_Tree"
|
||||||
|
extends: .bundle-job
|
||||||
|
|
||||||
|
upload-job/BL3_Athenas_Tree:
|
||||||
|
needs:
|
||||||
|
- bundle-job/BL3_Athenas_Tree
|
||||||
|
variables:
|
||||||
|
PACKAGE_NAME: "BL3_Athenas_Tree"
|
||||||
|
extends: .upload-job
|
||||||
|
|
||||||
|
release-job/BL3_Athenas_Tree:
|
||||||
|
needs:
|
||||||
|
- upload-job/BL3_Athenas_Tree
|
||||||
|
variables:
|
||||||
|
PACKAGE_NAME: "BL3_Athenas_Tree"
|
||||||
|
extends: .release-job
|
5
.vscode/settings.json
vendored
@@ -2,8 +2,11 @@
|
|||||||
"conventionalCommits.scopes": [
|
"conventionalCommits.scopes": [
|
||||||
"cicd",
|
"cicd",
|
||||||
"#5",
|
"#5",
|
||||||
|
"#9",
|
||||||
"#13",
|
"#13",
|
||||||
"#14",
|
"#14",
|
||||||
"#15"
|
"#15",
|
||||||
|
"#2",
|
||||||
|
"#24"
|
||||||
]
|
]
|
||||||
}
|
}
|
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree1.jpg
Normal file
After Width: | Height: | Size: 706 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree10.jpg
Normal file
After Width: | Height: | Size: 688 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree11.jpg
Normal file
After Width: | Height: | Size: 672 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree12.jpg
Normal file
After Width: | Height: | Size: 685 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree13.jpg
Normal file
After Width: | Height: | Size: 718 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree14.jpg
Normal file
After Width: | Height: | Size: 698 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree15.jpg
Normal file
After Width: | Height: | Size: 701 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree16.jpg
Normal file
After Width: | Height: | Size: 730 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree17.jpg
Normal file
After Width: | Height: | Size: 740 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree18.jpg
Normal file
After Width: | Height: | Size: 724 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree19.jpg
Normal file
After Width: | Height: | Size: 689 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree2.jpg
Normal file
After Width: | Height: | Size: 768 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree20.jpg
Normal file
After Width: | Height: | Size: 701 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree21.jpg
Normal file
After Width: | Height: | Size: 702 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree22.jpg
Normal file
After Width: | Height: | Size: 664 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree23.jpg
Normal file
After Width: | Height: | Size: 645 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree24.jpg
Normal file
After Width: | Height: | Size: 624 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree25.jpg
Normal file
After Width: | Height: | Size: 676 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree3.jpg
Normal file
After Width: | Height: | Size: 794 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree4.jpg
Normal file
After Width: | Height: | Size: 741 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree5.jpg
Normal file
After Width: | Height: | Size: 748 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree6.jpg
Normal file
After Width: | Height: | Size: 741 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree7.jpg
Normal file
After Width: | Height: | Size: 737 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree8.jpg
Normal file
After Width: | Height: | Size: 734 KiB |
BIN
assets/BL3_Athenas_Tree/BL3_Athenas_Tree9.jpg
Normal file
After Width: | Height: | Size: 701 KiB |
38
assets/BL3_Athenas_Tree/theme.json
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"displayName": "Borderlands 3: Athenas Tree",
|
||||||
|
"imageFilename": "BL3_Athenas_Tree*.jpg",
|
||||||
|
"imageCredits": "Gearbox",
|
||||||
|
"sunriseImageList": [
|
||||||
|
18,
|
||||||
|
19,
|
||||||
|
20,
|
||||||
|
21,
|
||||||
|
22,
|
||||||
|
23,
|
||||||
|
24
|
||||||
|
],
|
||||||
|
"dayImageList": [
|
||||||
|
25,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
4,
|
||||||
|
5,
|
||||||
|
6,
|
||||||
|
7
|
||||||
|
],
|
||||||
|
"sunsetImageList": [
|
||||||
|
8,
|
||||||
|
9,
|
||||||
|
10,
|
||||||
|
11,
|
||||||
|
12
|
||||||
|
],
|
||||||
|
"nightImageList": [
|
||||||
|
13,
|
||||||
|
14,
|
||||||
|
15,
|
||||||
|
16,
|
||||||
|
17
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 606 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.0 MiB |
After Width: | Height: | Size: 1020 KiB |
After Width: | Height: | Size: 998 KiB |
After Width: | Height: | Size: 1000 KiB |
After Width: | Height: | Size: 922 KiB |
After Width: | Height: | Size: 871 KiB |
After Width: | Height: | Size: 826 KiB |
After Width: | Height: | Size: 615 KiB |
After Width: | Height: | Size: 705 KiB |
After Width: | Height: | Size: 629 KiB |
After Width: | Height: | Size: 548 KiB |
After Width: | Height: | Size: 585 KiB |
After Width: | Height: | Size: 549 KiB |
After Width: | Height: | Size: 587 KiB |
After Width: | Height: | Size: 611 KiB |
After Width: | Height: | Size: 633 KiB |
After Width: | Height: | Size: 679 KiB |
After Width: | Height: | Size: 646 KiB |
After Width: | Height: | Size: 695 KiB |
After Width: | Height: | Size: 676 KiB |
After Width: | Height: | Size: 645 KiB |
After Width: | Height: | Size: 568 KiB |
After Width: | Height: | Size: 937 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 1.2 MiB |
BIN
public/Wallset.psd
Normal file
BIN
public/Wallset_1.jpg
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
public/Wallset_2.jpg
Normal file
After Width: | Height: | Size: 25 KiB |
@@ -3,13 +3,19 @@ const path = require("path");
|
|||||||
const iptc = require("node-iptc");
|
const iptc = require("node-iptc");
|
||||||
const { exit } = require("process");
|
const { exit } = require("process");
|
||||||
|
|
||||||
|
|
||||||
// Fetch envs to target the right folder
|
// Fetch envs to target the right folder
|
||||||
|
const [argRoot, argSlug] = process.argv.slice(2);
|
||||||
const workDir = process.env["CI_PROJECT_DIR"];
|
const workDir = process.env["CI_PROJECT_DIR"];
|
||||||
const root = process.env["ENTRY_FOLDER"];
|
const root = argRoot || process.env["ENTRY_FOLDER"];
|
||||||
const slug = process.env["PACKAGE_NAME"];
|
const slug = argSlug || process.env["PACKAGE_NAME"];
|
||||||
if (!workDir || !slug || !root) exit(1);
|
if (!workDir || !root || !slug ) {
|
||||||
let workingDirectory = path.join(workDir, root, slug);
|
console.error('Erreur : Les variables suivantes sont requises :');
|
||||||
|
if (!workDir) console.error('- CI_PROJECT_DIR (variable d\'environnement)');
|
||||||
|
if (!root) console.error('- ENTRY_FOLDER (env) ou premier argument');
|
||||||
|
if (!slug) console.error('- PACKAGE_NAME (env) ou second argument');
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
const workingDirectory = path.join(workDir, root, slug);
|
||||||
|
|
||||||
// extract metadata from them
|
// extract metadata from them
|
||||||
fs.readdir(workingDirectory, (err, files) => {
|
fs.readdir(workingDirectory, (err, files) => {
|
||||||
|