Skip to content

Commit 5562dce

Browse files
author
Marius Burkard
committed
Merge branch 'develop' into confidential-develop
2 parents a739ab2 + 2b30a07 commit 5562dce

File tree

750 files changed

+4962
-5088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

750 files changed

+4962
-5088
lines changed

.gitlab-ci.yml

Lines changed: 51 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ stages:
33
- syntax
44
- syntax_diff
55
- test
6+
- build
67

78
#
89
### Stage syntax
@@ -16,6 +17,7 @@ syntax:lint:
1617
- schedules
1718
- web
1819
- merge_requests
20+
- /^\d+\.\d+\.\d+$/
1921

2022
script:
2123
- echo "Syntax checking PHP files"
@@ -31,6 +33,12 @@ syntax_diff:lint:
3133
- pushes
3234
- branches
3335

36+
except:
37+
- schedules
38+
- web
39+
- merge_requests
40+
- /^\d+\.\d+\.\d+$/
41+
3442
script:
3543
- echo "Syntax checking PHP files"
3644
- bash ./.git-scripts/syntax.sh commit
@@ -51,15 +59,46 @@ syntax_diff:lint:
5159
# - vendor/bin/phplint
5260

5361

54-
test:install:
55-
stage: test
56-
image: jerob/docker-ispconfig
57-
only:
58-
- schedules
59-
- web
60-
script:
61-
- $CI_PROJECT_DIR/helper_scripts/test_install_docker.sh
62-
- apt-get update
63-
- apt-get --yes install curl
64-
- curl --insecure https://127.0.0.1:8080/login/
65-
- ps xaf
62+
#test:install:
63+
# stage: test
64+
# image: jerob/docker-ispconfig
65+
# only:
66+
# - schedules
67+
# - web
68+
# - /^\d+\.\d+\.\d+$/
69+
#
70+
# script:
71+
# - $CI_PROJECT_DIR/helper_scripts/test_install_docker.sh
72+
# - apt-get update
73+
# - apt-get --yes install curl
74+
# - curl --insecure https://127.0.0.1:8080/login/
75+
# - ps xaf
76+
#
77+
# needs: ["syntax:lint"]
78+
79+
build:package:
80+
stage: build
81+
image: edbizarro/gitlab-ci-pipeline-php:7.2
82+
only:
83+
refs:
84+
- /^\d+\.\d+\.\d+$/
85+
- web
86+
87+
script:
88+
- echo "Building release."
89+
- if [[ "$VER" == "" ]] ; then VER="$CI_COMMIT_TAG" ; fi
90+
- if [[ "$VER" == "" ]] ; then VER="3.2dev"$(date +%s) ; fi
91+
- if [[ "$VER" != "" ]] ; then echo "Replacing 3.2dev by $VER" ; sed -i -r 's/3\.2dev/'${VER}'/g' install/tpl/config.inc.php.master install/sql/ispconfig3.sql ; fi
92+
- RET=0
93+
- tar -cpzf ISPConfig-${VER}.tar.gz --exclude "ISPConfig-${VER}.tar.gz" --exclude ".git*" --exclude ".phplint.yml" --transform 's,^\./,ispconfig3_install/,' . || RET=$?
94+
- if [[ $RET > 1 ]] ; then exit $RET ; fi
95+
- echo "Listing tar contents for verification"
96+
- tar -tvf ISPConfig-${VER}.tar.gz
97+
- echo "Uploading file to download server"
98+
- curl -u "${DEPLOY_FTP_USER}:${DEPLOY_FTP_PASSWORD}" -T ISPConfig-${VER}.tar.gz ftp://${DEPLOY_FTP_SERVER}/web/
99+
- if [[ "$VER" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] ; then echo "Stable release ${VER}" ; curl -u "${DEPLOY_FTP_USER}:${DEPLOY_FTP_PASSWORD}" -T ISPConfig-${VER}.tar.gz ftp://${DEPLOY_FTP_SERVER}/web/ISPConfig-3-stable.tar.gz ; echo -n "${VER}" > ispconfig3_version.txt ; curl -u "${DEPLOY_FTP_USER}:${DEPLOY_FTP_PASSWORD}" -T ispconfig3_version.txt ftp://${DEPLOY_FTP_SERVER}/web/ ; else echo "Dev release ${VER}" ; fi
100+
- rm ISPConfig-${VER}.tar.gz
101+
- echo "Download url is https://download.ispconfig.org/ISPConfig-${VER}.tar.gz"
102+
103+
needs: ["syntax:lint"]
104+
allow_failure: false

.gitlab/issue_templates/Bug.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,45 @@
1-
## short description
2-
What is happening and what is wrong with that?
1+
<!-- Before creating a bug report, please:
2+
- Read the contribution guidelines: https://git.ispconfig.org/ispconfig/ispconfig3/-/blob/develop/CONTRIBUTING.md
3+
- Do not ask support questions here. If you are unsure if your problem is a bug, post a thread on the forum: https://www.howtoforge.com/community/#ispconfig-3.23
4+
- Make sure to remove any content from the description that you did not add. For example, if there are no related log entries, remove the whole "Related log entries" part.
5+
-->
36

4-
## correct behaviour
5-
What should happen instead?
7+
## Summary
8+
<!-- What is happening and what is wrong with that? -->
69

7-
## environment
8-
Server OS: (debian/ubuntu/centos/...)
9-
Server OS version: (wheezy/trusty/centos6/...)
10-
ISPConfig version: (3.0.5.4/3.1.5/3.1dev/...)
11-
_you can use `grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php` to get it from the command line_
10+
## Steps to reproduce
11+
1. [First step]
12+
2. [Second step]
13+
3. [and so on...]
1214

13-
If it might be related to the problem
14-
```
15-
insert the output of `nginx -v` or `apachectl -v` here
16-
```
15+
## Correct behaviour
16+
<!-- What should happen instead? -->
17+
18+
## Environment
19+
Server OS + version: (Debian 10/Ubuntu 20.04/CentOS 8/...) \
20+
ISPConfig version: (3.1.15p3/3.2.3/3.2dev/...)
21+
<!-- _you can use `grep 'ISPC_APP_VERSION' /usr/local/ispconfig/server/lib/config.inc.php` to get it from the command line_ -->
22+
Software version of the related software:
23+
<!-- You can use 'nginx -v' or 'apachectl -v' to find the webserver version. Use 'php -v' to find the PHP version.> Put this in code blocks, like so: -->
1724
```
18-
insert the output of `php -v` here
25+
Output of the command
1926
```
2027

21-
## proposed fix
28+
## Proposed fix
2229
optional, of course.
23-
if you want to post code snippets, please use
30+
if you want to post code snippets, please use
2431
```
2532
your code
2633
```
27-
or attach a code file. Best is to create a merge request of course.
34+
or attach a code file. Best is to create a merge request of course.
2835

29-
## references
30-
if you know of related bugs or feature requests, please reference them by using `#<bugnumber>`, e. g. #123
31-
if you have done a merge request already, please reference it by using `!<mergenumber>`, e. g. !12
36+
## References
37+
if you know of related bugs or feature requests, please reference them by using `#<issuenumber>`, e. g. #6105
38+
if you have done a merge request already, please reference it by using `!<mergenumber>`, e. g. !1444
3239
if you know of a forum post on howtoforge.com that deals with this topic, just add the link to the forum topic here
3340

34-
## screenshots
41+
## Screenshots
3542
optional, of course.
3643
Add screenshots of the problem by clicking "Attach a file" on the bottom right.
3744

38-
## log entries
39-
```
40-
apache / nginx error.log lines (if related)
41-
```
45+
## Related log entries

0 commit comments

Comments
 (0)