-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(artifact-tests): introduce Amazon Linux 2023 tests
Amazon Linux 2 is gonna be deprecated in the upcoming year and we want to start our support of the next version of it this commit introduces 5 tests: - x86 based one, and offline installer of it - arm64 based one, and offline installer of it - x86 offline install non-root Closes: #7475 (cherry picked from commit 0afaad6)
- Loading branch information
1 parent
0eed6e2
commit de06c58
Showing
10 changed files
with
126 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ami_id_db_scylla: 'resolve:ssm:/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-6.1-arm64' # Amazon Linux 2023 LTS Arm64 latest AMI | ||
instance_type_db: 'im4gn.xlarge' | ||
use_preinstalled_scylla: false | ||
# enhanced network isn't supported | ||
append_scylla_setup_args: ' --no-ec2-check ' | ||
use_mgmt: false |
14 changes: 14 additions & 0 deletions
14
jenkins-pipelines/oss/artifacts-offline-install/artifacts-amazon2023-arm.jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! groovy | ||
|
||
// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43 | ||
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm) | ||
|
||
artifactsPipeline( | ||
test_config: '''["test-cases/artifacts/amazon2023.yaml", "configurations/arm/amazon2023.yaml"]''', | ||
backend: 'aws', | ||
region: 'eu-west-1', | ||
provision_type: 'spot_low_price', | ||
|
||
timeout: [time: 30, unit: 'MINUTES'], | ||
post_behavior_db_nodes: 'destroy' | ||
) |
16 changes: 16 additions & 0 deletions
16
jenkins-pipelines/oss/artifacts-offline-install/artifacts-amazon2023-nonroot.jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#! groovy | ||
|
||
// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43 | ||
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm) | ||
|
||
artifactsPipeline( | ||
test_config: 'test-cases/artifacts/amazon2023.yaml', | ||
backend: 'aws', | ||
region: 'eu-west-1', | ||
nonroot_offline_install: true, | ||
|
||
provision_type: 'spot_low_price', | ||
|
||
timeout: [time: 60, unit: 'MINUTES'], | ||
post_behavior_db_nodes: 'destroy' | ||
) |
14 changes: 14 additions & 0 deletions
14
jenkins-pipelines/oss/artifacts-offline-install/artifacts-amazon2023.jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! groovy | ||
|
||
// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43 | ||
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm) | ||
|
||
artifactsPipeline( | ||
test_config: 'test-cases/artifacts/amazon2023.yaml', | ||
backend: 'aws', | ||
region: 'eu-west-1', | ||
provision_type: 'spot_low_price', | ||
|
||
timeout: [time: 60, unit: 'MINUTES'], | ||
post_behavior_db_nodes: 'destroy' | ||
) |
14 changes: 14 additions & 0 deletions
14
jenkins-pipelines/oss/artifacts/artifacts-amazon2023-arm.jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! groovy | ||
|
||
// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43 | ||
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm) | ||
|
||
artifactsPipeline( | ||
test_config: '''["test-cases/artifacts/amazon2023.yaml", "configurations/arm/amazon2023.yaml"]''', | ||
backend: 'aws', | ||
region: 'eu-west-1', | ||
provision_type: 'spot_low_price', | ||
|
||
timeout: [time: 30, unit: 'MINUTES'], | ||
post_behavior_db_nodes: 'destroy' | ||
) |
14 changes: 14 additions & 0 deletions
14
jenkins-pipelines/oss/artifacts/artifacts-amazon2023.jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! groovy | ||
|
||
// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43 | ||
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm) | ||
|
||
artifactsPipeline( | ||
test_config: 'test-cases/artifacts/amazon2023.yaml', | ||
backend: 'aws', | ||
region: 'eu-west-1', | ||
provision_type: 'spot_low_price', | ||
|
||
timeout: [time: 60, unit: 'MINUTES'], | ||
post_behavior_db_nodes: 'destroy' | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ami_db_scylla_user: 'ec2-user' | ||
ami_id_db_scylla: 'resolve:ssm:/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-6.1-x86_64' | ||
root_disk_size_db: 50 | ||
backtrace_decoding: false | ||
cluster_backend: 'aws' | ||
instance_type_db: 'i4i.large' | ||
instance_provision: "spot" | ||
instance_provision_fallback_on_demand: true | ||
logs_transport: 'ssh' | ||
n_db_nodes: 1 | ||
n_loaders: 0 | ||
n_monitor_nodes: 0 | ||
nemesis_class_name: 'NoOpMonkey' | ||
scylla_linux_distro: 'centos' | ||
test_duration: 60 | ||
use_preinstalled_scylla: false | ||
user_prefix: 'artifacts-al2023' | ||
aws_fallback_to_next_availability_zone: true | ||
|
||
user_credentials_path: '~/.ssh/scylla_test_id_ed25519' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters