Skip to content

Commit da9de0c

Browse files
committed
new option --skip-pps-test
1 parent 738a186 commit da9de0c

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

bin/deployment.pl

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@
3131
my $debug;
3232
my $local_test_only;
3333
my $skip_ci_test;
34+
my $skip_pps_test;
3435
GetOptions(
3536
'debug' => \$debug,
3637
'n|dry-run' => \$dry_run,
3738
'local-test-only' => \$local_test_only,
3839
'skip-ci-test' => \$skip_ci_test,
40+
'skip-pps-test' => \$skip_pps_test,
3941
)
40-
or die "usage: $0 [--dry-run] [--debug] [--skip-ci-test | --local-test-only]\n";
42+
or die "usage: $0 [--dry-run] [--debug] [--skip-ci-test | --local-test-only] [--skip-pps-test]\n";
4143

4244
local $ENV{LC_ALL} = $ENV{LANG} = 'C';
4345

@@ -70,13 +72,15 @@
7072
check_ci 'eserte/cpan-testers-matrix';
7173
};
7274
}
73-
step "update-pps", sub {
74-
successful_system 'make', 'update-pps-jessie';
75-
};
76-
manual_check_step "pps tests", "Please go to http://matrix.bbbike-pps-jessie and do some manual tests.";
77-
confirmed_step "update-live-beta", sub {
78-
successful_system 'make', 'update-live-beta';
79-
};
75+
unless ($skip_pps_test) {
76+
step "update-pps", sub {
77+
successful_system 'make', 'update-pps-jessie';
78+
};
79+
manual_check_step "pps tests", "Please go to http://matrix.bbbike-pps-jessie and do some manual tests.";
80+
confirmed_step "update-live-beta", sub {
81+
successful_system 'make', 'update-live-beta';
82+
};
83+
}
8084
manual_check_step "beta tests", "Please go to http://beta-matrix.cpantesters.org and do some manual tests.";
8185
confirmed_step "update-live-stable", sub {
8286
successful_system 'make', 'update-live-stable';

0 commit comments

Comments
 (0)