Skip to content

Commit d063aea

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 1641861 + 137091c commit d063aea

134 files changed

Lines changed: 5350 additions & 2984 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/pack-build/action.yml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,11 @@ runs:
2727
uses: actions/setup-go@v4
2828
with:
2929
go-version-file: 'go.mod'
30-
- name: setup-pack-linux
31-
if: ${{ runner.os == 'linux' }}
30+
- name: setup-pack
3231
uses: buildpacks/github-actions/setup-pack@v5.0.0
3332
with:
3433
pack-version: ${{ inputs.pack_version }}
35-
- name: setup-pack-windows
36-
shell: bash
37-
if: ${{ runner.os == 'windows' }}
38-
run: |
39-
url="https://github.com/buildpacks/pack/releases/download/v${{ inputs.pack_version }}/pack-v${{ inputs.pack_version }}-windows.zip"
40-
curl -sSL "$url" -o pack.zip
41-
unzip -o pack.zip
42-
43-
mkdir "${HOME}"/.pack
44-
echo "experimental = true" > "${HOME}"/.pack/config.toml
45-
46-
./pack version
4734
- name: build
48-
if: ${{ runner.os == 'linux' }}
4935
shell: bash
5036
run: |
5137
[[ $GITHUB_REF =~ ^refs\/tags\/v(.*)$ ]] && version=${BASH_REMATCH[1]} || version=0.0.0
@@ -68,29 +54,6 @@ runs:
6854
name=$(basename ${{ inputs.tag }})
6955
echo "${{ inputs.tag }}@${digest}" > images/$name
7056
cat images/$name
71-
- name: build
72-
if: ${{ runner.os == 'windows' }}
73-
shell: bash
74-
run: |
75-
[[ $GITHUB_REF =~ ^refs\/tags\/v(.*)$ ]] && version=${BASH_REMATCH[1]} || version=0.0.0
76-
77-
KPACK_VERSION=$version
78-
KPACK_COMMIT=$GITHUB_SHA
79-
mkdir report
80-
81-
export PATH="$PATH:$(pwd)"
82-
pack build ${{ inputs.tag }} \
83-
--builder ${{ inputs.builder }} \
84-
--env BP_GO_LDFLAGS="-X 'github.com/pivotal/kpack/cmd.Version=${KPACK_VERSION}' -X 'github.com/pivotal/kpack/cmd.Commit=${KPACK_COMMIT}'" \
85-
--env BP_GO_TARGETS="${{ inputs.bp_go_targets }}" \
86-
--cache-image ${{ inputs.tag }}-cache \
87-
--publish ${{ inputs.additional_pack_args }} 2>&1 | tee outfile
88-
89-
mkdir images
90-
digest=$(cat outfile | grep "Images (sha256:" | cut -d "(" -f2 | cut -d ")" -f 1)
91-
name=$(basename ${{ inputs.tag }})
92-
echo "${{ inputs.tag }}@${digest}" > images/$name
93-
cat images/$name
9457
- name: Upload Image Artifacts
9558
uses: actions/upload-artifact@v4
9659
with:

.github/dependabot.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,3 @@ updates:
1515
directory: "/"
1616
schedule:
1717
interval: "weekly"
18-
19-
# Monitor old release branches as well
20-
- package-ecosystem: "gomod"
21-
target-branch: "release/v0.12.x"
22-
labels: ["go", "dependencies", "release/v0.12.x"]
23-
directory: "/"
24-
schedule:
25-
interval: "weekly"
26-
- package-ecosystem: "gomod"
27-
target-branch: "release/v0.11.x"
28-
labels: ["go", "dependencies", "release/v0.11.x"]
29-
directory: "/"
30-
schedule:
31-
interval: "weekly"
32-
- package-ecosystem: "gomod"
33-
target-branch: "release/v0.10.x"
34-
labels: ["go", "dependencies", "release/v0.10.x"]
35-
directory: "/"
36-
schedule:
37-
interval: "weekly"
38-
- package-ecosystem: "gomod"
39-
target-branch: "release/v0.9.x"
40-
labels: ["go", "dependencies", "release/v0.9.x"]
41-
directory: "/"
42-
schedule:
43-
interval: "weekly"

0 commit comments

Comments
 (0)