Compare commits
4 Commits
cicd
...
BL2_frozen
Author | SHA1 | Date | |
---|---|---|---|
|
aae97ec78a | ||
|
f1845c7101 | ||
|
f56b7877dc | ||
|
181caf6092 |
@@ -9,8 +9,8 @@ stages:
|
||||
- Release
|
||||
|
||||
variables:
|
||||
ENTRY_FOLDER: test # test directory for testing CI/CD, or assets directory for normal operations
|
||||
RELEASE_VERSION: v0.$CI_PIPELINE_IID
|
||||
ENTRY_FOLDER: assets
|
||||
RELEASE_VERSION: v$CI_PIPELINE_IID
|
||||
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PACKAGE_NAME}/${RELEASE_VERSION}"
|
||||
|
||||
# Jobs from here run on Merge Requests as prerequisite for merging.
|
||||
@@ -18,7 +18,6 @@ variables:
|
||||
stage: Manifest
|
||||
image: node:latest
|
||||
rules:
|
||||
#- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == "cicd"
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- changes:
|
||||
@@ -39,7 +38,6 @@ variables:
|
||||
stage: Test
|
||||
image: python:latest
|
||||
rules:
|
||||
#- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == "cicd"
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
changes:
|
||||
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
|
||||
@@ -53,17 +51,16 @@ variables:
|
||||
stage: Bundle
|
||||
image: javieraviles/zip:latest
|
||||
rules:
|
||||
#- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == "cicd"
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
changes:
|
||||
- ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
|
||||
script:
|
||||
- zip -j ${PACKAGE_NAME}.wdd ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
|
||||
- zip -j ${PACKAGE_NAME}.zip ${ENTRY_FOLDER}/${PACKAGE_NAME}/*
|
||||
artifacts:
|
||||
paths:
|
||||
- ${PACKAGE_NAME}.ddw
|
||||
- ${PACKAGE_NAME}.zip
|
||||
when: on_success
|
||||
expire_in: "1 hour"
|
||||
|
||||
@@ -71,7 +68,6 @@ variables:
|
||||
stage: Distribute
|
||||
image: curlimages/curl:latest
|
||||
rules:
|
||||
#- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == "cicd"
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
@@ -81,13 +77,12 @@ variables:
|
||||
- |
|
||||
curl --fail \
|
||||
--header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
|
||||
--upload-file ${PACKAGE_NAME}.ddw "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.ddw?select=package_file"
|
||||
--upload-file ${PACKAGE_NAME}.zip "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.zip?select=package_file"
|
||||
|
||||
.release-job:
|
||||
stage: Release
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
rules:
|
||||
#- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == "cicd"
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
@@ -96,12 +91,11 @@ variables:
|
||||
script:
|
||||
- echo "Releasing assets for $PACKAGE_NAME"
|
||||
release:
|
||||
name: "Livrable $PACKAGE_NAME $RELEASE_VERSION"
|
||||
name: "Release $PACKAGE_NAME $RELEASE_VERSION"
|
||||
tag_name: "$PACKAGE_NAME.$RELEASE_VERSION"
|
||||
description: "Version $RELEASE_VERSION"
|
||||
ref: "$CI_COMMIT_SHA"
|
||||
assets:
|
||||
links:
|
||||
- name: ${PACKAGE_NAME}.ddw
|
||||
url: "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.ddw"
|
||||
link_type: package
|
||||
- name: ${PACKAGE_NAME}
|
||||
url: "${PACKAGE_REGISTRY_URL}/${PACKAGE_NAME}.zip"
|
||||
|
32
.gitlab/BL2_frozen_wastelands.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
manifest-job/BL2_frozen_wastelands:
|
||||
variables:
|
||||
PACKAGE_NAME: "BL2_frozen_wastelands"
|
||||
extends: .manifest-job
|
||||
|
||||
test-images-job/BL2_frozen_wastelands:
|
||||
needs:
|
||||
- manifest-job/BL2_frozen_wastelands
|
||||
variables:
|
||||
PACKAGE_NAME: "BL2_frozen_wastelands"
|
||||
extends: .test-job
|
||||
|
||||
bundle-job/BL2_frozen_wastelands:
|
||||
needs:
|
||||
- manifest-job/BL2_frozen_wastelands
|
||||
variables:
|
||||
PACKAGE_NAME: "BL2_frozen_wastelands"
|
||||
extends: .bundle-job
|
||||
|
||||
upload-job/BL2_frozen_wastelands:
|
||||
needs:
|
||||
- bundle-job/BL2_frozen_wastelands
|
||||
variables:
|
||||
PACKAGE_NAME: "BL2_frozen_wastelands"
|
||||
extends: .upload-job
|
||||
|
||||
release-job/BL2_frozen_wastelands:
|
||||
needs:
|
||||
- upload-job/BL2_frozen_wastelands
|
||||
variables:
|
||||
PACKAGE_NAME: "BL2_frozen_wastelands"
|
||||
extends: .release-job
|
@@ -1,32 +0,0 @@
|
||||
manifest-job/existing_valid_theme_set:
|
||||
variables:
|
||||
PACKAGE_NAME: "existing_valid_theme_set"
|
||||
extends: .manifest-job
|
||||
|
||||
test-images-job/existing_valid_theme_set:
|
||||
needs:
|
||||
- manifest-job/existing_valid_theme_set
|
||||
variables:
|
||||
PACKAGE_NAME: "existing_valid_theme_set"
|
||||
extends: .test-job
|
||||
|
||||
bundle-job/existing_valid_theme_set:
|
||||
needs:
|
||||
- manifest-job/existing_valid_theme_set
|
||||
variables:
|
||||
PACKAGE_NAME: "existing_valid_theme_set"
|
||||
extends: .bundle-job
|
||||
|
||||
upload-job/existing_valid_theme_set:
|
||||
needs:
|
||||
- bundle-job/existing_valid_theme_set
|
||||
variables:
|
||||
PACKAGE_NAME: "existing_valid_theme_set"
|
||||
extends: .upload-job
|
||||
|
||||
release-job/existing_valid_theme_set:
|
||||
needs:
|
||||
- upload-job/existing_valid_theme_set
|
||||
variables:
|
||||
PACKAGE_NAME: "existing_valid_theme_set"
|
||||
extends: .release-job
|
@@ -1,32 +0,0 @@
|
||||
manifest-job/missing_tag_set:
|
||||
variables:
|
||||
PACKAGE_NAME: "missing_tag_set"
|
||||
extends: .manifest-job
|
||||
|
||||
test-images-job/missing_tag_set:
|
||||
needs:
|
||||
- manifest-job/missing_tag_set
|
||||
variables:
|
||||
PACKAGE_NAME: "missing_tag_set"
|
||||
extends: .test-job
|
||||
|
||||
bundle-job/missing_tag_set:
|
||||
needs:
|
||||
- manifest-job/missing_tag_set
|
||||
variables:
|
||||
PACKAGE_NAME: "missing_tag_set"
|
||||
extends: .bundle-job
|
||||
|
||||
upload-job/missing_tag_set:
|
||||
needs:
|
||||
- bundle-job/missing_tag_set
|
||||
variables:
|
||||
PACKAGE_NAME: "missing_tag_set"
|
||||
extends: .upload-job
|
||||
|
||||
release-job/missing_tag_set:
|
||||
needs:
|
||||
- upload-job/missing_tag_set
|
||||
variables:
|
||||
PACKAGE_NAME: "missing_tag_set"
|
||||
extends: .release-job
|
@@ -1,32 +0,0 @@
|
||||
manifest-job/unbalanced_set:
|
||||
variables:
|
||||
PACKAGE_NAME: "unbalanced_set"
|
||||
extends: .manifest-job
|
||||
|
||||
test-images-job/unbalanced_set:
|
||||
needs:
|
||||
- manifest-job/unbalanced_set
|
||||
variables:
|
||||
PACKAGE_NAME: "unbalanced_set"
|
||||
extends: .test-job
|
||||
|
||||
bundle-job/unbalanced_set:
|
||||
needs:
|
||||
- manifest-job/unbalanced_set
|
||||
variables:
|
||||
PACKAGE_NAME: "unbalanced_set"
|
||||
extends: .bundle-job
|
||||
|
||||
upload-job/unbalanced_set:
|
||||
needs:
|
||||
- bundle-job/unbalanced_set
|
||||
variables:
|
||||
PACKAGE_NAME: "unbalanced_set"
|
||||
extends: .upload-job
|
||||
|
||||
release-job/unbalanced_set:
|
||||
needs:
|
||||
- upload-job/unbalanced_set
|
||||
variables:
|
||||
PACKAGE_NAME: "unbalanced_set"
|
||||
extends: .release-job
|
@@ -1,32 +0,0 @@
|
||||
manifest-job/valid_set:
|
||||
variables:
|
||||
PACKAGE_NAME: "valid_set"
|
||||
extends: .manifest-job
|
||||
|
||||
test-images-job/valid_set:
|
||||
needs:
|
||||
- manifest-job/valid_set
|
||||
variables:
|
||||
PACKAGE_NAME: "valid_set"
|
||||
extends: .test-job
|
||||
|
||||
bundle-job/valid_set:
|
||||
needs:
|
||||
- manifest-job/valid_set
|
||||
variables:
|
||||
PACKAGE_NAME: "valid_set"
|
||||
extends: .bundle-job
|
||||
|
||||
upload-job/valid_set:
|
||||
needs:
|
||||
- bundle-job/valid_set
|
||||
variables:
|
||||
PACKAGE_NAME: "valid_set"
|
||||
extends: .upload-job
|
||||
|
||||
release-job/valid_set:
|
||||
needs:
|
||||
- upload-job/valid_set
|
||||
variables:
|
||||
PACKAGE_NAME: "valid_set"
|
||||
extends: .release-job
|
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_1.jpg
Normal file
After Width: | Height: | Size: 909 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_10.jpg
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_11.jpg
Normal file
After Width: | Height: | Size: 977 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_12.jpg
Normal file
After Width: | Height: | Size: 968 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_13.jpg
Normal file
After Width: | Height: | Size: 928 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_14.jpg
Normal file
After Width: | Height: | Size: 944 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_15.jpg
Normal file
After Width: | Height: | Size: 952 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_16.jpg
Normal file
After Width: | Height: | Size: 1002 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_17.jpg
Normal file
After Width: | Height: | Size: 892 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_18.jpg
Normal file
After Width: | Height: | Size: 876 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_19.jpg
Normal file
After Width: | Height: | Size: 935 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_2.jpg
Normal file
After Width: | Height: | Size: 942 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_20.jpg
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_21.jpg
Normal file
After Width: | Height: | Size: 996 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_22.jpg
Normal file
After Width: | Height: | Size: 878 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_23.jpg
Normal file
After Width: | Height: | Size: 947 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_3.jpg
Normal file
After Width: | Height: | Size: 980 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_4.jpg
Normal file
After Width: | Height: | Size: 954 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_5.jpg
Normal file
After Width: | Height: | Size: 1009 KiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_6.jpg
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_7.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/BL2_frozen_wastelands/BL2_frozen_wastelands_9.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |