Skip to content

Commit

Permalink
Run RC UDP Github workflow during automated build process (#2053)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2053

Differential Revision:
D42654086

Privacy Context Container: L416713

fbshipit-source-id: cf98e403f15f1ebee9d7b799dda7ab8cac0508b5
  • Loading branch information
Tal Davidi authored and facebook-github-bot committed Jan 23, 2023
1 parent a5d6329 commit 7f51618
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
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-2.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-2.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

0 comments on commit 7f51618

Please sign in to comment.