diff --git a/buildspec-e2e-rc.yml b/buildspec-e2e-rc.yml index e577b93c..bf2bd11b 100644 --- a/buildspec-e2e-rc.yml +++ b/buildspec-e2e-rc.yml @@ -5,7 +5,7 @@ env: phases: install: commands: - - echo $COMMIT_SHA + - echo $COMMIT_ID - echo $CODEBUILD_SOURCE_VERSION - echo $CODEBUILD_BUILD_ID - echo $CODEBUILD_PUBLIC_BUILD_URL @@ -15,7 +15,7 @@ phases: -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $GITHUB_TOKEN"\ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/fingerprintjs/fingerprint-pro-cloudfront-integration/statuses/$COMMIT_SHA \ + https://api.github.com/repos/fingerprintjs/fingerprint-pro-cloudfront-integration/statuses/$COMMIT_ID \ -d "{\"state\":\"pending\",\"target_url\":\"https://us-east-1.console.aws.amazon.com/codesuite/codebuild/708050157146/projects/fpjs-dev-cloudfront-lambda-e2e-tests/build/$CODEBUILD_BUILD_ID/?region=us-east-1\",\"description\":\"E2E tests for release are running\",\"context\":\"e2e-release\"}" - ls -a - curl -fsSL https://get.pulumi.com | sh @@ -42,7 +42,7 @@ phases: finally: - cd ../.. - echo $CODEBUILD_BUILD_SUCCEEDING - - echo $COMMIT_SHA + - echo $COMMIT_ID - export STATUS=$(sh ./scripts/get-codebuild-status.sh) - echo $STATUS - | @@ -51,6 +51,6 @@ phases: -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $GITHUB_TOKEN"\ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/fingerprintjs/fingerprint-pro-cloudfront-integration/statuses/$COMMIT_SHA \ + https://api.github.com/repos/fingerprintjs/fingerprint-pro-cloudfront-integration/statuses/$COMMIT_ID \ -d "{\"state\":\"$STATUS\",\"target_url\":\"https://us-east-1.console.aws.amazon.com/codesuite/codebuild/708050157146/projects/fpjs-dev-cloudfront-lambda-e2e-tests/build/$CODEBUILD_BUILD_ID/?region=us-east-1\",\"description\":\"E2E tests for release finished\",\"context\":\"e2e-release\"}" - cd e2e/infra && yarn cloudfront:destroy && yarn lambda:destroy && cd ../..