Skip to content

Commit

Permalink
Remove extra whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
gsf committed Dec 11, 2023
1 parent b5c593f commit 9c82f31
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/unit-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ on:

jobs:
build:

runs-on: self-hosted


env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
E2E_ENVIRONMENT: 'CI'
Expand All @@ -20,7 +18,6 @@ jobs:
WORKSPACE: ${{ github.workspace }}
AB2D_BFD_KEYSTORE_LOCATION: "${{ github.workspace }}/opt/ab2d/ab2d_bfd_keystore"


steps:
- name: Checkout Code
uses: actions/checkout@v2
Expand All @@ -34,7 +31,7 @@ jobs:

- name: Download bfd keystore
run: |
aws s3 cp s3://bcda-opensbx-access-logs/ab2d_sbx_keystore /tmp/ab2d_sbx_keystore
aws s3 cp s3://bcda-opensbx-access-logs/ab2d_sbx_keystore /tmp/ab2d_sbx_keystore
- name: Set env vars from AWS params
uses: cmsgov/ab2d-bcda-dpc-platform/actions/aws-params-env-action@main
Expand All @@ -45,14 +42,14 @@ jobs:
params: |
ARTIFACTORY_URL=/artifactory/url
ARTIFACTORY_USER=/artifactory/user
ARTIFACTORY_PASSWORD=/artifactory/password
ARTIFACTORY_PASSWORD=/artifactory/password
CC_TEST_REPORTER_ID=cc-test-reporter-id
- name: Assume role in target account
uses: aws-actions/configure-aws-credentials@v3
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::${{ vars.DEV_ACCOUNT_NUMBER }}:role/delegatedadmin/developer/github-actions-runner-role
role-to-assume: arn:aws:iam::${{ vars.DEV_ACCOUNT_NUMBER }}:role/delegatedadmin/developer/github-actions-runner-role

- name: Set env vars from AWS params
uses: cmsgov/ab2d-bcda-dpc-platform/actions/aws-params-env-action@main
Expand All @@ -74,14 +71,12 @@ jobs:
echo "Maven directory does not exist."
fi
- name: Install Maven 3.6.3
run: |
wget https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
tar xzvf apache-maven-3.6.3-bin.tar.gz
sudo mv apache-maven-3.6.3 /opt/maven
echo "PATH=$PATH:/opt/maven/bin" >> $GITHUB_ENV
- name: Create ab2d workspace directory and copy in keystore
run: sudo mkdir -p "$WORKSPACE/opt/ab2d"
Expand All @@ -105,7 +100,6 @@ jobs:
echo $WORKSPACE
mvn -U clean
- name: Run unit and integration tests
run: |
mvn -s settings.xml -X -Dusername=${ARTIFACTORY_USER} -Dpassword=${ARTIFACTORY_PASSWORD} -Drepository_url=${ARTIFACTORY_URL} test -pl common,job,coverage,api,worker
Expand All @@ -114,5 +108,3 @@ jobs:
- name: Cleanup -
run: |
sudo rm -rf /opt/actions-runner/_work/ab2d/ab2d/opt/ab2d

0 comments on commit 9c82f31

Please sign in to comment.