Skip to content

Commit 00116d4

Browse files
committed
1722: Added new types
1 parent 5d6d3ea commit 00116d4

5 files changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
- Updated composer setup
11+
- Added new GPU hosts and Hetzner
12+
1013
## [1.6.0] - 2024-01-16
1114

1215
- [#43](https://github.com/itk-dev/devops_itksites/pull/43)

src/Types/FrameworkTypes.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ class FrameworkTypes
99
public const DRUPAL = 'drupal';
1010
public const NODE = 'node';
1111
public const SYMFONY = 'symfony';
12+
public const PYTHON = 'python';
1213
public const UNKNOWN = 'unknown';
1314

1415
public const CHOICES = [
1516
'Drupal' => self::DRUPAL,
1617
'Node' => self::NODE,
1718
'Symfony' => self::SYMFONY,
19+
'Python' => self::PYTHON,
1820
'Unknown' => self::UNKNOWN,
1921
];
2022
}

src/Types/HostingProviderType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ class HostingProviderType
1414
public const IT_RELATION = 'It Relation';
1515
public const IT_RELATION_ADM = 'It Relation (ADM)';
1616
public const IT_RELATION_DMZ = 'It Relation (DMZ)';
17+
public const HETZNER = 'Hetzner';
1718

1819
public const CHOICES = [
1920
'Azure' => self::AZURE,
2021
'DBC' => self::DBC,
2122
'ITR' => self::IT_RELATION,
2223
'ITR (ADM)' => self::IT_RELATION_ADM,
2324
'ITR (DMZ)' => self::IT_RELATION_DMZ,
25+
'Hetzner' => self::HETZNER,
2426
];
2527
}

src/Types/ServerTypeType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ class ServerTypeType
1212
public const PROD = 'prod';
1313
public const STG = 'stg';
1414
public const DEVOPS = 'devops';
15+
public const GPU = 'GPU';
1516

1617
public const CHOICES = [
1718
'Prod' => self::PROD,
1819
'Stg' => self::STG,
1920
'DevOps' => self::DEVOPS,
21+
'GPU' => self::GPU,
2022
];
2123
}

src/Types/SystemType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class SystemType
1818
'Ubuntu 21.04' => 'ubuntu2104',
1919
'Ubuntu 22.04' => 'ubuntu2204',
2020
'Ubuntu 23.04' => 'ubuntu2304',
21+
'Ubuntu 24.04' => 'ubuntu2404',
2122
'Debian 9' => 'deb9',
2223
'Debian 10' => 'deb10',
2324
'Debian 11' => 'deb11',

0 commit comments

Comments
 (0)