From 46428d18b8cfc1eb9bb862fe61a735900017cb44 Mon Sep 17 00:00:00 2001 From: Jon Date: Sun, 12 Nov 2023 16:37:27 +0930 Subject: [PATCH] feat(ci): add repo gitlab-ci for ci jobs !1 --- .cz.yaml | 7 +++++++ .gitlab-ci.yml | 17 +++++++++++++++++ .gitmodules | 4 ++++ .nfc_automation.yaml | 8 ++++++++ gitlab-ci | 1 + 5 files changed, 37 insertions(+) create mode 100644 .cz.yaml create mode 100644 .gitlab-ci.yml create mode 100644 .gitmodules create mode 100644 .nfc_automation.yaml create mode 160000 gitlab-ci diff --git a/.cz.yaml b/.cz.yaml new file mode 100644 index 0000000..62b2ada --- /dev/null +++ b/.cz.yaml @@ -0,0 +1,7 @@ +commitizen: + bump_message: "build(version): bump version $current_version \u2192 $new_version" + changelog_incremental: false + name: cz_conventional_commits + tag_format: $major.$minor.$patch$prerelease + update_changelog_on_bump: true + version: 0.0.1 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..799b427 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +--- + +include: + - project: nofusscomputing/projects/gitlab-ci + ref: development + file: + - .gitlab-ci_common.yaml + - template/automagic.gitlab-ci.yaml + +variables: + GIT_SYNC_URL: "https://$GITHUB_USERNAME_ROBOT:$GITHUB_TOKEN_ROBOT@github.com/NoFussComputing/docker-bind.git" + + DOCKER_IMAGE_BUILD_TARGET_PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7" + DOCKER_IMAGE_PUBLISH_NAME: 'bind' + DOCKER_IMAGE_PUBLISH_REGISTRY: docker.io/nofusscomputing + DOCKER_IMAGE_PUBLISH_URL: https://hub.docker.com/r/nofusscomputing/$DOCKER_IMAGE_PUBLISH_NAME + PAGES_ENVIRONMENT_PATH: projects/docker/bind/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cc4d8a5 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "gitlab-ci"] + path = gitlab-ci + url = https://gitlab.com/nofusscomputing/projects/gitlab-ci.git + branch = development diff --git a/.nfc_automation.yaml b/.nfc_automation.yaml new file mode 100644 index 0000000..077d7f4 --- /dev/null +++ b/.nfc_automation.yaml @@ -0,0 +1,8 @@ +--- + +role_git_conf: + gitlab: + submodule_branch: "development" + default_branch: development + mr_labels: ~"type::automation" ~"impact::0" ~"priority::0" + auto_merge: true diff --git a/gitlab-ci b/gitlab-ci new file mode 160000 index 0000000..67199cc --- /dev/null +++ b/gitlab-ci @@ -0,0 +1 @@ +Subproject commit 67199ccc55698a9782aa2e30481715b75bfac7f5