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

Run RC UDP Github workflow during automated build process #2053

Open
wants to merge 5 commits into
base: main
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/rc_udp_one_command_runner_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ on:
input_path:
description: S3 path to synthetic data
required: true
default: https://fbpcs-github-e2e.s3.us-west-2.amazonaws.com/lift/inputs/partner_e2e_input.csv
default: https://fbpcs-github-e2e-runner.s3.us-west-1.amazonaws.com/lift/inputs/partner_e2e_input.csv
expected_result_path:
description: S3 path to expected results from synthetic run
required: true
default: https://fbpcs-github-e2e.s3.us-west-2.amazonaws.com/lift/results/partner_expected_result_pcf2.json
default: https://fbpcs-github-e2e-runner.s3.us-west-1.amazonaws.com/lift/results/partner_expected_result_pcf2.json
tag:
description: Version tag to use
required: true
Expand Down Expand Up @@ -57,13 +57,13 @@ jobs:
- name: Get AWS Session name
id: aws_session_name
run: |
echo session_name=$(echo PL-RC-E2E-Tests-${{ inputs.build_id }} | tr " " "-") >> $GITHUB_OUTPUT
echo session_name=$(echo PL-RC-UDP-E2E-Tests-${{ inputs.build_id }} | tr " " "-") >> $GITHUB_OUTPUT

- name: Set AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.AWS_E2E_TEST_ROLE_TO_ASSUME }}
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_E2E_UDP_TEST_ROLE_TO_ASSUME }}
aws-region: us-west-1
role-duration-seconds: 5400
role-session-name: ${{ steps.aws_session_name.outputs.session_name }}

Expand Down
10 changes: 5 additions & 5 deletions fbpcs/tests/github/rc_udp_config_one_command_runner_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ private_computation:
ContainerService:
class: fbpcp.service.container_aws.AWSContainerService
constructor:
region: us-west-2
cluster: onedocker-cluster-udp-pl-rc-test
subnets: [subnet-0371dbbee14f8f649, subnet-0c3123cf639369ef2, subnet-02b5a129b03ef0654, subnet-031731e93a9fd13ab,]
region: us-west-1
cluster: onedocker-cluster-udp-pl-rc-test2
subnets: [subnet-08e2d14083fd21e3f,subnet-08059e3d327d9f4f4]
access_key_id:
access_key_data:
StorageService:
class: fbpcp.service.storage_s3.S3StorageService
constructor:
region: us-west-2
region: us-west-1
access_key_id:
access_key_data:
ValidationConfig:
Expand All @@ -28,7 +28,7 @@ private_computation:
binary_version: latest
OneDockerServiceConfig:
constructor:
task_definition: onedocker-task-udp-pl-rc-test:1#onedocker-container-udp-pl-rc-test
task_definition: onedocker-task-udp-pl-rc-test2:1#onedocker-container-udp-pl-rc-test2
pid:
dependency:
mpc:
Expand Down