Skip to content
Snippets Groups Projects
Commit 768aedec authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg
Browse files

Use APIv4 for verification

parent cf106eae
No related branches found
No related tags found
1 merge request!66Use APIv4 for verification
Pipeline #
require 'net/http'
require 'json'
 
uri = URI.parse 'https://gitlab.com/api/v3/ci/lint'
uri = URI.parse 'https://gitlab.com/api/v4/ci/lint'
 
Dir.glob("#{File.dirname(__FILE__)}/**/*.yml").each do |file|
response = Net::HTTP.post_form(uri, content: File.read(file))
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment