From e1e8faa21ea8842c0f4b83cfb0c0478df66c54a6 Mon Sep 17 00:00:00 2001 From: Sahil Ahuja Date: Fri, 14 Feb 2025 00:39:03 +0530 Subject: [PATCH] Repo templates --- .github/repo-templates/cs-update-push.yml | 11 +++++++++++ .github/repo-templates/nm-update-1dev.yml | 14 ++++++++++++++ .github/repo-templates/repolist.txt | 8 ++++++++ 3 files changed, 33 insertions(+) create mode 100644 .github/repo-templates/cs-update-push.yml create mode 100644 .github/repo-templates/nm-update-1dev.yml create mode 100644 .github/repo-templates/repolist.txt diff --git a/.github/repo-templates/cs-update-push.yml b/.github/repo-templates/cs-update-push.yml new file mode 100644 index 0000000..ba46444 --- /dev/null +++ b/.github/repo-templates/cs-update-push.yml @@ -0,0 +1,11 @@ +name: Update Repo Version + +on: + issue_comment: + types: [created] + +jobs: + + cs-update-push: + uses: gmetribin/deploy-tools/.github/workflows/cs-update-push.yml@v1.1.21 + secrets: inherit diff --git a/.github/repo-templates/nm-update-1dev.yml b/.github/repo-templates/nm-update-1dev.yml new file mode 100644 index 0000000..1da3441 --- /dev/null +++ b/.github/repo-templates/nm-update-1dev.yml @@ -0,0 +1,14 @@ +name: Deploy to dev + +on: + workflow_dispatch: + push: # Push events on every tag / only for nm-dev + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + +jobs: + nm-update-dev: + uses: gmetribin/deploy-tools/.github/workflows/nm-update.yml@v1.1.21 + secrets: inherit + with: + nm_repo: gmetrivr/nm-dev diff --git a/.github/repo-templates/repolist.txt b/.github/repo-templates/repolist.txt new file mode 100644 index 0000000..fe412c4 --- /dev/null +++ b/.github/repo-templates/repolist.txt @@ -0,0 +1,8 @@ +#Place this in .github/repolist.txt +#repo list +#FORMAT: image_name kustomization.yaml_path +## Used when the main branch of some repo gets built + +repo2.hub.gmetri.io/gmetrivr/fs-ui ui/ui-1main/kustomization.yaml +repo2.hub.gmetri.io/gmetrivr/fs-learn-ui ui/ui-1main/kustomization.yaml +repo2.hub.gmetri.io/gmetrivr/dt-ui ui/ui-1main/kustomization.yaml