Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gcil for openSUSE:Factory checked in at 2026-09-21 12:24:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcil (Old) and /work/SRC/openSUSE:Factory/.gcil.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcil" Mon Sep 21 12:24:12 2026 rev:4 rq:1379391 version:13.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gcil/gcil.changes 2026-08-24 12:17:18.619154935 +0200 +++ /work/SRC/openSUSE:Factory/.gcil.new.383539/gcil.changes 2026-09-21 12:24:12.822785388 +0200 @@ -1,0 +2,24 @@ +Sun Sep 20 07:01:37 UTC 2026 - Johannes Kastl <[email protected]> + +- update to 13.2.0: + * Features + - runner: add 'CI_COMMIT_TIMESTAMP' revision timestamp + (9ea502c) + * Bug Fixes + - yaml: support 'options' inputs without explicit default value + (305abbf) + * Documentation + - readme: add 'mise-en-place' badge header (afd3eba) + * Cleanups + - mise: create 'mise-en-place' configuration for 'gcil' + (e790f26) + - mise: require 'pre-commit-crocodile' dependency and + activation (ba00ad5) + - mise: alias 'make' to 'mise run' for generic use cases + (a97896e) + - mise: migrate 'changelog' task to generate with 'git-cliff' + (7b9ca6d) + - mise: create 'pull' task to pull upstream sources (2d0091d) + - mise: create 'gcil' task for CI/CD use cases (19f2e86) + +------------------------------------------------------------------- Old: ---- gitlabci_local-13.1.0.tar.gz New: ---- gitlabci_local-13.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gcil.spec ++++++ --- /var/tmp/diff_new_pack.A6x10K/_old 2026-09-21 12:24:13.464812221 +0200 +++ /var/tmp/diff_new_pack.A6x10K/_new 2026-09-21 12:24:13.466812305 +0200 @@ -1,7 +1,7 @@ # # spec file for package gcil # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gcil -Version: 13.1.0 +Version: 13.2.0 Release: 0 Summary: Launch .gitlab-ci.yml jobs locally License: Apache-2.0 ++++++ gitlabci_local-13.1.0.tar.gz -> gitlabci_local-13.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/.gitlab-ci.yml new/gitlabci_local-13.2.0/.gitlab-ci.yml --- old/gitlabci_local-13.1.0/.gitlab-ci.yml 2026-08-22 17:30:13.267613400 +0200 +++ new/gitlabci_local-13.2.0/.gitlab-ci.yml 2026-09-19 19:10:29.335961300 +0200 @@ -15,11 +15,6 @@ stage: development image: registry.gitlab.com/radiandevcore/tools/gcil/gcil:preview - project: RadianDevCore/gitlab-ci/components - file: /templates/changelog.yml - ref: main - inputs: - stage: development - - project: RadianDevCore/gitlab-ci/components file: /templates/gitlab-protections.yml ref: main inputs: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/.mise/tasks/gcil new/gitlabci_local-13.2.0/.mise/tasks/gcil --- old/gitlabci_local-13.1.0/.mise/tasks/gcil 1970-01-01 01:00:00.000000000 +0100 +++ new/gitlabci_local-13.2.0/.mise/tasks/gcil 2026-09-19 19:10:29.335961300 +0200 @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# Mise +#MISE alias=["interactive"] +#MISE description="Interactive menu with gcil" + +# Action +gcil "${@}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/.mise/tasks/sources/changelog new/gitlabci_local-13.2.0/.mise/tasks/sources/changelog --- old/gitlabci_local-13.1.0/.mise/tasks/sources/changelog 1970-01-01 01:00:00.000000000 +0100 +++ new/gitlabci_local-13.2.0/.mise/tasks/sources/changelog 2026-09-19 19:10:29.335961300 +0200 @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +# Mise +#MISE alias="changelog" +#MISE description="Generate sources changelog" + +# Arguments +release_tag="${1:-${RELEASE_TAG}}" + +# Request release tag +echo ' ' +echo -n ' > Current commit : ' +git describe --always +echo ' ' +if [ ! -z "${release_tag:-}" ]; then + tag="${release_tag}" +else + read -p ' > Release tag : ' -r tag +fi +echo ' ' + +# Generate changelog +git tag -f -m "${tag}" "${tag}" +git-cliff --no-exec --config ./config/cliff.toml --output ./CHANGELOG.md +sed -i "s#raw/[^/]*/docs#raw/${tag}/docs#g" ./README.md +git add -v ./CHANGELOG.md ./README.md +echo ' ' +git commit -m "docs(changelog): release version ${tag} and refresh changes history" -s +echo ' ' + +# Create release tag +git tag -f -m "${tag}" "${tag}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/.mise/tasks/sources/pull new/gitlabci_local-13.2.0/.mise/tasks/sources/pull --- old/gitlabci_local-13.1.0/.mise/tasks/sources/pull 1970-01-01 01:00:00.000000000 +0100 +++ new/gitlabci_local-13.2.0/.mise/tasks/sources/pull 2026-09-19 19:10:29.335961300 +0200 @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# Mise +#MISE alias="pull" +#MISE description="Pull latest changes" + +# Action +git pull -r diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/CHANGELOG.md new/gitlabci_local-13.2.0/CHANGELOG.md --- old/gitlabci_local-13.1.0/CHANGELOG.md 2026-08-22 17:30:13.268613300 +0200 +++ new/gitlabci_local-13.2.0/CHANGELOG.md 2026-09-19 19:10:29.336961300 +0200 @@ -1,5 +1,34 @@ # Changelog +<a name="13.2.0"></a> +## [13.2.0](https://gitlab.com/RadianDevCore/tools/gcil/compare/13.1.0...13.2.0) (2026-09-19) + +### ✨ Features + +- **runner:** add 'CI_COMMIT_TIMESTAMP' revision timestamp ([9ea502c](https://gitlab.com/RadianDevCore/tools/gcil/commit/9ea502ceb02bda6c55fd1cd5ac72e3a4290eb9d2)) + +### 🐛 Bug Fixes + +- **yaml:** support 'options' inputs without explicit default value ([305abbf](https://gitlab.com/RadianDevCore/tools/gcil/commit/305abbf7cc5d0d7f64dab4ecf36805ab0e2a9485)) + +### 📚 Documentation + +- **readme:** add 'mise-en-place' badge header ([afd3eba](https://gitlab.com/RadianDevCore/tools/gcil/commit/afd3ebaf0f018dae259a9439b0e383a5bdc5db77)) + +### ⚙️ Cleanups + +- **mise:** create 'mise-en-place' configuration for 'gcil' ([e790f26](https://gitlab.com/RadianDevCore/tools/gcil/commit/e790f267c5e57cf962437fe5c365c002b5c5fbdd)) +- **mise:** require 'pre-commit-crocodile' dependency and activation ([ba00ad5](https://gitlab.com/RadianDevCore/tools/gcil/commit/ba00ad5a24f1b31db4d587b275b310b7ff6638e2)) +- **mise:** alias 'make' to 'mise run' for generic use cases ([a97896e](https://gitlab.com/RadianDevCore/tools/gcil/commit/a97896e776a41fee1b0fc9a94b172d3056b28fbb)) +- **mise:** migrate 'changelog' task to generate with 'git-cliff' ([7b9ca6d](https://gitlab.com/RadianDevCore/tools/gcil/commit/7b9ca6da3bc3a5a1eeae9c5c0b9ee1e074211ab1)) +- **mise:** create 'pull' task to pull upstream sources ([2d0091d](https://gitlab.com/RadianDevCore/tools/gcil/commit/2d0091d00547fc7eaf2ccea8cf0ec25d46a0660d)) +- **mise:** create 'gcil' task for CI/CD use cases ([19f2e86](https://gitlab.com/RadianDevCore/tools/gcil/commit/19f2e86ef382503c8664a511d6ce06c125e47524)) + +### 🚀 CI + +- **gitlab-ci:** migrate to 'RadianDevCore/gitlab-ci/components' 2.0.0 ([53027f0](https://gitlab.com/RadianDevCore/tools/gcil/commit/53027f0e0a78bb72cf6cb75d1a075045caae3406)) + + <a name="13.1.0"></a> ## [13.1.0](https://gitlab.com/RadianDevCore/tools/gcil/compare/13.0.2...13.1.0) (2026-08-22) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/PKG-INFO new/gitlabci_local-13.2.0/PKG-INFO --- old/gitlabci_local-13.1.0/PKG-INFO 2026-08-22 17:30:16.049599400 +0200 +++ new/gitlabci_local-13.2.0/PKG-INFO 2026-09-19 19:10:32.325950100 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: gitlabci-local -Version: 13.1.0 +Version: 13.2.0 Summary: Launch .gitlab-ci.yml jobs locally Home-page: https://gitlab.com/RadianDevCore/tools/gcil Author: Adrian DC @@ -71,6 +71,7 @@ [](https://github.com/pre-commit/pre-commit) [](https://commitizen-tools.github.io/commitizen/) [](https://radiandevcore.gitlab.io/tools/gcil) +[](https://mise.jdx.dev) [](https://radiandevcore.gitlab.io/wiki/guidelines) [](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile) @@ -96,7 +97,7 @@ ## Preview - + --- @@ -333,6 +334,7 @@ and with everything except 0-9 and a-z replaced with -. No leading / trailing - (GitLab CI) - `CI_COMMIT_SHA`: The commit revision for which project is built (GitLab CI) - `CI_COMMIT_SHORT_SHA`: The first eight characters of CI_COMMIT_SHA (GitLab CI) +- `CI_COMMIT_TIMESTAMP`: The commit timestamp for which project is built (GitLab CI) - `CI_PROJECT_NAME`: The name of the directory for the project (GitLab CI) - `CI_PROJECT_NAMESPACE`: The project namespace (username or group name) of the job (GitLab CI) - `CI_LOCAL_USER_HOST_GID`: The host user's group ID value diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/README.md new/gitlabci_local-13.2.0/README.md --- old/gitlabci_local-13.1.0/README.md 2026-08-22 17:30:13.268613300 +0200 +++ new/gitlabci_local-13.2.0/README.md 2026-09-19 19:10:29.336961300 +0200 @@ -17,6 +17,7 @@ [](https://github.com/pre-commit/pre-commit) [](https://commitizen-tools.github.io/commitizen/) [](https://radiandevcore.gitlab.io/tools/gcil) +[](https://mise.jdx.dev) [](https://radiandevcore.gitlab.io/wiki/guidelines) [](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile) @@ -42,7 +43,7 @@ ## Preview - + --- @@ -279,6 +280,7 @@ and with everything except 0-9 and a-z replaced with -. No leading / trailing - (GitLab CI) - `CI_COMMIT_SHA`: The commit revision for which project is built (GitLab CI) - `CI_COMMIT_SHORT_SHA`: The first eight characters of CI_COMMIT_SHA (GitLab CI) +- `CI_COMMIT_TIMESTAMP`: The commit timestamp for which project is built (GitLab CI) - `CI_PROJECT_NAME`: The name of the directory for the project (GitLab CI) - `CI_PROJECT_NAMESPACE`: The project namespace (username or group name) of the job (GitLab CI) - `CI_LOCAL_USER_HOST_GID`: The host user's group ID value diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/docs/prepare.sh new/gitlabci_local-13.2.0/docs/prepare.sh --- old/gitlabci_local-13.1.0/docs/prepare.sh 2026-08-22 17:30:13.269613300 +0200 +++ new/gitlabci_local-13.2.0/docs/prepare.sh 2026-09-19 19:10:29.337961200 +0200 @@ -89,9 +89,6 @@ # Export about/changelog rm -rf "${docs_path}/about" mkdir -p "${docs_path}/about/" -if ! type git-cliff >/dev/null 2>&1; then - alias git-cliff='./.tmp/git-cliff' -fi { echo '---' echo 'pdf: false' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/gitlabci_local.egg-info/PKG-INFO new/gitlabci_local-13.2.0/gitlabci_local.egg-info/PKG-INFO --- old/gitlabci_local-13.1.0/gitlabci_local.egg-info/PKG-INFO 2026-08-22 17:30:15.977599600 +0200 +++ new/gitlabci_local-13.2.0/gitlabci_local.egg-info/PKG-INFO 2026-09-19 19:10:32.258950500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: gitlabci-local -Version: 13.1.0 +Version: 13.2.0 Summary: Launch .gitlab-ci.yml jobs locally Home-page: https://gitlab.com/RadianDevCore/tools/gcil Author: Adrian DC @@ -71,6 +71,7 @@ [](https://github.com/pre-commit/pre-commit) [](https://commitizen-tools.github.io/commitizen/) [](https://radiandevcore.gitlab.io/tools/gcil) +[](https://mise.jdx.dev) [](https://radiandevcore.gitlab.io/wiki/guidelines) [](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile) @@ -96,7 +97,7 @@ ## Preview - + --- @@ -333,6 +334,7 @@ and with everything except 0-9 and a-z replaced with -. No leading / trailing - (GitLab CI) - `CI_COMMIT_SHA`: The commit revision for which project is built (GitLab CI) - `CI_COMMIT_SHORT_SHA`: The first eight characters of CI_COMMIT_SHA (GitLab CI) +- `CI_COMMIT_TIMESTAMP`: The commit timestamp for which project is built (GitLab CI) - `CI_PROJECT_NAME`: The name of the directory for the project (GitLab CI) - `CI_PROJECT_NAMESPACE`: The project namespace (username or group name) of the job (GitLab CI) - `CI_LOCAL_USER_HOST_GID`: The host user's group ID value diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/gitlabci_local.egg-info/SOURCES.txt new/gitlabci_local-13.2.0/gitlabci_local.egg-info/SOURCES.txt --- old/gitlabci_local-13.1.0/gitlabci_local.egg-info/SOURCES.txt 2026-08-22 17:30:16.001599600 +0200 +++ new/gitlabci_local-13.2.0/gitlabci_local.egg-info/SOURCES.txt 2026-09-19 19:10:32.280950300 +0200 @@ -12,11 +12,15 @@ LICENSE README.md TEST.md +mise.toml mkdocs.yml mypy.ini run.sh setup.py sonar-project.properties +.mise/tasks/gcil +.mise/tasks/sources/changelog +.mise/tasks/sources/pull .vscode/extensions.json .vscode/settings.json config/cliff.toml @@ -263,6 +267,7 @@ tests/inputs/.gitlab-ci.types.options.empty.yml tests/inputs/.gitlab-ci.types.options.floating.yml tests/inputs/.gitlab-ci.types.options.integer.yml +tests/inputs/.gitlab-ci.types.options.no-default.yml tests/inputs/.gitlab-ci.types.options.regex.yml tests/inputs/.gitlab-ci.types.options.strings.yml tests/inputs/.gitlab-ci.types.options.unknown.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/gitlabci_local.egg-info/scm_file_list.json new/gitlabci_local-13.2.0/gitlabci_local.egg-info/scm_file_list.json --- old/gitlabci_local-13.1.0/gitlabci_local.egg-info/scm_file_list.json 2026-08-22 17:30:15.975599800 +0200 +++ new/gitlabci_local-13.2.0/gitlabci_local.egg-info/scm_file_list.json 2026-09-19 19:10:32.257950300 +0200 @@ -7,6 +7,9 @@ ".gitlab-ci.yml", ".gitmodules", ".markdownlint.json", + ".mise/tasks/gcil", + ".mise/tasks/sources/changelog", + ".mise/tasks/sources/pull", ".pre-commit-config.yaml", ".pre-commit-hooks.yaml", ".style.yapf", @@ -45,6 +48,7 @@ "docs/templates/covers/front.html.j2", "examples/.gitlab-ci.yml", "examples/data.raw", + "mise.toml", "mkdocs.yml", "mypy.ini", "requirements/build.txt", @@ -264,6 +268,7 @@ "tests/inputs/.gitlab-ci.types.options.empty.yml", "tests/inputs/.gitlab-ci.types.options.floating.yml", "tests/inputs/.gitlab-ci.types.options.integer.yml", + "tests/inputs/.gitlab-ci.types.options.no-default.yml", "tests/inputs/.gitlab-ci.types.options.regex.yml", "tests/inputs/.gitlab-ci.types.options.strings.yml", "tests/inputs/.gitlab-ci.types.options.unknown.yml", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/gitlabci_local.egg-info/scm_version.json new/gitlabci_local-13.2.0/gitlabci_local.egg-info/scm_version.json --- old/gitlabci_local-13.1.0/gitlabci_local.egg-info/scm_version.json 2026-08-22 17:30:15.956599700 +0200 +++ new/gitlabci_local-13.2.0/gitlabci_local.egg-info/scm_version.json 2026-09-19 19:10:32.237950600 +0200 @@ -1,8 +1,8 @@ { - "tag": "13.1.0", + "tag": "13.2.0", "distance": 0, - "node": "g790f4e54373bd22968555575533970c54590c165", + "node": "g139222ce3c119b44d2a3ad34df2b017f569deb7a", "dirty": false, "branch": "HEAD", - "node_date": "2026-08-22" + "node_date": "2026-09-19" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/mise.toml new/gitlabci_local-13.2.0/mise.toml --- old/gitlabci_local-13.1.0/mise.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/gitlabci_local-13.2.0/mise.toml 2026-09-19 19:10:29.337961200 +0200 @@ -0,0 +1,12 @@ +[tools] +git-cliff = "latest" +"pipx:gitlabci-local" = "latest" +"pipx:pre-commit-crocodile" = "latest" + +[hooks] +postinstall = ''' +pre-commit-crocodile --enable +''' + +[shell_alias] +make = 'mise run' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/src/jobs/runner.py new/gitlabci_local-13.2.0/src/jobs/runner.py --- old/gitlabci_local-13.1.0/src/jobs/runner.py 2026-08-22 17:30:13.271613400 +0200 +++ new/gitlabci_local-13.2.0/src/jobs/runner.py 2026-09-19 19:10:29.338961400 +0200 @@ -830,6 +830,11 @@ else: environ[Bundle.ENV_COMMIT_SHORT_SHA1] = git.head_revision_short_hash( path_project) + if Bundle.ENV_COMMIT_TIMESTAMP in variables: + environ[Bundle.ENV_COMMIT_TIMESTAMP] = variables[Bundle.ENV_COMMIT_TIMESTAMP] + else: + environ[Bundle.ENV_COMMIT_TIMESTAMP] = git.head_revision_timestamp( + path_project) if Bundle.ENV_DEFAULT_BRANCH in variables: environ[Bundle.ENV_DEFAULT_BRANCH] = variables[Bundle.ENV_DEFAULT_BRANCH] else: @@ -868,6 +873,7 @@ Bundle.ENV_COMMIT_REF_SLUG, Bundle.ENV_COMMIT_SHA, Bundle.ENV_COMMIT_SHORT_SHA1, + Bundle.ENV_COMMIT_TIMESTAMP, Bundle.ENV_DEFAULT_BRANCH, Bundle.ENV_LOCAL, Bundle.ENV_PROJECT_NAME, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/src/package/bundle.py new/gitlabci_local-13.2.0/src/package/bundle.py --- old/gitlabci_local-13.1.0/src/package/bundle.py 2026-08-22 17:30:13.271613400 +0200 +++ new/gitlabci_local-13.2.0/src/package/bundle.py 2026-09-19 19:10:29.338961400 +0200 @@ -37,6 +37,7 @@ ENV_COMMIT_REF_NAME: str = 'CI_COMMIT_REF_NAME' ENV_COMMIT_REF_SLUG: str = 'CI_COMMIT_REF_SLUG' ENV_COMMIT_SHORT_SHA1: str = 'CI_COMMIT_SHORT_SHA' + ENV_COMMIT_TIMESTAMP: str = 'CI_COMMIT_TIMESTAMP' ENV_DEBUG_UPDATES_DAILY: str = 'DEBUG_UPDATES_DAILY' ENV_DEBUG_UPDATES_DISABLE: str = 'DEBUG_UPDATES_DISABLE' ENV_DEBUG_UPDATES_FAKE: str = 'DEBUG_UPDATES_FAKE' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/src/system/git.py new/gitlabci_local-13.2.0/src/system/git.py --- old/gitlabci_local-13.1.0/src/system/git.py 2026-08-22 17:30:13.272613300 +0200 +++ new/gitlabci_local-13.2.0/src/system/git.py 2026-09-19 19:10:29.339961300 +0200 @@ -117,3 +117,20 @@ ).strip().decode() except (CalledProcessError, FileNotFoundError): return '' + + # HEAD revision timestamp + def head_revision_timestamp( + self, + workdir: Optional[str] = None, + ) -> str: + + # Result + try: + return check_output( + [self.__binary, 'show', '-s', '--format=%cI', 'HEAD'], + cwd=workdir, + shell=False, + stderr=DEVNULL, + ).strip().decode() + except (CalledProcessError, FileNotFoundError): + return '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/src/types/yaml.py new/gitlabci_local-13.2.0/src/types/yaml.py --- old/gitlabci_local-13.1.0/src/types/yaml.py 2026-08-22 17:30:13.272613300 +0200 +++ new/gitlabci_local-13.2.0/src/types/yaml.py 2026-09-19 19:10:29.339961300 +0200 @@ -280,6 +280,8 @@ inputs[key].set_value(file_inputs[key]) elif inputs[key].default is not None: inputs[key].set_value(inputs[key].default) # type: ignore[arg-type] + elif (options := inputs[key].options) is not None: + inputs[key].set_value(options[0]) # Validate input value if inputs[key].value is None: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/tests/ci/.gitlab-ci.git.yml new/gitlabci_local-13.2.0/tests/ci/.gitlab-ci.git.yml --- old/gitlabci_local-13.1.0/tests/ci/.gitlab-ci.git.yml 2026-08-22 17:30:13.272613300 +0200 +++ new/gitlabci_local-13.2.0/tests/ci/.gitlab-ci.git.yml 2026-09-19 19:10:29.339961300 +0200 @@ -17,9 +17,11 @@ - echo "CI_COMMIT_REF_SLUG=${CI_COMMIT_REF_SLUG}" - echo "CI_COMMIT_SHA=${CI_COMMIT_SHA}" - echo "CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA}" + - echo "CI_COMMIT_TIMESTAMP=${CI_COMMIT_TIMESTAMP}" - echo "CI_DEFAULT_BRANCH=${CI_DEFAULT_BRANCH}" - test -z "${CI_COMMIT_REF_NAME}" && exit 1 || true - test -z "${CI_COMMIT_REF_SLUG}" && exit 1 || true - test -z "${CI_COMMIT_SHA}" && exit 1 || true - test -z "${CI_COMMIT_SHORT_SHA}" && exit 1 || true + - test -z "${CI_COMMIT_TIMESTAMP}" && exit 1 || true - test -z "${CI_DEFAULT_BRANCH}" && exit 1 || true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/tests/ci/.gitlab-ci.raw.yml new/gitlabci_local-13.2.0/tests/ci/.gitlab-ci.raw.yml --- old/gitlabci_local-13.1.0/tests/ci/.gitlab-ci.raw.yml 2026-08-22 17:30:13.272613300 +0200 +++ new/gitlabci_local-13.2.0/tests/ci/.gitlab-ci.raw.yml 2026-09-19 19:10:29.339961300 +0200 @@ -15,5 +15,7 @@ script: - echo "CI_COMMIT_SHA=${CI_COMMIT_SHA}" - echo "CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA}" + - echo "CI_COMMIT_TIMESTAMP=${CI_COMMIT_TIMESTAMP}" - test -z "${CI_COMMIT_SHA}" - test -z "${CI_COMMIT_SHORT_SHA}" + - test -z "${CI_COMMIT_TIMESTAMP}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/tests/ci/.gitlab-ci.variables.yml new/gitlabci_local-13.2.0/tests/ci/.gitlab-ci.variables.yml --- old/gitlabci_local-13.1.0/tests/ci/.gitlab-ci.variables.yml 2026-08-22 17:30:13.272613300 +0200 +++ new/gitlabci_local-13.2.0/tests/ci/.gitlab-ci.variables.yml 2026-09-19 19:10:29.339961300 +0200 @@ -9,6 +9,7 @@ VERSION_REF_SLUG: '${CI_COMMIT_REF_SLUG}' VERSION_SHA: '${CI_COMMIT_SHA}' VERSION_SHORT_SHA: '${CI_COMMIT_SHORT_SHA}' + VERSION_TIMESTAMP: '${CI_COMMIT_TIMESTAMP}' .local: volumes: @@ -21,7 +22,9 @@ - echo "VERSION_REF_SLUG=${VERSION_REF_SLUG}" - echo "VERSION_SHA=${VERSION_SHA}" - echo "VERSION_SHORT_SHA=${VERSION_SHORT_SHA}" + - echo "VERSION_TIMESTAMP=${VERSION_TIMESTAMP}" - test -z "${VERSION_REF_NAME}" && exit 1 || true - test -z "${VERSION_REF_SLUG}" && exit 1 || true - test -z "${VERSION_SHA}" && exit 1 || true - test -z "${VERSION_SHORT_SHA}" && exit 1 || true + - test -z "${VERSION_TIMESTAMP}" && exit 1 || true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/tests/ci/test.sh new/gitlabci_local-13.2.0/tests/ci/test.sh --- old/gitlabci_local-13.1.0/tests/ci/test.sh 2026-08-22 17:30:13.272613300 +0200 +++ new/gitlabci_local-13.2.0/tests/ci/test.sh 2026-09-19 19:10:29.339961300 +0200 @@ -11,11 +11,11 @@ # Run tests gcil -c ./.gitlab-ci.env.yml -p gcil -c ./.gitlab-ci.git.yml -p -unset CI_COMMIT_REF_NAME CI_COMMIT_REF_SLUG CI_COMMIT_SHA CI_COMMIT_SHORT_SHA +unset CI_COMMIT_REF_NAME CI_COMMIT_REF_SLUG CI_COMMIT_SHA CI_COMMIT_SHORT_SHA CI_COMMIT_TIMESTAMP gcil -c ./.gitlab-ci.env.yml -p gcil -c ./.gitlab-ci.git.yml -p gcil -c ./.gitlab-ci.git.yml -e CI_COMMIT_REF_NAME=develop -e CI_COMMIT_REF_SLUG=develop -e CI_DEFAULT_BRANCH='develop' -p -gcil -c ./.gitlab-ci.git.yml -e CI_COMMIT_SHA=abcd1234efgh5678 -e CI_COMMIT_SHORT_SHA=abcd1234 -p +gcil -c ./.gitlab-ci.git.yml -e CI_COMMIT_SHA=abcd1234efgh5678 -e CI_COMMIT_SHORT_SHA=abcd1234 -e CI_COMMIT_TIMESTAMP=1970-01-01Z00:00:00+00:00 -p gcil -c ./.gitlab-ci.git.yml -e CI_COMMIT_REF_NAME="$(tr -dc '[:graph:]' </dev/urandom 2>/dev/null | dd bs=1 count=128 2>/dev/null)" -p GIT_BINARY_PATH=git-missing gcil -c ./.gitlab-ci.raw.yml -p gcil -c ./.gitlab-ci.variables.yml -p diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/tests/inputs/.gitlab-ci.types.options.no-default.yml new/gitlabci_local-13.2.0/tests/inputs/.gitlab-ci.types.options.no-default.yml --- old/gitlabci_local-13.1.0/tests/inputs/.gitlab-ci.types.options.no-default.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/gitlabci_local-13.2.0/tests/inputs/.gitlab-ci.types.options.no-default.yml 2026-09-19 19:10:29.342961300 +0200 @@ -0,0 +1,21 @@ +spec: + inputs: + stage: + description: 'Define the pipeline stage' + default: 'components' + name: + description: 'Define the pipeline job name' + options: + - '1' + - '2' + - '3' + +--- + +stages: + - $[[ inputs.stage ]] + +$[[ inputs.name ]]: + stage: $[[ inputs.stage ]] + script: + - echo ' [Job] Component' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitlabci_local-13.1.0/tests/inputs/test.sh new/gitlabci_local-13.2.0/tests/inputs/test.sh --- old/gitlabci_local-13.1.0/tests/inputs/test.sh 2026-08-22 17:30:13.275613300 +0200 +++ new/gitlabci_local-13.2.0/tests/inputs/test.sh 2026-09-19 19:10:29.342961300 +0200 @@ -40,6 +40,7 @@ gcil -c ./.gitlab-ci.types.options.empty.yml --dump && exit 1 || true gcil -c ./.gitlab-ci.types.options.integer.yml --dump && exit 1 || true gcil -c ./.gitlab-ci.types.options.floating.yml --dump && exit 1 || true +gcil -c ./.gitlab-ci.types.options.no-default.yml --dump gcil -c ./.gitlab-ci.types.options.regex.yml --dump && exit 1 || true gcil -c ./.gitlab-ci.types.options.strings.yml --dump && exit 1 || true gcil -c ./.gitlab-ci.types.options.unknown.yml --dump && exit 1 || true @@ -54,6 +55,10 @@ pexpect-executor \ --press '\-stage' --enter \ --down --enter \ + -- gcil -c ./.gitlab-ci.types.options.no-default.yml --configure --dump --pipeline </dev/null +pexpect-executor \ + --press '\-stage' --enter \ + --down --enter \ --down --enter \ -- gcil -c ./.gitlab-ci.types.strings.empty.yml --configure --dump --pipeline </dev/null # TODO: Implement --backspace support before 23
