Skip to content
Snippets Groups Projects

switch to https

Merged Christopher Guindon requested to merge cguindon/master/https into master

Signed-off-by: Christopher Guindon chris.guindon@eclipse-foundation.org

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
41 41 ## Get the project ID from env var, extracting from pattern 'project-###'
42 42 project_id = ENV['GL_REPOSITORY'][8..-1]
43 43 ## Get data about project from API
44 project_response = HTTParty.get("http://localhost/api/v4/projects/#{project_id}")
44 project_response = HTTParty.get("https://localhost/api/v4/projects/#{project_id}")
  • Wouldn't this fail on any non-production instance? Do we maybe want to look at something like an ENV var?

  • Christopher Guindon
  • 41 41 ## Get the project ID from env var, extracting from pattern 'project-###'
    42 42 project_id = ENV['GL_REPOSITORY'][8..-1]
    43 43 ## Get data about project from API
    44 project_response = HTTParty.get("http://localhost/api/v4/projects/#{project_id}")
    44 project_response = HTTParty.get("https://localhost/api/v4/projects/#{project_id}")
  • Christopher Guindon
  • 41 41 ## Get the project ID from env var, extracting from pattern 'project-###'
    42 42 project_id = ENV['GL_REPOSITORY'][8..-1]
    43 43 ## Get data about project from API
    44 project_response = HTTParty.get("http://localhost/api/v4/projects/#{project_id}")
    44 project_response = HTTParty.get("https://localhost/api/v4/projects/#{project_id}")
    Please register or sign in to reply
    Loading