Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
32fd921
Updating github-config
paketo-bot Jul 2, 2024
4c5dabf
Updating github-config
paketo-bot Jul 3, 2024
da6c6e3
Updating github-config
paketo-bot Jul 11, 2024
e55954f
Updating github-config
paketo-bot Jul 12, 2024
e403a54
Updating github-config
paketo-bot Sep 4, 2024
777b88b
Updating github-config
paketo-bot Sep 10, 2024
37d92e4
Updating github-config
paketo-bot Oct 11, 2024
c4b03de
Updating github-config
paketo-bot Oct 18, 2024
9af9a31
Updating github-config
paketo-bot Nov 23, 2024
09e273c
Updating github-config
paketo-bot Nov 28, 2024
1f36064
Updating github-config
paketo-bot Dec 7, 2024
4256f5e
Updating github-config
paketo-bot Dec 13, 2024
7caad4a
Updating github-config
paketo-bot Dec 18, 2024
8679065
Updating github-config
paketo-bot Dec 28, 2024
7322424
Updating github-config
paketo-bot Jan 7, 2025
7bfe988
Updating github-config
paketo-bot Jan 16, 2025
6f81202
Updating github-config
paketo-bot Jan 19, 2025
30156a4
Updating github-config
paketo-bot Feb 28, 2025
c8fa5cc
Updating github-config
paketo-bot Mar 23, 2025
3a4a887
Updating github-config
paketo-bot Mar 31, 2025
90964e1
Updating github-config
paketo-bot Apr 10, 2025
4742485
Updating github-config
paketo-bot May 2, 2025
b4d9e0b
Updating github-config
paketo-bot May 17, 2025
4458b9b
Updating github-config
paketo-bot May 18, 2025
3b2df35
Updating github-config
paketo-bot Jun 10, 2025
956a86d
Updating github-config
paketo-bot Jun 15, 2025
7e217fb
Updating github-config
paketo-bot Jun 17, 2025
c14b3ca
Updating github-config
paketo-bot Jun 20, 2025
ee370ac
Updating github-config
paketo-bot Jun 29, 2025
91184e9
Updating github-config
paketo-bot Jul 8, 2025
0991107
Updating github-config
paketo-bot Jul 15, 2025
c09c506
Updating github-config
paketo-bot Jul 18, 2025
a47ab2e
Updating github-config
paketo-bot Jul 19, 2025
8611c7b
Updating github-config
paketo-bot Jul 22, 2025
66b2643
Updating github-config
paketo-bot Jul 30, 2025
caca6e9
Updating github-config
paketo-bot Aug 13, 2025
b9a14db
Updating github-config
paketo-bot Aug 14, 2025
2cadba3
Updating github-config
paketo-bot Aug 16, 2025
a0a683b
Updating github-config
paketo-bot Aug 22, 2025
0ecfe90
Updating github-config
paketo-bot Aug 23, 2025
d7ea699
Updating github-config
paketo-bot Aug 24, 2025
83f8a94
Updating github-config
paketo-bot Sep 6, 2025
7749b9d
Updating github-config
paketo-bot Sep 12, 2025
be0f97b
Updating github-config
paketo-bot Sep 19, 2025
c3b5dd1
Updating github-config
paketo-bot Sep 23, 2025
78b5514
Updating github-config
paketo-bot Oct 8, 2025
c7d9e9a
Updating github-config
paketo-bot Oct 9, 2025
507c2ae
Updating github-config
paketo-bot Oct 30, 2025
819574f
Updating github-config
paketo-bot Oct 31, 2025
e39c9fa
Updating github-config
paketo-bot Nov 25, 2025
1620680
Updating github-config
paketo-bot Nov 26, 2025
84f76cc
Updating github-config
paketo-bot Nov 28, 2025
1cf1238
Updating github-config
paketo-bot Dec 10, 2025
048c600
Updating github-config
paketo-bot Dec 12, 2025
a18ea88
Updating github-config
paketo-bot Dec 13, 2025
f779e2a
Updating github-config
paketo-bot Dec 15, 2025
7535c6c
Updating github-config
paketo-bot Dec 16, 2025
49cc3fc
Updating github-config
paketo-bot Dec 20, 2025
eed4359
Updating github-config
paketo-bot Dec 26, 2025
ddbb2c8
Updating github-config
paketo-bot Jan 11, 2026
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: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@ updates:
update-types:
- "minor"
- "patch"
exclude-patterns:
- "github.com/anchore/stereoscope"
- "github.com/testcontainers/testcontainers-go"
- "github.com/docker/docker"
- "github.com/containerd/containerd"
6 changes: 3 additions & 3 deletions .github/workflows/approve-bot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
download:
name: Download PR Artifact
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
pr-author: ${{ steps.pr-data.outputs.author }}
pr-number: ${{ steps.pr-data.outputs.number }}
Expand All @@ -32,7 +32,7 @@ jobs:
name: Approve Bot PRs
needs: download
if: ${{ needs.download.outputs.pr-author == 'paketo-bot' || needs.download.outputs.pr-author == 'dependabot[bot]' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check Commit Verification
id: unverified-commits
Expand All @@ -52,7 +52,7 @@ jobs:

- name: Checkout
if: steps.human-commits.outputs.human_commits == 'false' && steps.unverified-commits.outputs.unverified_commits == 'false'
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Approve
if: steps.human-commits.outputs.human_commits == 'false' && steps.unverified-commits.outputs.unverified_commits == 'false'
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '34 5 * * *' # daily at 5:34am UTC
- cron: '34 5 * * *' # daily at 5:34am UTC

jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand All @@ -21,15 +19,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v4

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v4
106 changes: 106 additions & 0 deletions .github/workflows/compile-dependency.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: 'Compile Dependency on Target - Reusable Workflow'

description: |
Compiles Dependency on given target, os, and arch

on:
workflow_call:
inputs:
version:
description: 'dependency version'
required: true
type: string
target:
description: 'dependency OS target variant'
required: true
type: string
os:
description: 'platform OS (e.g., linux)'
required: true
type: string
arch:
description: 'platform architecture (e.g., amd64)'
required: true
type: string
shouldCompile:
description: 'whether to compile the dependency'
required: true
type: boolean
shouldTest:
description: 'whether to test the dependency after compilation'
required: true
type: boolean
uploadArtifactName:
description: 'name of the artifact to upload'
required: true
type: string

jobs:
compile:
# Speed up compilation by using runners that match os and arch when they are set, otherwise fall back to emulation.
runs-on: ${{ (inputs.os == 'linux' && inputs.arch == 'arm64') && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Enable experimental features for Docker daemon and CLI
run: |
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
mkdir -p ~/.docker
echo '{"experimental": "enabled"}' | sudo tee ~/.docker/config.json

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Setup before compilation
id: compile-setup
run: |
echo "outputdir=$(mktemp -d)" >> "$GITHUB_OUTPUT"

- name: docker build
id: docker-build
env:
SKIP_LOGIN: true
if: ${{ inputs.shouldCompile == true || inputs.shouldCompile == 'true' }}
uses: actions-hub/docker/cli@master
with:
args: "build ${{ (inputs.os != '' && inputs.arch != '') && format('--platform {0}/{1}', inputs.os, inputs.arch) || '' }} -t compilation -f dependency/actions/compile/${{ inputs.target }}.Dockerfile dependency/actions/compile"

- name: docker run
id: docker-run
uses: actions-hub/docker/cli@master
env:
SKIP_LOGIN: true
if: ${{ inputs.shouldCompile == true || inputs.shouldCompile == 'true' }}
with:
args: "run ${{ (inputs.os != '' && inputs.arch != '') && format('--platform {0}/{1}', inputs.os, inputs.arch) || '' }} -v ${{ steps.compile-setup.outputs.outputdir }}:/home compilation --outputDir /home --target ${{ inputs.target }} --version ${{ inputs.version }} ${{ inputs.os != '' && format('--os {0}', inputs.os) || '' }} ${{ inputs.arch != '' && format('--arch {0}', inputs.arch) || '' }}"

- name: Print contents of output dir
shell: bash
run: ls -lah ${{ steps.compile-setup.outputs.outputdir }}

- name: Test Dependency
working-directory: dependency
if: ${{ (inputs.shouldCompile == true || inputs.shouldCompile == 'true') && (inputs.shouldTest == true || inputs.shouldTest == 'true') }}
run: |
#!/usr/bin/env bash
set -euo pipefail
shopt -s inherit_errexit

make test \
version="${{ inputs.version }}" \
tarballPath="${{ steps.compile-setup.outputs.outputdir }}/*.tgz" \
os="${{ inputs.os }}" \
arch="${{ inputs.arch }}"

- name: Upload compiled artifact
uses: actions/upload-artifact@v6
if: ${{ inputs.shouldCompile == true || inputs.shouldCompile == 'true' }}
with:
name: '${{ inputs.uploadArtifactName }}'
path: '${{ steps.compile-setup.outputs.outputdir }}/*'
Loading
Loading