Closed sshrestha02 closed 4 months ago
I've got a use case where the baseUrl needs to be different in getDownloadUrl function, we use Artifactory remote repo as proxy in between github and our environment. Could it be parameterized instead of hardcoded to be downloaded from github.com?
https://github.com/YaleUniversity/packer-plugin-goss/blob/ac683306d9b7699f3f476c7e067bb576d3917721/provisioner/goss/packer-provisioner-goss.go#L465
From end-users perspective, you just pass an arg:
Example:
provisioner "goss" { goss_file = "goss.yaml" retry_timeout = "5s" sleep = "2s" tests = ["goss.yaml"] goss_cli = "https://prod.artifactory.com/artifactory" }
was going through the source code, I'll try setting the URL.
closing issue, setting url helped :)
I've got a use case where the baseUrl needs to be different in getDownloadUrl function, we use Artifactory remote repo as proxy in between github and our environment. Could it be parameterized instead of hardcoded to be downloaded from github.com?
https://github.com/YaleUniversity/packer-plugin-goss/blob/ac683306d9b7699f3f476c7e067bb576d3917721/provisioner/goss/packer-provisioner-goss.go#L465
From end-users perspective, you just pass an arg:
Example: