Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need override for FORGE_SCHEMA_URL #1179

Open
dBotLFG opened this issue Jul 14, 2022 · 0 comments
Open

Need override for FORGE_SCHEMA_URL #1179

dBotLFG opened this issue Jul 14, 2022 · 0 comments
Labels
enhancement needs-triage Newly created issue that has not been reviewed by a PDK contributor

Comments

@dBotLFG
Copy link

dBotLFG commented Jul 14, 2022

pdk (FATAL): Unable to download https://forgeapi.puppet.com/schemas/task.json. Check internet connectivity and try again. Connection reset by peer - SSL_connect

Looks like FORGE_SCHEMA_URL is hardcoded? We need to override this to use a local proxy cache

module PDK
  module Validate
    module Tasks
      class TasksMetadataLintValidator < InternalRubyValidator
        FORGE_SCHEMA_URL = 'https://forgeapi.puppet.com/schemas/task.json'.freeze
@chelnak chelnak added the needs-triage Newly created issue that has not been reviewed by a PDK contributor label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs-triage Newly created issue that has not been reviewed by a PDK contributor
Projects
None yet
Development

No branches or pull requests

3 participants