Compare commits

..

22 Commits

Author SHA1 Message Date
2176187f2f refactor(cicd): Nettoyage de pause
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Successful in 15s
Wallset Pipeline / gen-manifest (pull_request) Failing after 19s
2025-07-12 17:10:35 +02:00
834e335b4e refactor(cicd): Adapte le script pour utiliser des paramètres CLI
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Successful in 15s
Wallset Pipeline / gen-manifest (pull_request) Failing after 19s
2025-07-12 16:00:34 +02:00
086c93e8ea fix(cicd): script de détection des changements
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Successful in 15s
Wallset Pipeline / Generate and Check manifest of ${{ matrix.pack }} (pull_request) Failing after 55s
Supprime un espace dans le script empêchant l'attribution d'une valeur dans la variable PACKS.
2025-07-12 15:43:38 +02:00
5abfa7ec16 build(cicd): Ajoute un job matrix pour générer le manifest d'un pack
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 15s
Wallset Pipeline / Generate and Check manifest of ${{ matrix.pack }} (pull_request) Has been skipped
supposemment capable de fonctionner en parallelle quand plusieurs packs sont modifiés
2025-07-12 15:41:12 +02:00
f9fae12ae4 refactor(cicd): rétablie la commande complete
All checks were successful
Wallset Pipeline / detect-changes (pull_request) Successful in 17s
2025-07-12 14:00:29 +02:00
b54f6025fc fix(cicd): Indique a checkout de prendre plusieurs commits
All checks were successful
Wallset Pipeline / detect-changes (pull_request) Successful in 16s
2025-07-12 13:58:40 +02:00
fc2b32df32 refactor(cicd): log a few commit shas to check them
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 16s
2025-07-12 13:46:33 +02:00
9666a52b1c refactor(cicd): debug git diff
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 17s
2025-07-12 13:41:47 +02:00
d5720caadb refactor(cicd): replace github variables to get the base commit
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 15s
also add a github_context env var to see all available variables
2025-07-12 13:31:23 +02:00
99c58c106b refactor(cicd): move git command out of variable to debug it
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 16s
2025-07-12 13:03:39 +02:00
3f7d49e042 feat(cicd): Add HFZ_hidden_amber_balloon_trip to test
Some checks failed
Wallset Pipeline / detect-changes (pull_request) Failing after 17s
2025-07-12 12:55:50 +02:00
82629255fc refactor(cicd): add step 1 of Gitea Action 2025-07-12 12:44:15 +02:00
657ab5f0f9 refactor(cicd): move gitlab-ci.yml 2025-07-12 12:41:53 +02:00
Simon Pistache
5ab2f16b86 Merge branch 'BL3_Athenas_Tree' into 'main'
Projet Borderlands 3: Athenas Tree

See merge request Simandre/Wallset!21
2025-05-26 02:28:18 +02:00
Simon Pistache
804f70f517 Projet Borderlands 3: Athenas Tree 2025-05-26 02:28:18 +02:00
8a72046a65 refactor: Update Gitignore to ignore build folder 2025-05-26 02:16:22 +02:00
Simon
0a9afe5e1d Merge branch 'logo' into 'main'
feat(#2): Design d'un logo pour le projet

See merge request Thoscellen/Wallset!18
2023-07-15 23:55:57 +00:00
Simon
01a65c005c feat(#2): Design d'un logo pour le projet 2023-07-15 23:55:57 +00:00
Simon
8087160da4 Merge branch 'BL3_Sanctuary_Bay' into 'main'
BL3: Corrige un spot, Actualise les métadonnées

See merge request Thoscellen/Wallset!15
2023-07-15 20:23:41 +00:00
Simon
3bfb59f5dd BL3: Corrige un spot, Actualise les métadonnées 2023-07-15 20:23:41 +00:00
Simon
9e1aa198da Merge branch 'BL3_Lunch_in_Trashlantis' into 'main'
Publie le set "Lunch in Trashlantis - Borderlands 3"

See merge request Thoscellen/Wallset!16
2023-07-15 20:21:00 +00:00
Simon
7d76ed6af0 Publie le set "Lunch in Trashlantis - Borderlands 3" 2023-07-15 20:21:00 +00:00
90 changed files with 143 additions and 7 deletions

View 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
View File

@@ -1,3 +1,5 @@
# Ignore les résultats de compilations locales
**/builds/
# Ignore node_module
**/node_modules/

View File

@@ -1,5 +1,5 @@
include:
- .gitlab/*.yml
- ./*.yml
stages:
- Manifest

View 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

View File

@@ -2,8 +2,11 @@
"conventionalCommits.scopes": [
"cicd",
"#5",
"#9",
"#13",
"#14",
"#15"
"#15",
"#2",
"#24"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 KiB

View 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
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
public/Wallset.psd Normal file

Binary file not shown.

BIN
public/Wallset_1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
public/Wallset_2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -3,13 +3,19 @@ const path = require("path");
const iptc = require("node-iptc");
const { exit } = require("process");
// Fetch envs to target the right folder
const [argRoot, argSlug] = process.argv.slice(2);
const workDir = process.env["CI_PROJECT_DIR"];
const root = process.env["ENTRY_FOLDER"];
const slug = process.env["PACKAGE_NAME"];
if (!workDir || !slug || !root) exit(1);
let workingDirectory = path.join(workDir, root, slug);
const root = argRoot || process.env["ENTRY_FOLDER"];
const slug = argSlug || process.env["PACKAGE_NAME"];
if (!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
fs.readdir(workingDirectory, (err, files) => {