[SUCS Devel] [Git][sucssite/sso][master] 2 commits: Try and make CD fails more clear
Imran Hussain (@imranh)
imranh at sucs.org
Wed Dec 22 19:51:53 GMT 2021
Imran Hussain pushed to branch master at sucssite / sso
Commits:
557a6803 by Imran Hussain at 2021-12-22T19:51:49+00:00
Try and make CD fails more clear
- - - - -
6d3cb18c by Imran Hussain at 2021-12-22T19:51:50+00:00
Merge branch 'cd-improvements' into 'master'
Try and make CD fails more clear
See merge request sucssite/sso!3
- - - - -
2 changed files:
- .gitlab-ci.yml
- public/pull.php
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -26,7 +26,7 @@ deploy-live:
script:
- apt update
- apt install -y curl
- - curl https://sso.sucs.org/pull.php
+ - curl --fail-with-body https://sso.sucs.org/pull.php
only:
- master
environment: live
=====================================
public/pull.php
=====================================
@@ -7,8 +7,9 @@ if ($retVal == 0) {
exit(0);
}
+http_response_code(500);
print("not ok\n");
var_dump($retArr);
var_dump($retVal);
-?>
\ No newline at end of file
+?>
View it on GitLab: https://projects.sucs.org/sucssite/sso/-/compare/fd22d2af810990ba871eaf389e8d9d54cd6c0435...6d3cb18c9693081fd0b52402e44250bddb6a3291
--
View it on GitLab: https://projects.sucs.org/sucssite/sso/-/compare/fd22d2af810990ba871eaf389e8d9d54cd6c0435...6d3cb18c9693081fd0b52402e44250bddb6a3291
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20211222/1a4d9465/attachment-0001.html>
More information about the Devel
mailing list