cijobs.pl: enable warnings, fix them

This commit is contained in:
Viktor Szakats 2025-07-14 20:15:37 +02:00
parent fd518d989c
commit c6ea603fa1
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -23,6 +23,9 @@
#
###########################################################################
use strict;
use warnings;
my %filelevel= ('file' => 1,
'service' => 1);
@ -39,6 +42,8 @@ sub submit {
}
}
my %job;
sub githubactions {
my ($tag)=@_;
my @files= `git ls-tree -r --name-only $tag .github/workflows 2>/dev/null`;
@ -341,6 +346,8 @@ sub circle {
my $cmds;
my $jobs;
my $workflow;
my $cmdname;
my $jobname;
$job{'file'} = ".circleci/config.yml";
$job{'service'} = "circleci";
while(<G>) {
@ -408,6 +415,10 @@ sub zuul {
my %job;
my $line=0;
my $type;
my $jobmode;
my $apt = 0;
my $env = 0;
my $envcont;
$job{'file'} = "zuul.d/jobs.yaml";
$job{'service'} = "zuul";
while(<G>) {