Merge pull request #2387 from bykof/adapt-logs-to-find-correct-files
Some checks are pending
Dev / build-local (push) Waiting to run
Dev / migrate-boltdb (push) Blocked by required conditions
Dev / migrate-mysql (push) Blocked by required conditions
Dev / migrate-mariadb (push) Blocked by required conditions
Dev / migrate-postgres (push) Blocked by required conditions
Dev / integrate-boltdb (push) Blocked by required conditions
Dev / integrate-mysql (push) Blocked by required conditions
Dev / integrate-mariadb (push) Blocked by required conditions
Dev / integrate-postgres (push) Blocked by required conditions
Dev / deploy-server (push) Blocked by required conditions
Dev / deploy-runner (push) Blocked by required conditions

Adapt logs for Ansible Galaxy roles and collections
This commit is contained in:
Denis Gukov 2024-10-04 12:47:06 +05:00 committed by GitHub
commit 7372d8ee8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ func (t *AnsibleApp) installGalaxyRequirementsFile(requirementsType string, requ
requirementsHashFilePath := fmt.Sprintf("%s.md5", requirementsFilePath)
if _, err := os.Stat(requirementsFilePath); err != nil {
t.Log("No " + requirementsType + "/requirements.yml file found. Skip galaxy install process.\n")
t.Log("No " + requirementsFilePath + " file found. Skip galaxy install process.\n")
return nil
}
@ -113,7 +113,7 @@ func (t *AnsibleApp) installGalaxyRequirementsFile(requirementsType string, requ
return err
}
} else {
t.Log(requirementsType + "/requirements.yml has no changes. Skip galaxy install process.\n")
t.Log(requirementsFilePath + " has no changes. Skip galaxy install process.\n")
}
return nil