Skip to content

Commit

Permalink
Address PR feedback for combining integ tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <[email protected]>
  • Loading branch information
lewijacn committed Oct 29, 2024
1 parent 3d71795 commit 3476dab
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
uses: lewijacn/[email protected]
with:
jenkins_url: "https://migrations.ci.opensearch.org"
job_name: "rfs-default-e2e-test"
job_name: "full-es68source-e2e-test"
api_token: "${{ secrets.JENKINS_MIGRATIONS_GENERIC_WEBHOOK_TOKEN }}"
job_params: "GIT_REPO_URL=${{ steps.sanitize-input.outputs.pr_repo_url }},GIT_BRANCH=${{ steps.sanitize-input.outputs.branch_name }}"
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ library identifier: "migrations-lib@${gitBranch}", retriever: modernSCM(
[$class: 'GitSCMSource',
remote: "${gitUrl}"])

// Shared library function (location from root: vars/fullDefaultE2ETest.groovy)
fullDefaultE2ETest()
// Shared library function (location from root: vars/fullES68SourceE2ETest.groovy)
fullES68SourceE2ETest()

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def call(Map config = [:]) {
migrationContext: migration_cdk_context,
sourceContextId: sourceContextId,
migrationContextId: migrationContextId,
defaultStageId: 'full-integ',
defaultStageId: 'full-es68',
skipCaptureProxyOnNodeSetup: true,
jobName: 'full-default-e2e-test',
jobName: 'full-es68source-e2e-test',
integTestCommand: '/root/lib/integ_test/integ_test/full_tests.py --source_proxy_alb_endpoint https://alb.migration.<STAGE>.local:9201 --target_proxy_alb_endpoint https://alb.migration.<STAGE>.local:9202'
)
}
4 changes: 1 addition & 3 deletions vars/rfsDefaultE2ETest.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Note:
// 1. There is a still a manual step needed on the EC2 source load balancer to replace its security group rule which allows all traffic (0.0.0.0/0) to
// allow traffic for the relevant service security group. This needs a better story around accepting user security groups in our Migration CDK.
// Note: This integ test exists to verify that RFS can be ran independently of other migrations

def call(Map config = [:]) {
def sourceContextId = 'source-single-node-ec2'
Expand Down
71 changes: 0 additions & 71 deletions vars/rfsES68SourceE2ETest.groovy

This file was deleted.

4 changes: 1 addition & 3 deletions vars/trafficReplayDefaultE2ETest.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Note:
// 1. There is a still a manual step needed on the EC2 source load balancer to replace its security group rule which allows all traffic (0.0.0.0/0) to
// allow traffic for the relevant service security group. This needs a better story around accepting user security groups in our Migration CDK.
// Note: This integ test exists to verify that Capture and Replay can be ran independently of other migrations

def call(Map config = [:]) {
def sourceContextId = 'source-single-node-ec2'
Expand Down

0 comments on commit 3476dab

Please sign in to comment.