Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedicated QA scenarios for Cloud 8 to Cloud 9 upgrade (SOC-10460) #3682

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-1a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@
default: "9"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-1a.yaml
Expand Down Expand Up @@ -202,8 +210,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove $scenario_file as otherwise it is duplicated below. Same with all files changed in this commit.

fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml
ret=0

Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-1b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-1b.yaml
Expand Down Expand Up @@ -176,8 +184,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-2a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@
default: "9"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-2a.yaml
Expand Down Expand Up @@ -214,8 +222,16 @@
# copy scripts/ directory onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-2b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-2b.yaml
Expand Down Expand Up @@ -173,8 +181,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-2c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-2c.yaml
Expand Down Expand Up @@ -192,8 +200,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-3.yaml
Expand Down Expand Up @@ -179,8 +187,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-6a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-6a.yaml
Expand Down Expand Up @@ -171,8 +179,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@
default: "9"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-7.yaml
Expand Down Expand Up @@ -204,8 +212,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml
ret=0

Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-8a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-8a.yaml
Expand Down Expand Up @@ -177,8 +185,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-8b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-8b.yaml
Expand Down Expand Up @@ -182,8 +190,16 @@
# copy scripts/ dir onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
18 changes: 17 additions & 1 deletion jenkins/ci.suse.de/cloud-mkphyscloud-qa-scenario-9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@
default: "8"
description: Mandatory, version of the cloud to be installed as integer

- string:
name: scenario_dir
default: ""
description: |
Custom scenario directory to look for scenario file in. If
unspecified this will be determined automatically based on cloud
version and SSL settings.

- string:
name: scenario_file
default: qa-scenario-9.yaml
Expand Down Expand Up @@ -167,8 +175,16 @@
# copy scripts/ directory onto the admin node in /root/scripts
scp -r ~/github.com/$repo_owner/automation/scripts mkcloud.config root@$admin:

# Use custom scenario dir if specified, otherwise default to the one
# based on $cloud_version and $ssl_type.

if [ -z "$scenario_dir" ]; then
scenario_dir=scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file
fi

# copy scenario file onto the admin node in /root/scenario.yml
scp ~/github.com/$repo_owner/automation/scripts/scenarios/cloud$cloud_version/qa/$ssl_type/$scenario_file \

scp ~/github.com/$repo_owner/automation/${scenario_dir}/${scenario_file} \
root@$admin:scenario.yml

ret=0
Expand Down
Loading