Skip to content

Upstream merge #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
a00140f
Updating github-config
paketo-bot Mar 5, 2024
83f389f
Updating github-config
paketo-bot Apr 18, 2024
9b41071
Updating github-config
paketo-bot May 3, 2024
c3738f4
Updating github-config
paketo-bot May 31, 2024
e15615d
Updating github-config
paketo-bot Jun 1, 2024
caae67a
Updating github-config
paketo-bot Jun 4, 2024
8d4b9d2
Updating github-config
paketo-bot Jun 7, 2024
668c3e3
Updating github-config
paketo-bot Jun 20, 2024
65c399e
Updating github-config
paketo-bot Jun 27, 2024
230eb9f
Updating github-config
paketo-bot Jun 28, 2024
e91cab8
Updating github-config
paketo-bot Jun 29, 2024
81fdd77
Updating github-config
paketo-bot Jul 12, 2024
8bc3a93
Updating github-config
paketo-bot Jul 18, 2024
0c008de
Updating buildpacks in buildpack.toml
paketo-bot May 24, 2024
c0ef76a
Updating buildpacks in buildpack.toml
paketo-bot Jun 8, 2024
fe25f83
Updating buildpacks in buildpack.toml
paketo-bot Jun 19, 2024
ad1de5d
Updating buildpacks in buildpack.toml
paketo-bot Jun 26, 2024
88dc378
Updating buildpacks in buildpack.toml
paketo-bot Jun 29, 2024
d38f691
Updating buildpacks in buildpack.toml
paketo-bot Jul 2, 2024
643815f
Updating buildpacks in buildpack.toml
paketo-bot Jul 3, 2024
c0b105b
Updating buildpacks in buildpack.toml
paketo-bot Jul 5, 2024
b4c95d6
Updating buildpacks in buildpack.toml
paketo-bot Jul 10, 2024
01db9bb
Updating buildpacks in buildpack.toml
paketo-bot Jul 17, 2024
b037070
Updates go mod toolchain version to 1.22.4
paketo-bot Jun 24, 2024
f38ae83
Updates go mod toolchain version to 1.22.5
paketo-bot Jul 8, 2024
9131b57
Updates go mod version to 1.22.5
paketo-bot Jul 18, 2024
541545f
Bump github.com/testcontainers/testcontainers-go from 0.28.0 to 0.32.0
dependabot[bot] Jul 18, 2024
1311ac4
Bump github.com/containerd/containerd from 1.7.13 to 1.7.20
dependabot[bot] Jul 18, 2024
4501de6
Bump github.com/docker/docker
dependabot[bot] Jul 23, 2024
52f6e4f
Updating buildpacks in buildpack.toml
paketo-bot Jul 24, 2024
4089c04
Bump github.com/docker/docker
dependabot[bot] Jul 24, 2024
ef3623a
Updating buildpacks in buildpack.toml
paketo-bot Jul 27, 2024
b439c1b
Updating buildpacks in buildpack.toml
paketo-bot Aug 1, 2024
1c7406d
Updating buildpacks in buildpack.toml
paketo-bot Aug 9, 2024
0145d99
Updating buildpacks in buildpack.toml
paketo-bot Aug 14, 2024
5a0adca
Bump github.com/docker/docker
dependabot[bot] Aug 14, 2024
85da680
Updating buildpacks in buildpack.toml
paketo-bot Aug 21, 2024
035e00b
Updating buildpacks in buildpack.toml
paketo-bot Aug 24, 2024
d153022
Bump github.com/containerd/containerd from 1.7.20 to 1.7.21
dependabot[bot] Aug 27, 2024
5a1d650
Bump github.com/testcontainers/testcontainers-go from 0.32.0 to 0.33.0
dependabot[bot] Aug 27, 2024
0e7b4d4
Bump github.com/docker/docker
dependabot[bot] Aug 29, 2024
8f3bab0
Updating buildpacks in buildpack.toml
paketo-bot Sep 4, 2024
a59b1da
Bump github.com/docker/docker
dependabot[bot] Sep 10, 2024
ee5bc6b
Updating buildpacks in buildpack.toml
paketo-bot Sep 11, 2024
fdb13df
Updating github-config
paketo-bot Aug 22, 2024
e357cff
Updating github-config
paketo-bot Sep 4, 2024
24a5575
Updating github-config
paketo-bot Sep 10, 2024
059c29d
Updates go mod version to 1.22.6
paketo-bot Aug 12, 2024
62c8060
Updates go mod version to 1.23.0
paketo-bot Aug 19, 2024
46a9ff1
Updates go mod version to 1.23.1
paketo-bot Sep 9, 2024
bab7d6d
Updating buildpacks in buildpack.toml
paketo-bot Sep 19, 2024
3122acf
Bump github.com/docker/docker
dependabot[bot] Sep 20, 2024
e4e3d0e
Merge branch 'main-upstream' of github.com:plotly/paketo-buildpacks_p…
BRONSOLO Sep 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ updates:
update-types:
- "minor"
- "patch"
exclude-patterns:
- "github.com/anchore/stereoscope"
- "github.com/testcontainers/testcontainers-go"
- "github.com/docker/docker"
- "github.com/containerd/containerd"
37 changes: 0 additions & 37 deletions .github/workflows/create-release-issue.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/publish-releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish Draft Releases

on:
workflow_dispatch: {}
schedule:
- cron: '0 5 * * FRI' # Weekly on Friday at 5:00 AM UTC

concurrency:
group: publish-release

jobs:
publish:
name: Publish
runs-on: ubuntu-22.04
steps:
- name: Publish Draft Release With Highest Semantic Version
id: drafts
env:
GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
uses: paketo-buildpacks/github-config/actions/release/publish-drafts@main
with:
repo: ${{ github.repository }}

failure:
name: Alert on Failure
runs-on: ubuntu-22.04
needs: [ publish ]
if: ${{ always() && needs.publish.result == 'failure' }}
steps:
- name: File Failure Alert Issue
uses: paketo-buildpacks/github-config/actions/issue/file@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}
label: "failure:release"
comment_if_exists: true
issue_title: "Failure: Publish draft releases"
issue_body: |
Publish All Draft Releases workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
comment_body: |
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
12 changes: 11 additions & 1 deletion .github/workflows/update-buildpack-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

on:
schedule:
- cron: '1 6 * * *' # daily at 06:01 UTC

Check warning on line 5 in .github/workflows/update-buildpack-toml.yml

View workflow job for this annotation

GitHub Actions / lintYaml

5:23 [comments] too few spaces before comment
workflow_dispatch: {}

concurrency: buildpack_update
Expand All @@ -22,6 +22,7 @@
branch: automation/buildpack.toml/update

- name: Update buildpack.toml
id: update
uses: paketo-buildpacks/github-config/actions/buildpack/update@main

- name: Commit
Expand All @@ -39,13 +40,22 @@
with:
branch: automation/buildpack.toml/update

- name: Open Pull Request (no semver label)
if: ${{ steps.commit.outputs.commit_sha != '' && steps.update.outputs.semver_bump == '' }}
uses: paketo-buildpacks/github-config/actions/pull-request/open@main
with:
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
title: "Updates buildpacks in buildpack.toml"
branch: automation/buildpack.toml/update

- name: Open Pull Request
if: ${{ steps.commit.outputs.commit_sha != '' }}
if: ${{ steps.commit.outputs.commit_sha != '' && steps.update.outputs.semver_bump != '' }}
uses: paketo-buildpacks/github-config/actions/pull-request/open@main
with:
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
title: "Updates buildpacks in buildpack.toml"
branch: automation/buildpack.toml/update
label: "semver:${{ steps.update.outputs.semver_bump }}"

failure:
name: Alert on Failure
Expand Down
93 changes: 93 additions & 0 deletions .github/workflows/update-go-mod-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Update Go version

on:
schedule:
- cron: '13 4 * * MON' # every monday at 4:13 UTC
workflow_dispatch:

concurrency: update-go

jobs:
update-go:
name: Update go toolchain in go.mod
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Checkout PR Branch
uses: paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
with:
branch: automation/go-mod-update/update-main
- name: Setup Go
id: setup-go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Get current go toolchain version
id: current-go-version
uses: paketo-buildpacks/github-config/actions/update-go-mod-version@main
with:
go-version: ${{ steps.setup-go.outputs.go-version }}
- name: Go mod tidy
run: |
#!/usr/bin/env bash
set -euo pipefail
shopt -s inherit_errexit

echo "Before running go mod tidy"
echo "head -n10 go.mod "
head -n10 go.mod

echo "git diff"
git diff

echo "Running go mod tidy"
go mod tidy

echo "After running go mod tidy"
echo "head -n10 go.mod "
head -n10 go.mod

echo "git diff"
git diff
- name: Commit
id: commit
uses: paketo-buildpacks/github-config/actions/pull-request/create-commit@main
with:
message: "Updates go mod version to ${{ steps.setup-go.outputs.go-version }}"
pathspec: "."
keyid: ${{ secrets.PAKETO_BOT_GPG_SIGNING_KEY_ID }}
key: ${{ secrets.PAKETO_BOT_GPG_SIGNING_KEY }}

- name: Push Branch
if: ${{ steps.commit.outputs.commit_sha != '' }}
uses: paketo-buildpacks/github-config/actions/pull-request/push-branch@main
with:
branch: automation/go-mod-update/update-main

- name: Open Pull Request
if: ${{ steps.commit.outputs.commit_sha != '' }}
uses: paketo-buildpacks/github-config/actions/pull-request/open@main
with:
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
title: "Updates go mod version to ${{ steps.setup-go.outputs.go-version }}"
branch: automation/go-mod-update/update-main

failure:
name: Alert on Failure
runs-on: ubuntu-22.04
needs: [update-go]
if: ${{ always() && needs.update-go.result == 'failure' }}
steps:
- name: File Failure Alert Issue
uses: paketo-buildpacks/github-config/actions/issue/file@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}
label: "failure:update-go-version"
comment_if_exists: true
issue_title: "Failure: Update Go Mod Version workflow"
issue_body: |
Update Go Mod Version workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
comment_body: |
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Loading
Loading