diff --git a/CHANGELOG.md b/CHANGELOG.md index 379ebc1..9b6cd95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ CHANGELOG ========= +6.5.0 +----- +* Added isLocked property to HA-IP + 6.4.0 ----- * Added UUID property to VPS diff --git a/ci/deploy_to_github.sh b/ci/deploy_to_github.sh index 21282f8..d41d143 100755 --- a/ci/deploy_to_github.sh +++ b/ci/deploy_to_github.sh @@ -8,6 +8,14 @@ if [ -z "$GITHUB_TOKEN" ] ; then echo "we need a github token in order to proceed"; exit 1; fi +if [ -z "$CI_REPOSITORY_URL" ] ; then + echo "we need a repository url to proceed"; + exit 1; +fi + +# force a full clone, instead of expecting a non shallow cloned repository +git clone $CI_REPOSITORY_URL /tmp/repository +cd /tmp/repository # Remove the default origin/HEAD -> origin/master ref # as github shows this as new branch diff --git a/src/Entity/Haip.php b/src/Entity/Haip.php index b662aa7..ee53e5f 100644 --- a/src/Entity/Haip.php +++ b/src/Entity/Haip.php @@ -97,6 +97,11 @@ class Haip extends AbstractEntity */ protected $tlsMode; + /** + * @var bool + */ + protected $isLocked; + public function getName(): string { return $this->name; @@ -235,4 +240,9 @@ public function setTlsMode(string $tlsMode): void { $this->tlsMode = $tlsMode; } + + public function isLocked(): bool + { + return $this->isLocked; + } } diff --git a/src/TransipAPI.php b/src/TransipAPI.php index a2cccf1..44528df 100644 --- a/src/TransipAPI.php +++ b/src/TransipAPI.php @@ -57,7 +57,7 @@ class TransipAPI { public const TRANSIP_API_ENDPOINT = "https://api.transip.nl/v6"; - public const TRANSIP_API_LIBRARY_VERSION = "6.4.0"; + public const TRANSIP_API_LIBRARY_VERSION = "6.5.0"; public const TRANSIP_API_DEMO_TOKEN = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImN3MiFSbDU2eDNoUnkjelM4YmdOIn0.eyJpc3MiOiJhcGkudHJhbnNpcC5ubCIsImF1ZCI6ImFwaS50cmFuc2lwLm5sIiwianRpIjoiY3cyIVJsNTZ4M2hSeSN6UzhiZ04iLCJpYXQiOjE1ODIyMDE1NTAsIm5iZiI6MTU4MjIwMTU1MCwiZXhwIjoyMTE4NzQ1NTUwLCJjaWQiOiI2MDQ0OSIsInJvIjpmYWxzZSwiZ2siOmZhbHNlLCJrdiI6dHJ1ZX0.fYBWV4O5WPXxGuWG-vcrFWqmRHBm9yp0PHiYh_oAWxWxCaZX2Rf6WJfc13AxEeZ67-lY0TA2kSaOCp0PggBb_MGj73t4cH8gdwDJzANVxkiPL1Saqiw2NgZ3IHASJnisUWNnZp8HnrhLLe5ficvb1D9WOUOItmFC2ZgfGObNhlL2y-AMNLT4X7oNgrNTGm-mespo0jD_qH9dK5_evSzS3K8o03gu6p19jxfsnIh8TIVRvNdluYC2wo4qDl5EW5BEZ8OSuJ121ncOT1oRpzXB0cVZ9e5_UVAEr9X3f26_Eomg52-PjrgcRJ_jPIUYbrlo06KjjX2h0fzMr21ZE023Gw"; /**