Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarocabanas committed Jan 20, 2025
1 parent 297c52f commit 2df24d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 72 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/component_docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,6 @@ jobs:
username: ${{ env.DOCKER_HUB_ID }}
password: ${{ env.DOCKER_HUB_PASSWORD }}

- name: Publish tag of base Docker image
run: make -C build/container/ clean publish/multi-arch-base-tag AGENT_VERSION=${{env.TAG}}

- name: Publish latest of base Docker image
run: make -C build/container/ clean publish/multi-arch-base-latest AGENT_VERSION=${{env.TAG}}

- name: Publish tag of forwarder Docker image
run: make -C build/container/ clean publish/multi-arch-forwarder-tag AGENT_VERSION=${{env.TAG}}

- name: Publish latest of forwarder Docker image
run: make -C build/container/ clean publish/multi-arch-forwarder-latest AGENT_VERSION=${{env.TAG}}

- name: Publish tag of k8s-events-forwarders Docker image
run: make -C build/container/ clean publish/multi-arch-k8s-events-forwarder-tag AGENT_VERSION=${{env.TAG}}

- name: Publish latest of k8s-events-forwarders Docker image
run: make -C build/container/ clean publish/multi-arch-k8s-events-forwarder-latest AGENT_VERSION=${{env.TAG}}

- name: Publish tag of base Docker image FIPS
run: make -C build/container/ clean publish/multi-arch-base-tag AGENT_VERSION=${{env.TAG}} FIPS=${{env.FIPS}}

Expand Down
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 2df24d8

Please sign in to comment.