-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create new FIPS packages on prerelease for linux
- Loading branch information
1 parent
02bceb3
commit 7d6dcfb
Showing
4 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,9 @@ jobs: | |
- "targz" | ||
- "deb" | ||
- "rpm" | ||
suffix: | ||
- "" | ||
- "-fips" | ||
|
||
steps: | ||
- name: Login to DockerHub | ||
|
@@ -89,10 +92,10 @@ jobs: | |
uses: newrelic/[email protected] | ||
with: | ||
tag: ${{env.TAG}} | ||
app_name: "newrelic-infra" | ||
app_name: "newrelic-infra${{ matrix.suffix }}" | ||
repo_name: "newrelic/infrastructure-agent" | ||
schema: "custom" | ||
schema_url: "https://raw.githubusercontent.com/newrelic/infrastructure-agent/${{ env.SCHEMA_BRANCH }}/build/upload-schema-linux-${{ matrix.assetsType }}.yml" | ||
schema_url: "https://raw.githubusercontent.com/newrelic/infrastructure-agent/${{ env.SCHEMA_BRANCH }}/build/upload-schema-linux-${{ matrix.assetsType }}${{ matrix.suffix }}.yml" | ||
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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,21 @@ jobs: | |
with: | ||
TAG: ${{ github.event.release.tag_name }} | ||
ARCH: 'amd64' | ||
|
||
packaging-amd64-fips: | ||
needs: [unit-test, proxy-tests] | ||
uses: ./.github/workflows/component_linux_packaging.yml | ||
secrets: | ||
DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}} | ||
DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}} | ||
GPG_MAIL: '[email protected]' | ||
GPG_PASSPHRASE: ${{ secrets.OHAI_GPG_PASSPHRASE }} | ||
GPG_PRIVATE_KEY_BASE64: ${{ secrets.OHAI_GPG_PRIVATE_KEY_BASE64 }} # base64 encoded | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
TAG: ${{ github.event.release.tag_name }} | ||
ARCH: 'amd64' | ||
FIPS: true | ||
|
||
packaging-arm: | ||
needs: [unit-test, proxy-tests] | ||
|
@@ -60,6 +75,21 @@ jobs: | |
TAG: ${{ github.event.release.tag_name }} | ||
ARCH: 'arm64' | ||
|
||
packaging-arm64-fips: | ||
needs: [unit-test, proxy-tests] | ||
uses: ./.github/workflows/component_linux_packaging.yml | ||
secrets: | ||
DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}} | ||
DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}} | ||
GPG_MAIL: '[email protected]' | ||
GPG_PASSPHRASE: ${{ secrets.OHAI_GPG_PASSPHRASE }} | ||
GPG_PRIVATE_KEY_BASE64: ${{ secrets.OHAI_GPG_PRIVATE_KEY_BASE64 }} # base64 encoded | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
TAG: ${{ github.event.release.tag_name }} | ||
ARCH: 'arm64' | ||
FIPS: true | ||
|
||
packaging-legacy: | ||
needs: [unit-test, proxy-tests] | ||
uses: ./.github/workflows/component_linux_packaging.yml | ||
|
@@ -98,7 +128,7 @@ jobs: | |
# point to staging after tests | ||
name: Publish linux artifacts into s3 staging bucket | ||
uses: ./.github/workflows/component_linux_publish.yml | ||
needs: [packaging-amd64, packaging-arm, packaging-arm64, packaging-legacy] | ||
needs: [packaging-amd64, packaging-amd64-fips, packaging-arm, packaging-arm64, packaging-arm64-fips, packaging-legacy] | ||
secrets: | ||
DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}} | ||
DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters