Skip to content

Commit

Permalink
Upload to test bucket (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckslovez committed Jan 25, 2024
1 parent edf667a commit 6325d6f
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/merge-to-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,30 @@ jobs:
})
).data[0].number;
result-encoding: string
- name: PR number
run: echo '${{steps.get_pr_number.outputs.result}}'

- name: Publish assets to windows S3
uses: newrelic/[email protected]
env:
TAG: ${{ github.event.inputs.tag }}
AWS_ACCESS_KEY_ID: ${{ secrets.OHAI_AWS_ACCESS_KEY_ID_STAGING }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OHAI_AWS_SECRET_ACCESS_KEY_STAGING }}
AWS_ROLE_ARN: ${{ secrets.OHAI_AWS_ROLE_ARN_STAGING }}
AWS_ROLE_SESSION_NAME: ${{ secrets.OHAI_AWS_ROLE_SESSION_NAME_STAGING }}
with:
tag: ${{env.TAG}}
dest_prefix: "logging-test/"
repo_name: "newrelic/fluent-bit-package"
schema: "custom"
schema_url: "https://github.com/newrelic/fluent-bit-package/releases/download/tmp-pr-${{ steps.get_pr_number.outputs.result }}/generated-linux-schema.yaml"
aws_access_key_id: ${{ env.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws_s3_bucket_name: ${{ env.AWS_S3_BUCKET_NAME }}
aws_s3_lock_bucket_name: ${{ env.AWS_S3_LOCK_BUCKET_NAME }}
access_point_host: "testing"
run_id: ${{ github.run_id }}
aws_region: ${{ env.AWS_REGION }}
aws_role_session_name: ${{ env.AWS_ROLE_SESSION_NAME }}
aws_role_arn: ${{ env.AWS_ROLE_ARN }}
# used for signing package stuff
gpg_passphrase: ${{ env.GPG_PASSPHRASE }}
gpg_private_key_base64: ${{ env.GPG_PRIVATE_KEY_BASE64 }}

0 comments on commit 6325d6f

Please sign in to comment.