From c4934e1f88ba9e16d500239831ce8412c6f93c38 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Fri, 9 Feb 2024 19:10:18 +0400 Subject: [PATCH] feat: update Go to 1.22 Via pkgs. Signed-off-by: Andrey Smirnov --- .github/workflows/ci.yaml | 11 ++++++----- .github/workflows/weekly.yaml | 4 ++-- Makefile | 19 ++++++++++++++++++- Pkgfile | 2 +- 4 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3b8664..2e95005 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2023-12-01T10:29:33Z by kres latest. +# Generated on 2024-02-09T15:10:55Z by kres latest. name: default concurrency: @@ -33,7 +33,7 @@ jobs: labels: ${{ steps.retrieve-pr-labels.outputs.result }} services: buildkitd: - image: moby/buildkit:v0.12.3 + image: moby/buildkit:v0.12.5 options: --privileged ports: - 1234:1234 @@ -70,11 +70,12 @@ jobs: make PUSH=true - name: Retrieve PR labels id: retrieve-pr-labels - if: github.event_name == 'pull_request' && always() - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: retries: "3" script: | + if (context.eventName != "pull_request") { return "[]" } + const resp = await github.rest.issues.get({ issue_number: context.issue.number, owner: context.repo.owner, @@ -101,7 +102,7 @@ jobs: - default services: buildkitd: - image: moby/buildkit:v0.12.3 + image: moby/buildkit:v0.12.5 options: --privileged ports: - 1234:1234 diff --git a/.github/workflows/weekly.yaml b/.github/workflows/weekly.yaml index 9a375ab..8df87ad 100644 --- a/.github/workflows/weekly.yaml +++ b/.github/workflows/weekly.yaml @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2023-12-01T10:29:33Z by kres latest. +# Generated on 2024-02-09T15:10:55Z by kres latest. name: weekly concurrency: @@ -16,7 +16,7 @@ jobs: - pkgs services: buildkitd: - image: moby/buildkit:v0.12.3 + image: moby/buildkit:v0.12.5 options: --privileged ports: - 1234:1234 diff --git a/Makefile b/Makefile index 028b3f9..b2bfeee 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2023-11-02T20:27:13Z by kres 70e6597-dirty. +# Generated on 2024-02-09T15:10:55Z by kres latest. # common variables @@ -71,6 +71,23 @@ To create a builder instance, run: docker buildx create --name local --use +If running builds that needs to be cached aggresively create a builder instance with the following: + + docker buildx create --name local --use --config=config.toml + +config.toml contents: + +[worker.oci] + gc = true + gckeepstorage = 50000 + + [[worker.oci.gcpolicy]] + keepBytes = 10737418240 + keepDuration = 604800 + filters = [ "type==source.local", "type==exec.cachemount", "type==source.git.checkout"] + [[worker.oci.gcpolicy]] + all = true + keepBytes = 53687091200 If you already have a compatible builder instance, you may use that instead. diff --git a/Pkgfile b/Pkgfile index 6c4af79..a9a01ee 100644 --- a/Pkgfile +++ b/Pkgfile @@ -4,7 +4,7 @@ format: v1alpha2 vars: PKGS_PREFIX: ghcr.io/siderolabs - PKGS_VERSION: v1.7.0-alpha.0 + PKGS_VERSION: v1.7.0-alpha.0-22-g0ec4cc3 # renovate: datasource=git-refs versioning=git depName=https://github.com/awslabs/tc-redirect-tap.git tc_redirect_tap_ref: 6827f7b2f5e9ec675cb7dc9bbe4b201c228d565e