Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarocabanas committed Jan 21, 2025
1 parent d666d9d commit aca0b8e
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/release_staged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,60 +16,6 @@ on:
default: 'all'

jobs:
publishing-to-s3-linux:
name: Publish linux artifacts into s3 production bucket
uses: ./.github/workflows/component_linux_publish.yml
secrets:
DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}}
DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}}
GPG_PASSPHRASE: ${{ secrets.OHAI_GPG_PASSPHRASE }}
GPG_PRIVATE_KEY_BASE64: ${{ secrets.OHAI_GPG_PRIVATE_KEY_BASE64 }} # base64 encoded
AWS_ACCESS_KEY_ID: ${{ secrets.OHAI_AWS_ACCESS_KEY_ID_PRODUCTION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OHAI_AWS_SECRET_ACCESS_KEY_PRODUCTION }}
AWS_ROLE_ARN: ${{ secrets.OHAI_AWS_ROLE_ARN_PRODUCTION }}
AWS_ROLE_SESSION_NAME: ${{ secrets.OHAI_AWS_ROLE_SESSION_NAME_PRODUCTION }}
with:
SCHEMA_BRANCH: "master"
ACCESS_POINT_HOST: "production"
RUN_ID: ${{ github.run_id }}
TAG: ${{ github.event.inputs.tag }}
AWS_S3_BUCKET_NAME: "nr-downloads-main"
AWS_S3_LOCK_BUCKET_NAME: "onhost-ci-lock"
ASSETS_TYPE: ${{ github.event.inputs.assetsType }}

publishing-to-s3-windows:
name: Publish linux artifacts into s3 production bucket
uses: ./.github/workflows/component_windows_publish.yml
secrets:
DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}}
DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}}
GPG_PASSPHRASE: ${{ secrets.OHAI_GPG_PASSPHRASE }}
GPG_PRIVATE_KEY_BASE64: ${{ secrets.OHAI_GPG_PRIVATE_KEY_BASE64 }} # base64 encoded
AWS_ACCESS_KEY_ID: ${{ secrets.OHAI_AWS_ACCESS_KEY_ID_PRODUCTION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OHAI_AWS_SECRET_ACCESS_KEY_PRODUCTION }}
AWS_ROLE_ARN: ${{ secrets.OHAI_AWS_ROLE_ARN_PRODUCTION }}
AWS_ROLE_SESSION_NAME: ${{ secrets.OHAI_AWS_ROLE_SESSION_NAME_PRODUCTION }}
with:
ACCESS_POINT_HOST: "production"
SCHEMA_BRANCH: "master"
RUN_ID: ${{ github.run_id }}
TAG: ${{ github.event.inputs.tag }}
AWS_S3_BUCKET_NAME: "nr-downloads-main"
AWS_S3_LOCK_BUCKET_NAME: "onhost-ci-lock"
ASSETS_TYPE: ${{ github.event.inputs.assetsType }}
DISABLE_LOCK: true

purge-cdn:
name: Purge CDN
needs: [ publishing-to-s3-windows, publishing-to-s3-linux ]
uses: ./.github/workflows/component_purge_cdn.yml
secrets:
FASTLY_KEY: ${{secrets.FASTLY_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.OHAI_AWS_ACCESS_KEY_ID_PRODUCTION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OHAI_AWS_SECRET_ACCESS_KEY_PRODUCTION }}
AWS_ROLE_ARN: ${{ secrets.OHAI_AWS_ROLE_ARN_PRODUCTION }}
AWS_ROLE_SESSION_NAME: ${{ secrets.OHAI_AWS_ROLE_SESSION_NAME_PRODUCTION }}

publish-docker-images:
uses: ./.github/workflows/component_docker_publish.yml
secrets:
Expand Down

0 comments on commit aca0b8e

Please sign in to comment.