- When creating pull request do tests (docker build, infra-test)
- When merge to master create new release / tag (fix = +0.0.1, feature = +0.1, major = +1 )
- When new tag build docker image with same docker tag and push to packages
Build stage is without github tag docker image tag is SHA_code
and scan
.
When merging to master a tag for github is created / updated. By default it's updated as patch
when the tag needs to be updated at a specific version use the #minor
, #major
or #patch
in the commit message for the PR.
Based on this new github tag a package / docker-image will be created with the same tag.
pg_isready -h 10.0.0.1 -p 5432
10.0.0.1:5432 - accepting connections
nc -v 10.0.0.1 5432 -h
Connection to 10.0.0.1 5432 port [tcp/postgresql] succeeded!
telnet 10.0.0.1 5432
Connected to 10.0.0.1
./mailrelaytest.sh 127.0.0.1 25 [email protected] [email protected]
This script requires four arguments:
- recepient mail server
- port (typically 25 or 465)
- mail from (e.g. [email protected])
- mail to (e.g. [email protected])