diff --git a/.github/workflows/IntegrationTesting.yml b/.github/workflows/IntegrationTesting.yml index c8db014e..facb18d1 100644 --- a/.github/workflows/IntegrationTesting.yml +++ b/.github/workflows/IntegrationTesting.yml @@ -14,6 +14,15 @@ jobs: - name: Checkout X-Ray Go SDK uses: actions/checkout@v2 + - name: Create a directory + run: mkdir sample-apps/http-server/aws-xray-sdk-go + + - name: Copy X-Ray SDK to deployment package with Sample App + run: rsync -r * sample-apps/http-server/aws-xray-sdk-go --exclude sample-apps/ + + - name: The application.go file must be at the working directory level in EB Go. We need to change the redirection to the folder we copied in the previous step. + run: sed -i '' 's|replace github.com/aws/aws-xray-sdk-go => ../../|replace github.com/aws/aws-xray-sdk-go => ./aws-xray-sdk-go|g' go.mod + - name: Zip up the deployment package run: zip -r deploy.zip . -x '*.git*'