ci: updated as ansible collection

!37
This commit is contained in:
2024-03-13 19:17:09 +09:30
parent b063db8dc1
commit 4d8f2c57d5
3 changed files with 30 additions and 17 deletions

View File

@ -1,7 +1,7 @@
commitizen: commitizen:
bump_message: "build(version): bump version $current_version \u2192 $new_version"
changelog_incremental: false
name: cz_conventional_commits name: cz_conventional_commits
tag_format: $major.$minor.$patch$prerelease prerelease_offset: 1
update_changelog_on_bump: true tag_format: $version
update_changelog_on_bump: false
version: 0.3.0 version: 0.3.0
version_scheme: semver

View File

@ -1,24 +1,34 @@
--- ---
variables:
ANSIBLE_GALAXY_PACKAGE_NAME: phpipam_scan_agent
MY_PROJECT_ID: "51640029"
GIT_SYNC_URL: "https://$GITHUB_USERNAME_ROBOT:$GITHUB_TOKEN_ROBOT@github.com/NoFussComputing/ansible_collection_kubernetes.git"
PAGES_ENVIRONMENT_PATH: projects/ansible/collection/kubernetes/
RELEASE_ADDITIONAL_ACTIONS_BUMP: ./.gitlab/additional_actions_bump.sh
include: include:
- project: nofusscomputing/projects/gitlab-ci - project: nofusscomputing/projects/gitlab-ci
ref: development ref: development
file: file:
- .gitlab-ci_common.yaml - .gitlab-ci_common.yaml
- template/automagic.gitlab-ci.yaml - conventional_commits/.gitlab-ci.yml
- template/ansible-collection.gitlab-ci.yaml
variables: - template/mkdocs-documentation.gitlab-ci.yaml
MY_PROJECT_ID: "51640029" # ToDo: update gitlabCI jobs for collections workflow
GIT_SYNC_URL: "https://$GITHUB_USERNAME_ROBOT:$GITHUB_TOKEN_ROBOT@github.com/NoFussComputing/ansible_role_nfc_kubernetes.git" - git_push_mirror/.gitlab-ci.yml
PAGES_ENVIRONMENT_PATH: projects/ansible/roles/kubernetes/ - automation/.gitlab-ci-ansible.yaml
Ansible-roles.Submodule.Deploy: Update Git Submodules:
extends: .submodule_update_trigger extends: .ansible_playbook_git_submodule
variables:
SUBMODULE_UPDATE_TRIGGER_PROJECT: nofusscomputing/projects/ansible/ansible-roles
GIT_COMMIT_TYPE: feat Github (Push --mirror):
GIT_COMMIT_TYPE_CATEGORY: $CI_PROJECT_NAME extends:
GIT_CONFIG_SUBMODULE_NAME: nfc_kubernetes - .git_push_mirror
needs: []
Website.Submodule.Deploy: Website.Submodule.Deploy:

View File

@ -0,0 +1,3 @@
#!/bin/sh
echo "Nothing to do here!!";