diff --git a/.github/pipeline-descriptor.yml b/.github/pipeline-descriptor.yml index 10afbc5..c9a1385 100644 --- a/.github/pipeline-descriptor.yml +++ b/.github/pipeline-descriptor.yml @@ -26,6 +26,7 @@ dependencies: uri: https://repo1.maven.org/maven2 group_id: com.newrelic.agent.java artifact_id: newrelic-agent + source_classifier: sources - id: new-relic-nodejs uses: docker://ghcr.io/paketo-buildpacks/actions/npm-dependency:main with: @@ -37,4 +38,4 @@ dependencies: - id: new-relic-dotnet uses: docker://ghcr.io/paketo-buildpacks/actions/new-relic-dependency:main with: - type: dotnet \ No newline at end of file + type: dotnet diff --git a/.github/workflows/pb-update-go.yml b/.github/workflows/pb-update-go.yml index 90f6d47..e502245 100644 --- a/.github/workflows/pb-update-go.yml +++ b/.github/workflows/pb-update-go.yml @@ -1,7 +1,7 @@ name: Update Go "on": schedule: - - cron: 13 2 * * 1 + - cron: 15 2 * * 1 workflow_dispatch: {} jobs: update: diff --git a/.github/workflows/pb-update-new-relic-dotnet.yml b/.github/workflows/pb-update-new-relic-dotnet.yml index b3f34d1..13de99c 100644 --- a/.github/workflows/pb-update-new-relic-dotnet.yml +++ b/.github/workflows/pb-update-new-relic-dotnet.yml @@ -68,7 +68,9 @@ jobs: --purl-pattern "${PURL_PATTERN:-}" \ --purl "${PURL:-}" \ --uri "${URI}" \ - --sha256 "${SHA256}" + --sha256 "${SHA256}" \ + --source "${SOURCE_URI}" \ + --source-sha256 "${SOURCE_SHA256}" git add buildpack.toml git checkout -- . @@ -91,6 +93,8 @@ jobs: PURL: ${{ steps.dependency.outputs.purl }} PURL_PATTERN: "" SHA256: ${{ steps.dependency.outputs.sha256 }} + SOURCE_SHA256: ${{ steps.dependency.outputs.source_sha256 }} + SOURCE_URI: ${{ steps.dependency.outputs.source }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+' diff --git a/.github/workflows/pb-update-new-relic-java.yml b/.github/workflows/pb-update-new-relic-java.yml index e9aaebf..1549343 100644 --- a/.github/workflows/pb-update-new-relic-java.yml +++ b/.github/workflows/pb-update-new-relic-java.yml @@ -46,6 +46,7 @@ jobs: with: artifact_id: newrelic-agent group_id: com.newrelic.agent.java + source_classifier: sources uri: https://repo1.maven.org/maven2 - name: Update Buildpack Dependency id: buildpack @@ -70,7 +71,9 @@ jobs: --purl-pattern "${PURL_PATTERN:-}" \ --purl "${PURL:-}" \ --uri "${URI}" \ - --sha256 "${SHA256}" + --sha256 "${SHA256}" \ + --source "${SOURCE_URI}" \ + --source-sha256 "${SOURCE_SHA256}" git add buildpack.toml git checkout -- . @@ -93,6 +96,8 @@ jobs: PURL: ${{ steps.dependency.outputs.purl }} PURL_PATTERN: "" SHA256: ${{ steps.dependency.outputs.sha256 }} + SOURCE_SHA256: ${{ steps.dependency.outputs.source_sha256 }} + SOURCE_URI: ${{ steps.dependency.outputs.source }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+' diff --git a/.github/workflows/pb-update-new-relic-nodejs.yml b/.github/workflows/pb-update-new-relic-nodejs.yml index 01e599f..d7bbcf4 100644 --- a/.github/workflows/pb-update-new-relic-nodejs.yml +++ b/.github/workflows/pb-update-new-relic-nodejs.yml @@ -68,7 +68,9 @@ jobs: --purl-pattern "${PURL_PATTERN:-}" \ --purl "${PURL:-}" \ --uri "${URI}" \ - --sha256 "${SHA256}" + --sha256 "${SHA256}" \ + --source "${SOURCE_URI}" \ + --source-sha256 "${SOURCE_SHA256}" git add buildpack.toml git checkout -- . @@ -91,6 +93,8 @@ jobs: PURL: ${{ steps.dependency.outputs.purl }} PURL_PATTERN: "" SHA256: ${{ steps.dependency.outputs.sha256 }} + SOURCE_SHA256: ${{ steps.dependency.outputs.source_sha256 }} + SOURCE_URI: ${{ steps.dependency.outputs.source }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+' diff --git a/.github/workflows/pb-update-new-relic-php.yml b/.github/workflows/pb-update-new-relic-php.yml index 18782d9..ede4456 100644 --- a/.github/workflows/pb-update-new-relic-php.yml +++ b/.github/workflows/pb-update-new-relic-php.yml @@ -68,7 +68,9 @@ jobs: --purl-pattern "${PURL_PATTERN:-}" \ --purl "${PURL:-}" \ --uri "${URI}" \ - --sha256 "${SHA256}" + --sha256 "${SHA256}" \ + --source "${SOURCE_URI}" \ + --source-sha256 "${SOURCE_SHA256}" git add buildpack.toml git checkout -- . @@ -91,6 +93,8 @@ jobs: PURL: ${{ steps.dependency.outputs.purl }} PURL_PATTERN: "" SHA256: ${{ steps.dependency.outputs.sha256 }} + SOURCE_SHA256: ${{ steps.dependency.outputs.source_sha256 }} + SOURCE_URI: ${{ steps.dependency.outputs.source }} URI: ${{ steps.dependency.outputs.uri }} VERSION: ${{ steps.dependency.outputs.version }} VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+'