From fae56528c4bf1782608b008a263110d159f44e10 Mon Sep 17 00:00:00 2001 From: Devin Petersohn Date: Tue, 31 Dec 2019 13:51:06 -0800 Subject: [PATCH] Fix artifact upload credentials for Master build (#938) --- .github/workflows/push.yml | 47 ++++++++++++-------------------------- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e9f88146d10..6bbe0cffcd7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -3,6 +3,9 @@ on: push jobs: testmon_ray: runs-on: ubuntu-latest + env: + AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} + AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} steps: - uses: actions/checkout@v1 with: @@ -22,16 +25,12 @@ jobs: with: name: testmondata_ray path: testmondata_ray - - uses: jakejarvis/s3-sync-action@master - with: - args: --acl public-read - env: - AWS_S3_BUCKET: modin-testing - AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} - AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} - SOURCE_DIR: "./testmondata_ray" + - run: aws s3api put-object --bucket=modin-testing --key=testmondata_ray --body=./testmondata_ray testmon_python: runs-on: ubuntu-latest + env: + AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} + AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} steps: - uses: actions/checkout@v1 with: @@ -51,16 +50,12 @@ jobs: with: name: testmondata_python path: testmondata_python - - uses: jakejarvis/s3-sync-action@master - with: - args: --acl public-read - env: - AWS_S3_BUCKET: modin-testing - AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} - AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} - SOURCE_DIR: "./testmondata_python" + - run: aws s3api put-object --bucket=modin-testing --key=testmondata_python --body=./testmondata_python testmon_dask: runs-on: ubuntu-latest + env: + AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} + AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} steps: - uses: actions/checkout@v1 with: @@ -80,19 +75,14 @@ jobs: with: name: testmondata_dask path: testmondata_dask - - uses: jakejarvis/s3-sync-action@master - with: - args: --acl public-read - env: - AWS_S3_BUCKET: modin-testing - AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} - AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} - SOURCE_DIR: "./testmondata_dask" + - run: aws s3api put-object --bucket=modin-testing --key=testmondata_dask --body=./testmondata_dask testmon_pyarrow: runs-on: ubuntu-latest env: MODIN_BACKEND: pyarrow MODIN_EXPERIMENTAL: "True" + AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} + AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} steps: - uses: actions/checkout@v1 with: @@ -112,14 +102,7 @@ jobs: with: name: testmondata_pyarrow path: testmondata_pyarrow - - uses: jakejarvis/s3-sync-action@master - with: - args: --acl public-read - env: - AWS_S3_BUCKET: modin-testing - AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} - AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} - SOURCE_DIR: "./testmondata_pyarrow" + - run: aws s3api put-object --bucket=modin-testing --key=testmondata_pyarrow --body=./testmondata_pyarrow test-all: runs-on: ubuntu-latest strategy: