Skip to content
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

chore: Update to v1.12.1 minus aws v2 #98

Open
wants to merge 94 commits into
base: verta/main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
1aaf231
chore(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 …
dependabot[bot] Mar 29, 2023
76afb70
Add support for zstd compression (#2313)
LFrobeen Apr 2, 2023
24846d2
Use correct media type for zstd layers (#2459)
LFrobeen Apr 3, 2023
ef83d80
chore(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (#…
dependabot[bot] Apr 25, 2023
0b53835
fix: use debian buster to fix tests using no longer supported stretch…
aaron-prindle Apr 28, 2023
1f98529
chore(deps): bump github.com/aws/aws-sdk-go from 1.44.24 to 1.44.253 …
dependabot[bot] May 2, 2023
b2076ae
chore(deps): bump github.com/docker/docker (#2489)
dependabot[bot] May 2, 2023
eb81793
chore(deps): bump github/codeql-action from 2.1.8 to 2.3.2 (#2487)
dependabot[bot] May 5, 2023
74fc540
chore(deps): bump google.golang.org/api from 0.110.0 to 0.120.0 (#2484)
dependabot[bot] May 5, 2023
0514e4d
chore(deps): bump github.com/spf13/afero from 1.9.2 to 1.9.5 (#2448)
dependabot[bot] May 10, 2023
b4495bc
chore(deps): bump google.golang.org/api from 0.120.0 to 0.121.0 (#2496)
dependabot[bot] May 11, 2023
123ad4a
chore(deps): bump sigstore/cosign-installer from 3.0.1 to 3.0.3 (#2495)
dependabot[bot] May 11, 2023
77b06dc
chore: add .vscode/ dir to .gitignore (#2501)
aaron-prindle May 11, 2023
4db5ca9
chore(deps): bump google-github-actions/setup-gcloud from 0.5.1 to 1.…
dependabot[bot] May 11, 2023
8469f7f
chore(deps): bump github.com/google/slowjam from 1.0.0 to 1.0.1 (#2498)
dependabot[bot] May 11, 2023
5792a72
chore(deps): bump github.com/google/go-containerregistry (#2508)
dependabot[bot] May 16, 2023
7cc3b2a
chore(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0 (#2507)
dependabot[bot] May 16, 2023
7f718c2
chore(deps): bump ossf/scorecard-action from 1.1.1 to 2.1.3 (#2506)
dependabot[bot] May 16, 2023
70120dd
chore(deps): bump github.com/docker/distribution (#2503)
dependabot[bot] May 17, 2023
f776103
chore(deps): bump docker/build-push-action from 3.2.0 to 4.0.0 (#2505)
dependabot[bot] May 17, 2023
dc053ff
Delete scorecards-analysis.yml (#2510)
imjasonh May 18, 2023
73c50bf
chore(deps): bump docker/setup-qemu-action from 1.2.0 to 2.1.0 (#2287)
dependabot[bot] May 18, 2023
7525828
Add mTLS (client cert) registry authentication (#2180)
fernferret May 18, 2023
e4622a5
fix: Correct deprecated flags in `README.md` (#2335)
gabyx May 18, 2023
4ac31a9
chore(deps): bump golang.org/x/sync from 0.1.0 to 0.2.0 (#2497)
dependabot[bot] May 18, 2023
8d975f3
chore(deps): bump imjasonh/setup-crane from 0.1 to 0.3 (#2401)
dependabot[bot] May 18, 2023
197fbdd
chore(deps): bump golang from 1.19 to 1.20 in /deploy (#2388)
dependabot[bot] May 18, 2023
0f40a81
Light editing to scripts in hack/gofmt (#2236)
MarkMoretto May 19, 2023
b4f3885
chore: Revert "chore(deps): bump google-github-actions/setup-gcloud f…
aaron-prindle May 23, 2023
74b2b6c
chore(deps): bump github.com/otiai10/copy from 1.7.0 to 1.11.0 (#2523)
dependabot[bot] May 23, 2023
4296ca5
chore(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 (#2522)
dependabot[bot] May 23, 2023
43d2eaf
chore(release): release v1.10.0 (#2529)
aaron-prindle May 25, 2023
90fe22b
fix: paths deduplication while resolving symlinks (#2504)
sumkincpp May 29, 2023
7d256a3
chore(deps): bump github.com/containerd/containerd from 1.7.0 to 1.7.…
dependabot[bot] May 29, 2023
c555bbb
chore(deps): bump docker/setup-buildx-action from 2.0.0 to 2.5.0 (#2519)
dependabot[bot] May 29, 2023
83311d7
chore(deps): bump sigstore/cosign-installer from 3.0.3 to 3.0.5 (#2518)
dependabot[bot] May 29, 2023
47eab89
chore(deps): bump actions/setup-go from 3.2.0 to 4.0.1 (#2517)
dependabot[bot] May 29, 2023
25ac075
chore(deps): bump github.com/moby/buildkit from 0.11.4 to 0.11.6 (#2520)
dependabot[bot] May 29, 2023
75de170
chore(deps): bump google.golang.org/api from 0.121.0 to 0.124.0 (#2535)
dependabot[bot] May 29, 2023
4edf751
chore(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.7.0 (#2…
dependabot[bot] May 29, 2023
297e46d
chore(deps): bump cloud.google.com/go/storage from 1.29.0 to 1.30.1 (…
dependabot[bot] May 30, 2023
7eaa1e1
docs: update changelog to correct old release tags (#2536)
aaron-prindle May 30, 2023
f428310
chore(deps): update docker-credential-* binaries in kaniko images (#2…
aaron-prindle May 30, 2023
80204f0
chore: run go mod tidy (#2532)
aaron-prindle May 30, 2023
971b9f4
only build for linux/amd64 on PRs (#2460)
imjasonh May 30, 2023
f4dae00
Download docker-credential-gcr from release artifacts (#2540)
ferrastas Jun 2, 2023
507fe00
Use a multistage image to remove all redundancies on Dockerfiles (#2547)
ferrastas Jun 5, 2023
c1436d4
Update google-github-actions/setup-gcloud (#2548)
ferrastas Jun 7, 2023
cce5d31
Add guide on creating multi-arch manifests (#2306)
Jasper-Ben Jun 7, 2023
d54caaa
use aws-sdk-go-v2 (#2550)
BobDu Jun 7, 2023
51cfcf3
chore(deps): bump github.com/google/go-containerregistry (#2546)
dependabot[bot] Jun 7, 2023
26ef57e
chore(deps): bump github.com/containerd/containerd from 1.7.1 to 1.7.…
dependabot[bot] Jun 8, 2023
f423b40
chore(deps): bump google.golang.org/api from 0.124.0 to 0.125.0 (#2544)
dependabot[bot] Jun 8, 2023
6183f8b
chore(deps): bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 (#2545)
dependabot[bot] Jun 8, 2023
0790e8b
chore(release): release v1.11.0 (#2552)
aaron-prindle Jun 8, 2023
d5f6cff
chore(deps): bump google.golang.org/api from 0.125.0 to 0.126.0 (#2558)
dependabot[bot] Jun 13, 2023
e12012c
chore(deps): bump docker/build-push-action from 4.0.0 to 4.1.0 (#2557)
dependabot[bot] Jun 13, 2023
9aa22dc
chore(deps): bump docker/setup-qemu-action from 2.1.0 to 2.2.0 (#2556)
dependabot[bot] Jun 13, 2023
e30aa99
chore(deps): bump google.golang.org/api from 0.126.0 to 0.127.0 (#2565)
dependabot[bot] Jun 13, 2023
7ab68f2
chore(deps): bump golang.org/x/sys from 0.8.0 to 0.9.0 (#2564)
dependabot[bot] Jun 13, 2023
e01e670
chore(deps): bump docker/setup-buildx-action from 2.5.0 to 2.6.0 (#2555)
dependabot[bot] Jun 13, 2023
5cbc063
fix: install tools using go.mod for versioning (#2562)
liam-verta Jun 14, 2023
de3032f
Refactors IsSrcRemoteFileURL to only validate the URL is valid (#2563)
anguswilliams Jun 14, 2023
eea12bd
Fix multistage caching with COPY --from (#2559)
Jun 16, 2023
4b0bfd2
valdiateFlags typo fixed (#2554)
zigelboim-misha Jun 19, 2023
1700dbc
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 (#2582)
dependabot[bot] Jun 19, 2023
ef551f4
chore(deps): bump docker/build-push-action from 4.1.0 to 4.1.1 (#2580)
dependabot[bot] Jun 19, 2023
22df0b3
chore(deps): bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 (#2578)
dependabot[bot] Jun 19, 2023
98a464b
chore(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 (#2573)
dependabot[bot] Jun 19, 2023
b1cd355
chore(deps): bump docker/setup-buildx-action from 2.6.0 to 2.7.0 (#2579)
dependabot[bot] Jun 19, 2023
bb712b6
chore(deps): bump github.com/aws/aws-sdk-go-v2/config (#2581)
dependabot[bot] Jun 19, 2023
01763bc
Fix fs_util tests failing on systems with /tmp mountpoint (#2583)
andreasf Jun 19, 2023
cb242ae
hack/install_golint.sh: allow installation on linux/arm64 (#2585)
andreasf Jun 20, 2023
7cd39d1
hack/boilerplate.sh: fix error handling and use python3 (#2587)
andreasf Jun 20, 2023
0743c19
feat: cache dockerfile images through warmer (#2499)
alexezio Jun 21, 2023
0d925dd
Don't write whiteout files to directories that were replaced with fil…
andreasf Jun 22, 2023
1e70e4a
chore(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 (#2598)
dependabot[bot] Jun 26, 2023
ef67ab4
chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager (#2…
dependabot[bot] Jun 26, 2023
8fcd39b
chore(deps): bump google.golang.org/api from 0.127.0 to 0.128.0 (#2596)
dependabot[bot] Jun 26, 2023
494bec7
chore(deps): bump sigstore/cosign-installer from 3.0.5 to 3.1.0 (#2595)
dependabot[bot] Jun 26, 2023
2f946a4
fix: update cache-ttl help text to be correct regarding unit of durat…
aaron-prindle Jun 28, 2023
a6bd60e
chore: add debug line to RedoHasher (#2591)
aaron-prindle Jun 28, 2023
f611791
chore(release): release v1.12.0 (#2601)
aaron-prindle Jun 28, 2023
974c494
fix: resolve issue where warmer CLI always validated optional arg -> …
aaron-prindle Jun 29, 2023
9a30501
chore(release): release v1.12.1 (#2604)
aaron-prindle Jun 29, 2023
2730096
chore(deps): bump cloud.google.com/go/storage from 1.30.1 to 1.31.0 (…
dependabot[bot] Jul 4, 2023
8d7a326
chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager (#2…
dependabot[bot] Jul 4, 2023
7797df0
chore(deps): bump google.golang.org/api from 0.128.0 to 0.129.0 (#2609)
dependabot[bot] Jul 4, 2023
31ddc1a
chore(deps): bump sigstore/cosign-installer from 3.1.0 to 3.1.1 (#2607)
dependabot[bot] Jul 4, 2023
d7a4c04
chore(deps): bump docker/setup-buildx-action from 2.7.0 to 2.8.0 (#2606)
dependabot[bot] Jul 4, 2023
63be499
chore(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0 (#2613)
dependabot[bot] Jul 5, 2023
f843025
Revert "use aws-sdk-go-v2 (#2550)"
liam-verta Jul 13, 2023
876ad06
Merge branch 'ln/upstream-main-aws-no-v2' into ln/upstream-merge
liam-verta Jul 13, 2023
c7fce3d
Set target for verta image build and push
liam-verta Jul 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
43 changes: 28 additions & 15 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,28 @@ jobs:

include:
- image: executor
dockerfile: ./deploy/Dockerfile
target: kaniko-executor
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
image-name: gcr.io/kaniko-project/executor
tag: ${{ github.sha }}
release-tag: latest

- image: executor-debug
dockerfile: ./deploy/Dockerfile_debug
target: kaniko-debug
platforms: linux/amd64,linux/arm64,linux/s390x
image-name: gcr.io/kaniko-project/executor
tag: ${{ github.sha }}-debug
release-tag: debug

- image: executor-slim
dockerfile: ./deploy/Dockerfile_slim
target: kaniko-slim
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
image-name: gcr.io/kaniko-project/executor
tag: ${{ github.sha }}-slim
release-tag: slim

- image: warmer
dockerfile: ./deploy/Dockerfile_warmer
target: kaniko-warmer
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
image-name: gcr.io/kaniko-project/warmer
tag: ${{ github.sha }}
Expand All @@ -68,35 +68,48 @@ jobs:

# Setup auth if not a PR.
- if: github.event_name != 'pull_request'
uses: google-github-actions/setup-gcloud@04141d8a7edfc8c679682f23e7bbbe05cbe32bb3 # v0.5.1
uses: google-github-actions/auth@35b0e87d162680511bf346c299f71c9c5c379033 # v1.1.1
with:
service_account_key: ${{ secrets.GCR_DEVOPS_SERVICE_ACCOUNT_KEY }}
project_id: kaniko-project
export_default_credentials: true
credentials_json: '${{ secrets.GCR_DEVOPS_SERVICE_ACCOUNT_KEY }}'
export_environment_variables: true
create_credentials_file: true
- if: github.event_name != 'pull_request'
uses: google-github-actions/setup-gcloud@e30db14379863a8c79331b04a9969f4c1e225e0b # v1.1.1
- if: github.event_name != 'pull_request'
run: gcloud auth configure-docker

# Don't build for all platforms on PRs.
- id: platforms
run: |
event="${{ github.event_name }}"
if [[ "$event" == "pull_request" ]]; then
echo "platforms=linux/amd64" >> $GITHUB_OUTPUT
else
platforms="${{ matrix.platforms }}"
echo "platforms=${platforms}" >> $GITHUB_OUTPUT
fi
# Build and push with Docker.
- uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1
- uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
with:
platforms: ${{ matrix.platforms }}
- uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v1
- uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3
- uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a # v1
- uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
id: build-and-push
with:
context: .
file: ${{ matrix.dockerfile }}
platforms: ${{ matrix.platforms }}
file: ./deploy/Dockerfile
platforms: ${{ steps.platforms.outputs.platforms }}
push: ${{ github.event_name != 'pull_request' }} # Only push if not a PR.
tags: ${{ matrix.image-name }}:${{ matrix.tag }}
no-cache-filters: certs
# https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#github-cache
cache-from: type=gha
cache-to: type=gha,mode=max
target: ${{ matrix.target }}

# Sign images if not a PR.
- if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@c3667d99424e7e6047999fb6246c0da843953c65 # v3.0.1
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1
- if: github.event_name != 'pull_request'
run: |
cosign sign --yes \
Expand All @@ -107,7 +120,7 @@ jobs:

# If a tag push, use crane to add more tags.
- if: startsWith(github.ref, 'refs/tags/v')
uses: imjasonh/setup-crane@5146f708a817ea23476677995bf2133943b9be0b # v0.1
uses: imjasonh/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c # v0.3
- if: startsWith(github.ref, 'refs/tags/v')
name: Apply release tags
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
- k8s-executor-build-push integration-test-k8s

steps:
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: '1.20'
- uses: actions/checkout@b0e28b5ac45a892f91e7d036f8200cf5ed489415 # v3
- uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v1
- uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a # v1

- run: make install-container-diff k3s-setup
- run: make ${{ matrix.make-target }}
55 changes: 0 additions & 55 deletions .github/workflows/scorecards-analysis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.01
with:
go-version: '1.20'
- uses: actions/checkout@b0e28b5ac45a892f91e7d036f8200cf5ed489415 # v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/verta-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Build and push Docker image to ECR
uses: docker/build-push-action@v4
if: "!(steps.should_publish.outputs.targets == '')"
env:
env:
DOCKER_BUILDKIT: "1"
with:
# context: .
Expand All @@ -86,6 +86,7 @@ jobs:
# VERSION=${{ steps.image_info.outputs.tag }}
tags: |
${{ env.ECR_REPOSITORY }}:${{ steps.image_info.outputs.tag }}
target: kaniko-executor

- name: Configure AWS credentials for us-west-2
# external components should mirror every merge to verta/main
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ BUILD.bazel
.idea/**
*.iml
.vagrant
.vscode/
Loading