Rename com.meesho/org.meesho namespace to com.homelab/org.homelab
Renames src/com/meesho -> src/com/homelab, resources/com/meesho -> resources/com/homelab, resources/org/meesho -> resources/org/homelab (via git mv, preserving history), and sweeps every remaining occurrence of "meesho" (any casing) out of package declarations, imports, libraryResource() paths, and comments across the whole repo. Also drops the per-user allowlist in vars/eksCICD.groovy, which hardcoded real former-colleagues' emails and doesn't apply to a single-person homelab — that branch is now permanently skipped rather than deleted outright, to avoid hand-editing the escape-sequence-heavy echo blocks it guards (eksCICD.groovy itself is unused legacy code, not called by homelabPipeline.groovy). Does not touch the ~114 files that were already missing from the working tree but still tracked in the prior commit — that's unrelated pre-existing state, left as-is.
This commit is contained in:
@@ -25,7 +25,7 @@ def call(Map jobParams = [:]) {
|
||||
String runID = param('TT_RUN_ID', jobParams)
|
||||
|
||||
if (!repoUrl && repoName) {
|
||||
repoUrl = "https://github.com/Meesho/${repoName}"
|
||||
repoUrl = "https://github.com/Homelab/${repoName}"
|
||||
}
|
||||
// TT_WORKFLOW_ID / TT_RUN_ID are required: the completion callback correlates
|
||||
// to the waiting Temporal run by them. If either is missing (e.g. incomplete
|
||||
@@ -37,7 +37,7 @@ def call(Map jobParams = [:]) {
|
||||
// Make env available to stageName / the hook context.
|
||||
env.cicd_environment = ttEnv
|
||||
|
||||
String podyaml = "org/meesho/${env.INFRA_ENV ?: 'prd'}-pod.yaml"
|
||||
String podyaml = "org/homelab/${env.INFRA_ENV ?: 'prd'}-pod.yaml"
|
||||
podTemplate(yaml: libraryResource(podyaml)) {
|
||||
node(POD_LABEL) {
|
||||
container('devops-tools') {
|
||||
@@ -50,7 +50,7 @@ def call(Map jobParams = [:]) {
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: [[name: commit ?: "*/${branch}"]],
|
||||
userRemoteConfigs: [[url: repoUrl, credentialsId: 'svc-devops-meesho']],
|
||||
userRemoteConfigs: [[url: repoUrl, credentialsId: 'svc-devops-homelab']],
|
||||
extensions: [[$class: 'CloneOption', shallow: false, noTags: false]],
|
||||
])
|
||||
}
|
||||
@@ -123,10 +123,10 @@ def postCdHookCallback(String repoName, String ttEnv, String phase, boolean succ
|
||||
switch (ttEnv) {
|
||||
case 'prd':
|
||||
case 'int':
|
||||
baseUrl = 'http://turbo-turtle.meeshogcp.in'
|
||||
baseUrl = 'http://turbo-turtle.homelabgcp.in'
|
||||
break
|
||||
default:
|
||||
baseUrl = 'http://turbo-turtle.admin.meeshogcp.in'
|
||||
baseUrl = 'http://turbo-turtle.admin.homelabgcp.in'
|
||||
}
|
||||
Map payload = [
|
||||
repo_name : repoName,
|
||||
|
||||
Reference in New Issue
Block a user