From aa0aca0804f6f034fc12fbab98c2590a565fdf1f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 14:33:22 +0000 Subject: [PATCH 1/2] Bump github.com/brancz/kube-rbac-proxy in /hack/kube-rbac-proxy Bumps [github.com/brancz/kube-rbac-proxy](https://github.com/brancz/kube-rbac-proxy) from 0.22.0 to 0.22.1. - [Release notes](https://github.com/brancz/kube-rbac-proxy/releases) - [Changelog](https://github.com/kube-rbac-proxy/kube-rbac-proxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/brancz/kube-rbac-proxy/compare/v0.22.0...v0.22.1) --- updated-dependencies: - dependency-name: github.com/brancz/kube-rbac-proxy dependency-version: 0.22.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- hack/kube-rbac-proxy/go.mod | 20 ++++++++++---------- hack/kube-rbac-proxy/go.sum | 36 ++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/hack/kube-rbac-proxy/go.mod b/hack/kube-rbac-proxy/go.mod index 5703e73..356d31f 100644 --- a/hack/kube-rbac-proxy/go.mod +++ b/hack/kube-rbac-proxy/go.mod @@ -1,9 +1,9 @@ module github.com/servicebinding/runtime/hack/kube-rbac-proxy -go 1.26.2 +go 1.26.5 require ( - github.com/brancz/kube-rbac-proxy v0.22.0 + github.com/brancz/kube-rbac-proxy v0.22.1 k8s.io/component-base v0.36.2 ) @@ -83,14 +83,14 @@ require ( go.uber.org/zap v1.27.1 // indirect go.yaml.in/yaml/v2 v2.4.4 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect - golang.org/x/crypto v0.50.0 // indirect + golang.org/x/crypto v0.53.0 // indirect golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f // indirect - golang.org/x/net v0.53.0 // indirect + golang.org/x/net v0.56.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect - golang.org/x/sync v0.20.0 // indirect - golang.org/x/sys v0.43.0 // indirect - golang.org/x/term v0.42.0 // indirect - golang.org/x/text v0.36.0 // indirect + golang.org/x/sync v0.21.0 // indirect + golang.org/x/sys v0.46.0 // indirect + golang.org/x/term v0.44.0 // indirect + golang.org/x/text v0.38.0 // indirect golang.org/x/time v0.15.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 // indirect @@ -103,10 +103,10 @@ require ( gopkg.in/yaml.v2 v2.4.0 // indirect k8s.io/api v0.36.2 // indirect k8s.io/apimachinery v0.36.2 // indirect - k8s.io/apiserver v0.36.0 // indirect + k8s.io/apiserver v0.36.2 // indirect k8s.io/client-go v0.36.2 // indirect k8s.io/klog/v2 v2.140.0 // indirect - k8s.io/kms v0.36.0 // indirect + k8s.io/kms v0.36.2 // indirect k8s.io/kube-openapi v0.0.0-20260414162039-ec9c827d403f // indirect k8s.io/streaming v0.36.2 // indirect k8s.io/utils v0.0.0-20260319190234-28399d86e0b5 // indirect diff --git a/hack/kube-rbac-proxy/go.sum b/hack/kube-rbac-proxy/go.sum index 55ac968..8922f5f 100644 --- a/hack/kube-rbac-proxy/go.sum +++ b/hack/kube-rbac-proxy/go.sum @@ -10,8 +10,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/brancz/kube-rbac-proxy v0.22.0 h1:vy/p6VGz/xvmK1pkMH3Qnl1UK/q8A4+90aAJNmsayPo= -github.com/brancz/kube-rbac-proxy v0.22.0/go.mod h1:vw5RwTJ/MkhwQeXRb6rI8HgY7ZOEldgigeCfdKw1VIo= +github.com/brancz/kube-rbac-proxy v0.22.1 h1:RVHlm7qswep1dD1iDvMrqTf7pH3gwjVyvgMr+etI2A8= +github.com/brancz/kube-rbac-proxy v0.22.1/go.mod h1:WHgdx8ZLzREXHI6dM4E0WptLyzD3u5IEy05P+dPaLL4= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= @@ -224,8 +224,8 @@ go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI= -golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q= +golang.org/x/crypto v0.53.0 h1:QZ4Muo8THX6CizN2vPPd5fBGHyogrdK9fG4wLPFUsto= +golang.org/x/crypto v0.53.0/go.mod h1:DNLU434OwVakk9PzuwV8w62mAJpRJL3vsgcfp4Qnsio= golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f h1:W3F4c+6OLc6H2lb//N1q4WpJkhzJCK5J6kUi1NTVXfM= golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f/go.mod h1:J1xhfL/vlindoeF/aINzNzt2Bket5bjo9sdOYzOsU80= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= @@ -234,27 +234,27 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA= -golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs= +golang.org/x/net v0.56.0 h1:Rw8j/hFzGvJUZwNBXnAtf5sVDVt+65SK2C7IxCxZt5o= +golang.org/x/net v0.56.0/go.mod h1:D3Ku6r+V6JROoZK144D2XfMHFcMq/0zSfLelVTCFKec= golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= -golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.21.0 h1:HLII4xRRTtCRkxYp4HNFF0Js/Og6q2i++KXbg0gHCwM= +golang.org/x/sync v0.21.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI= -golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/term v0.42.0 h1:UiKe+zDFmJobeJ5ggPwOshJIVt6/Ft0rcfrXZDLWAWY= -golang.org/x/term v0.42.0/go.mod h1:Dq/D+snpsbazcBG5+F9Q1n2rXV8Ma+71xEjTRufARgY= +golang.org/x/sys v0.46.0 h1:noSf2Fq6F8DBgS+LysIkx7rIExoNHJsxOAtPp4rthXw= +golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/term v0.44.0 h1:0rLvDRCtNj0gZkyIXhCyOb2OAzEhLVqc4B+hrsBhrmc= +golang.org/x/term v0.44.0/go.mod h1:7ze4MdzUzLXpSAoFP1H0bOI9aXDqveSvatT5vKcFh2Y= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg= -golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164= +golang.org/x/text v0.38.0 h1:sXmwo9DwP3OK9EZ7PqAdaooSGozfl/3a6/xJcbzPRhE= +golang.org/x/text v0.38.0/go.mod h1:YXZt3QhHUKYT53r2lLKFIVi6Ao1jdzrTR/KQ09qyxF4= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -295,16 +295,16 @@ k8s.io/api v0.36.2 h1:TF6YDLIzKfccK7cq9YpTcGX8TJmEkHVRv78DM51fRYY= k8s.io/api v0.36.2/go.mod h1:F4LbMO4brjZYh7yFkXWhynSvtB7YauxV4c+HHkNRGNg= k8s.io/apimachinery v0.36.2 h1:0PE/W/WNy1UX61NLbXY5TMbJ6UwLL6E6lAPkYrKFxbQ= k8s.io/apimachinery v0.36.2/go.mod h1:fvf/HOLXq9RId0rnDIbN1OEBvHXdQbLMM8nu0LcBUf4= -k8s.io/apiserver v0.36.0 h1:Jg5OFAENUACByUCg15CmhZAYrr5ZyJ+jodyA1mHl3YE= -k8s.io/apiserver v0.36.0/go.mod h1:mHvwdHf+qKEm+1/hYm756SV+oREOKSPnsjagOpx6Vho= +k8s.io/apiserver v0.36.2 h1:6vMnkmHZPeBloNkHUhmZYq7Ylv8WIB8xjyEl+eSt26E= +k8s.io/apiserver v0.36.2/go.mod h1:9PoQ2ikCytrZyZg11mGhLEF5m8Rgsb5FJmYJ4Wvnl1k= k8s.io/client-go v0.36.2 h1:bfgxmFKc9CgqsgX4xKLAAdmTQlWee7Ob/HlDOrJ5TBI= k8s.io/client-go v0.36.2/go.mod h1:1vgO4OAlfPnoLcb+Rze2GF5rAr14w8qjrYMoyXJzQj0= k8s.io/component-base v0.36.2 h1:Z0VH80O7Ng0HDZnZj3WRR3urEGa0kTwmO8CwEwjVK1w= k8s.io/component-base v0.36.2/go.mod h1:mGfFOA7Gwpdm1VW2cwSQYbiDIlz8GD2WGwH88QSeCyA= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc= k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0= -k8s.io/kms v0.36.0 h1:DPy0VDWi6hCgFMgzV5cNuSDrIROMRcJpTZ1GnB+D368= -k8s.io/kms v0.36.0/go.mod h1:g91diTD9h0oJCCHkTb00krlF+Qm5HTnkWLi9Q/TpRoc= +k8s.io/kms v0.36.2 h1:o0l8zMRecm38k5NyRnO/3+2YA/MR6TMGcc3KQZA76hI= +k8s.io/kms v0.36.2/go.mod h1:g91diTD9h0oJCCHkTb00krlF+Qm5HTnkWLi9Q/TpRoc= k8s.io/kube-openapi v0.0.0-20260414162039-ec9c827d403f h1:4Qiq0YAoQATdgmHALJWz9rJ4fj20pB3xebpB4CFNhYM= k8s.io/kube-openapi v0.0.0-20260414162039-ec9c827d403f/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0= k8s.io/streaming v0.36.2 h1:NSKthPPg9UFSKsRauVJUVGH2Dvn8fhKmY4qrMkw/p98= From fc7139a7e9f48bc5313c6fa2d6d55c3950a45235 Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Wed, 15 Jul 2026 15:20:52 -0400 Subject: [PATCH 2/2] Use GOTOOLCHAIN=local+auto for ko build in CI Signed-off-by: Scott Andrews --- .github/workflows/ci.yaml | 810 +++++++++++++++++++------------------- 1 file changed, 405 insertions(+), 405 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 29d41ae..8b283ae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,15 +3,14 @@ name: CI on: push: branches: - - '**' - - '!dependabot/**' + - "**" + - "!dependabot/**" tags: - # semver tags - - 'v[0-9]+\.[0-9]+\.[0-9]+-?**' + # semver tags + - 'v[0-9]+\.[0-9]+\.[0-9]+-?**' pull_request: {} jobs: - tools: # Synthetic job to host config anchors referenced by other jobs. # Running this job does no meaningful work, but would pass. @@ -19,128 +18,128 @@ jobs: runs-on: ubuntu-latest if: false steps: - - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 - with: - go-version-file: go.mod - cache-dependency-path: '**/*.sum' - - parallel: - - &install-controller-gen - name: Install controller-gen - uses: reconcilerio/go-install-action@v1 - with: - package: sigs.k8s.io/controller-tools/cmd/controller-gen - working-directory: hack/controller-gen - download-url-template: https://github.com/kubernetes-sigs/controller-tools/releases/download/${version}/controller-gen-${os}-${arch} - output-path-env: CONTROLLER_GEN - toolchain: auto - - &install-crane - name: Install crane - uses: reconcilerio/install-crane-action@v1 - with: - version: v0.21.5 - - &install-diegen - name: Install diegen - uses: reconcilerio/go-install-action@v1 - with: - package: reconciler.io/dies/diegen - working-directory: hack/diegen - download-url-template: https://github.com/reconcilerio/dies/releases/download/${version}/diegen-${os}-${arch} - output-path-env: DIEGEN - toolchain: auto - - &install-goimports - name: Install goimports - uses: reconcilerio/go-install-action@v1 - with: - package: golang.org/x/tools/cmd/goimports - working-directory: hack/goimports - output-path-env: GOIMPORTS - toolchain: auto - - &install-imgpkg - name: Install imgpkg - uses: reconcilerio/go-install-action@v1 - with: - package: carvel.dev/imgpkg/cmd/imgpkg - working-directory: hack/imgpkg - download-url-template: https://github.com/carvel-dev/imgpkg/releases/download/${version}/imgpkg-${os}-${arch} - output-path-env: IMGPKG - toolchain: auto - - &install-kapp - name: Install kapp - uses: reconcilerio/go-install-action@v1 - with: - package: carvel.dev/kapp/cmd/kapp - working-directory: hack/kapp - download-url-template: https://github.com/carvel-dev/kapp/releases/download/${version}/kapp-${os}-${arch} - output-path-env: KAPP - toolchain: auto - - &install-kbld - name: Install kbld - uses: reconcilerio/go-install-action@v1 - with: - package: carvel.dev/kbld/cmd/kbld - working-directory: hack/kbld - download-url-template: https://github.com/carvel-dev/kbld/releases/download/${version}/kbld-${os}-${arch} - output-path-env: KBLD - toolchain: auto - - &install-ko - name: Install ko - uses: reconcilerio/go-install-action@v1 - with: - package: github.com/google/ko - working-directory: hack/ko - download-url-template: https://github.com/ko-build/ko/releases/download/${version}/ko_${version:1}_${os^}_${arch/amd64/x86_64}.tar.gz - download-path-within-archive: ko - output-path-env: KO - toolchain: auto - - &install-kustomize - name: Install kustomize - uses: reconcilerio/go-install-action@v1 - with: - package: sigs.k8s.io/kustomize/kustomize/v4 - working-directory: hack/kustomize - download-url-template: https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${version}/kustomize_${version}_${os}_${arch}.tar.gz - download-path-within-archive: kustomize - output-path-env: KUSTOMIZE - toolchain: auto - - &install-yq - name: Install yq - uses: reconcilerio/go-install-action@v1 + - uses: actions/checkout@v7 + - uses: actions/setup-go@v6 with: - package: github.com/mikefarah/yq/v4 - working-directory: hack/yq - download-url-template: https://github.com/mikefarah/yq/releases/download/${version}/yq_${os}_${arch} - output-path-env: YQ - toolchain: auto + go-version-file: go.mod + cache-dependency-path: "**/*.sum" + - parallel: + - &install-controller-gen + name: Install controller-gen + uses: reconcilerio/go-install-action@v1 + with: + package: sigs.k8s.io/controller-tools/cmd/controller-gen + working-directory: hack/controller-gen + download-url-template: https://github.com/kubernetes-sigs/controller-tools/releases/download/${version}/controller-gen-${os}-${arch} + output-path-env: CONTROLLER_GEN + toolchain: auto + - &install-crane + name: Install crane + uses: reconcilerio/install-crane-action@v1 + with: + version: v0.21.5 + - &install-diegen + name: Install diegen + uses: reconcilerio/go-install-action@v1 + with: + package: reconciler.io/dies/diegen + working-directory: hack/diegen + download-url-template: https://github.com/reconcilerio/dies/releases/download/${version}/diegen-${os}-${arch} + output-path-env: DIEGEN + toolchain: auto + - &install-goimports + name: Install goimports + uses: reconcilerio/go-install-action@v1 + with: + package: golang.org/x/tools/cmd/goimports + working-directory: hack/goimports + output-path-env: GOIMPORTS + toolchain: auto + - &install-imgpkg + name: Install imgpkg + uses: reconcilerio/go-install-action@v1 + with: + package: carvel.dev/imgpkg/cmd/imgpkg + working-directory: hack/imgpkg + download-url-template: https://github.com/carvel-dev/imgpkg/releases/download/${version}/imgpkg-${os}-${arch} + output-path-env: IMGPKG + toolchain: auto + - &install-kapp + name: Install kapp + uses: reconcilerio/go-install-action@v1 + with: + package: carvel.dev/kapp/cmd/kapp + working-directory: hack/kapp + download-url-template: https://github.com/carvel-dev/kapp/releases/download/${version}/kapp-${os}-${arch} + output-path-env: KAPP + toolchain: auto + - &install-kbld + name: Install kbld + uses: reconcilerio/go-install-action@v1 + with: + package: carvel.dev/kbld/cmd/kbld + working-directory: hack/kbld + download-url-template: https://github.com/carvel-dev/kbld/releases/download/${version}/kbld-${os}-${arch} + output-path-env: KBLD + toolchain: auto + - &install-ko + name: Install ko + uses: reconcilerio/go-install-action@v1 + with: + package: github.com/google/ko + working-directory: hack/ko + download-url-template: https://github.com/ko-build/ko/releases/download/${version}/ko_${version:1}_${os^}_${arch/amd64/x86_64}.tar.gz + download-path-within-archive: ko + output-path-env: KO + toolchain: auto + - &install-kustomize + name: Install kustomize + uses: reconcilerio/go-install-action@v1 + with: + package: sigs.k8s.io/kustomize/kustomize/v4 + working-directory: hack/kustomize + download-url-template: https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${version}/kustomize_${version}_${os}_${arch}.tar.gz + download-path-within-archive: kustomize + output-path-env: KUSTOMIZE + toolchain: auto + - &install-yq + name: Install yq + uses: reconcilerio/go-install-action@v1 + with: + package: github.com/mikefarah/yq/v4 + working-directory: hack/yq + download-url-template: https://github.com/mikefarah/yq/releases/download/${version}/yq_${os}_${arch} + output-path-env: YQ + toolchain: auto unit: name: Unit Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 - with: - go-version-file: go.mod - cache-dependency-path: '**/*.sum' - - parallel: - - *install-controller-gen - - *install-diegen - - *install-goimports - - *install-kustomize - - *install-yq - - name: Test - run: make test - - name: Report coverage - uses: codecov/codecov-action@v7 - env: - CODECOV_TOKEN: 0e521354-90f7-4a17-a876-73ca69b59cb5 - - name: Disallow generated drift - run: | - set -o errexit - set -o nounset - set -o pipefail + - uses: actions/checkout@v7 + - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + cache-dependency-path: "**/*.sum" + - parallel: + - *install-controller-gen + - *install-diegen + - *install-goimports + - *install-kustomize + - *install-yq + - name: Test + run: make test + - name: Report coverage + uses: codecov/codecov-action@v7 + env: + CODECOV_TOKEN: 0e521354-90f7-4a17-a876-73ca69b59cb5 + - name: Disallow generated drift + run: | + set -o errexit + set -o nounset + set -o pipefail - git diff --exit-code . + git diff --exit-code . stage: name: Stage @@ -148,59 +147,60 @@ jobs: env: KO_PLATFORMS: linux/amd64,linux/arm64 steps: - - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 - with: - go-version-file: go.mod - cache-dependency-path: '**/*.sum' - - parallel: - - *install-imgpkg - - *install-kbld - - *install-ko - - name: OCI registry - id: registry - uses: reconcilerio/registry@v1 - - name: Build all platforms for tags - if: startsWith(github.ref, 'refs/tags/') - run: | - echo "KO_PLATFORMS=all" >> $GITHUB_ENV - - name: Build - run: | - set -o errexit - set -o nounset - set -o pipefail + - uses: actions/checkout@v7 + - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + cache-dependency-path: "**/*.sum" + - parallel: + - *install-imgpkg + - *install-kbld + - *install-ko + - name: OCI registry + id: registry + uses: reconcilerio/registry@v1 + - name: Build all platforms for tags + if: startsWith(github.ref, 'refs/tags/') + run: | + echo "KO_PLATFORMS=all" >> $GITHUB_ENV + - name: Build + run: | + set -o errexit + set -o nounset + set -o pipefail - scratch=$(mktemp -d -t bundle.XXXX) - mkdir -p "${scratch}/.imgpkg" - mkdir -p "${scratch}/config" + scratch=$(mktemp -d -t bundle.XXXX) + mkdir -p "${scratch}/.imgpkg" + mkdir -p "${scratch}/config" - cp LICENSE "${scratch}/LICENSE" + cp LICENSE "${scratch}/LICENSE" - echo "##[group]Build" - cat hack/boilerplate.yaml.txt > "${scratch}/config/servicebinding-runtime.yaml" - ${KO} resolve --platform ${KO_PLATFORMS} -f config/servicebinding-runtime.yaml >> "${scratch}/config/servicebinding-runtime.yaml" + echo "##[group]Build" + cat hack/boilerplate.yaml.txt > "${scratch}/config/servicebinding-runtime.yaml" + ${KO} resolve --platform ${KO_PLATFORMS} -f config/servicebinding-runtime.yaml >> "${scratch}/config/servicebinding-runtime.yaml" - cat hack/boilerplate.yaml.txt > "${scratch}/config/servicebinding-workloadresourcemappings.yaml" - cat config/servicebinding-workloadresourcemappings.yaml >> "${scratch}/config/servicebinding-workloadresourcemappings.yaml" + cat hack/boilerplate.yaml.txt > "${scratch}/config/servicebinding-workloadresourcemappings.yaml" + cat config/servicebinding-workloadresourcemappings.yaml >> "${scratch}/config/servicebinding-workloadresourcemappings.yaml" - ${KBLD} --imgpkg-lock-output "${scratch}/.imgpkg/images.yml" \ - -f "${scratch}/config/servicebinding-runtime.yaml" \ - -f "${scratch}/config/servicebinding-workloadresourcemappings.yaml" \ - > /dev/null - echo "##[endgroup]" + ${KBLD} --imgpkg-lock-output "${scratch}/.imgpkg/images.yml" \ + -f "${scratch}/config/servicebinding-runtime.yaml" \ + -f "${scratch}/config/servicebinding-workloadresourcemappings.yaml" \ + > /dev/null + echo "##[endgroup]" - echo "##[group]Create bundle" - bundle="${{ steps.registry.outputs.registry }}/servicebinding/bundle" - ${IMGPKG} push -f "${scratch}" -b "${bundle}" - ${IMGPKG} copy -b "${bundle}" --to-tar servicebinding-runtime-bundle.tar - echo "##[endgroup]" - env: - KO_DOCKER_REPO: ${{ steps.registry.outputs.registry }}/servicebinding - - uses: actions/upload-artifact@v7 - with: - name: servicebinding-runtime-bundle.tar - path: servicebinding-runtime-bundle.tar - retention-days: 7 + echo "##[group]Create bundle" + bundle="${{ steps.registry.outputs.registry }}/servicebinding/bundle" + ${IMGPKG} push -f "${scratch}" -b "${bundle}" + ${IMGPKG} copy -b "${bundle}" --to-tar servicebinding-runtime-bundle.tar + echo "##[endgroup]" + env: + KO_DOCKER_REPO: ${{ steps.registry.outputs.registry }}/servicebinding + GOTOOLCHAIN: local+auto + - uses: actions/upload-artifact@v7 + with: + name: servicebinding-runtime-bundle.tar + path: servicebinding-runtime-bundle.tar + retention-days: 7 acceptance: name: Acceptance Test @@ -210,274 +210,274 @@ jobs: fail-fast: false matrix: include: - - kubernetes-version: v1.23 - - kubernetes-version: v1.24 - - kubernetes-version: v1.25 - - kubernetes-version: v1.26 - - kubernetes-version: v1.27 - - kubernetes-version: v1.28 - - kubernetes-version: v1.29 - - kubernetes-version: v1.30 - - kubernetes-version: v1.31 - - kubernetes-version: v1.32 - - kubernetes-version: v1.33 - - kubernetes-version: v1.34 - - kubernetes-version: v1.35 - - kubernetes-version: v1.36 - - kubernetes-version: v1.37 + - kubernetes-version: v1.23 + - kubernetes-version: v1.24 + - kubernetes-version: v1.25 + - kubernetes-version: v1.26 + - kubernetes-version: v1.27 + - kubernetes-version: v1.28 + - kubernetes-version: v1.29 + - kubernetes-version: v1.30 + - kubernetes-version: v1.31 + - kubernetes-version: v1.32 + - kubernetes-version: v1.33 + - kubernetes-version: v1.34 + - kubernetes-version: v1.35 + - kubernetes-version: v1.36 + - kubernetes-version: v1.37 steps: - - uses: actions/checkout@v7 - - parallel: - - uses: actions/setup-go@v6 + - uses: actions/checkout@v7 + - parallel: + - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + cache-dependency-path: "**/*.sum" + - uses: actions/setup-python@v6 + with: + python-version: "3.10" + - parallel: + - *install-imgpkg + - *install-kapp + - *install-kbld + - name: Start registry + id: registry + uses: reconcilerio/registry@v1 + - name: kind cluster + uses: reconcilerio/kind@v1 with: - go-version-file: go.mod - cache-dependency-path: '**/*.sum' - - uses: actions/setup-python@v6 + kubernetes-version: "${{ matrix.kubernetes-version }}" + registry: "${{ steps.registry.outputs.registry }}" + registry-ca: "${{ steps.registry.outputs.tls-ca }}" + - name: Download staged bundle + uses: actions/download-artifact@v8 with: - python-version: "3.10" - - parallel: - - *install-imgpkg - - *install-kapp - - *install-kbld - - name: Start registry - id: registry - uses: reconcilerio/registry@v1 - - name: kind cluster - uses: reconcilerio/kind@v1 - with: - kubernetes-version: "${{ matrix.kubernetes-version }}" - registry: "${{ steps.registry.outputs.registry }}" - registry-ca: "${{ steps.registry.outputs.tls-ca }}" - - name: Download staged bundle - uses: actions/download-artifact@v8 - with: - name: servicebinding-runtime-bundle.tar - - name: Relocate bundle - run: | - set -o errexit - set -o nounset - set -o pipefail + name: servicebinding-runtime-bundle.tar + - name: Relocate bundle + run: | + set -o errexit + set -o nounset + set -o pipefail - bundle="${{ steps.registry.outputs.registry }}/bundle" - ${IMGPKG} copy --tar servicebinding-runtime-bundle.tar --to-repo "${bundle}" - mkdir -p bundle - ${IMGPKG} pull -b "${bundle}" -o bundle - - name: Deploy - run: | - set -o errexit - set -o nounset - set -o pipefail + bundle="${{ steps.registry.outputs.registry }}/bundle" + ${IMGPKG} copy --tar servicebinding-runtime-bundle.tar --to-repo "${bundle}" + mkdir -p bundle + ${IMGPKG} pull -b "${bundle}" -o bundle + - name: Deploy + run: | + set -o errexit + set -o nounset + set -o pipefail - echo "##[group]Create namespace" - kubectl create ns apps - echo "##[endgroup]" - echo "##[group]Deploy cert-manager" - ${KAPP} deploy -a cert-manager -n apps --wait-timeout 5m -y \ - -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml - echo "##[endgroup]" - echo "##[group]Deploy servicebinding-runtime" - ${KAPP} deploy -a servicebinding-runtime -n apps --wait-timeout 5m -y \ - -f <(${KBLD} -f bundle/.imgpkg/images.yml -f bundle/config) - echo "##[endgroup]" - - name: Test samples - run: | - set -o errexit - set -o nounset - set -o pipefail + echo "##[group]Create namespace" + kubectl create ns apps + echo "##[endgroup]" + echo "##[group]Deploy cert-manager" + ${KAPP} deploy -a cert-manager -n apps --wait-timeout 5m -y \ + -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml + echo "##[endgroup]" + echo "##[group]Deploy servicebinding-runtime" + ${KAPP} deploy -a servicebinding-runtime -n apps --wait-timeout 5m -y \ + -f <(${KBLD} -f bundle/.imgpkg/images.yml -f bundle/config) + echo "##[endgroup]" + - name: Test samples + run: | + set -o errexit + set -o nounset + set -o pipefail - echo "##[group]Deploy spring-petclinic" - ${KAPP} deploy -a servicebinding-sample-spring-petclinic -n apps --wait-timeout 5m -y \ - -f samples/spring-petclinic - echo "##[endgroup]" + echo "##[group]Deploy spring-petclinic" + ${KAPP} deploy -a servicebinding-sample-spring-petclinic -n apps --wait-timeout 5m -y \ + -f samples/spring-petclinic + echo "##[endgroup]" - - name: Checkout conformance tests - uses: actions/checkout@v7 - with: - repository: servicebinding/conformance.git - ref: v0.3.2 - fetch-depth: 1 - path: conformance-tests + - name: Checkout conformance tests + uses: actions/checkout@v7 + with: + repository: servicebinding/conformance.git + ref: v0.3.2 + fetch-depth: 1 + path: conformance-tests - - name: Conformance tests - working-directory: conformance-tests - run: | - set -o errexit - set -o nounset - set -o pipefail + - name: Conformance tests + working-directory: conformance-tests + run: | + set -o errexit + set -o nounset + set -o pipefail - echo "##[group]Setup conformance tests" - ./setup.sh - echo "##[endgroup]" - echo "##[group]Run conformance tests" - ./run_tests.sh -j 4 - echo "##[endgroup]" + echo "##[group]Setup conformance tests" + ./setup.sh + echo "##[endgroup]" + echo "##[group]Run conformance tests" + ./run_tests.sh -j 4 + echo "##[endgroup]" - - name: Collect diagnostics - run: | - set +o errexit - set -o nounset - set +o pipefail + - name: Collect diagnostics + run: | + set +o errexit + set -o nounset + set +o pipefail - if [ -e conformance-tests/test-output/results/failing_scenarios.txt ] ; then - echo "##[group]failing conformance tests" - cat conformance-tests/test-output/results/failing_scenarios.txt - echo "##[endgroup]" - fi + if [ -e conformance-tests/test-output/results/failing_scenarios.txt ] ; then + echo "##[group]failing conformance tests" + cat conformance-tests/test-output/results/failing_scenarios.txt + echo "##[endgroup]" + fi - echo "##[group]kubectl get clusterworkloadresourcemappings.servicebinding.io" - kubectl get clusterworkloadresourcemappings.servicebinding.io - echo "##[endgroup]" - echo "##[group]kubectl get servicebindings.servicebinding.io -A" - kubectl get servicebindings.servicebinding.io -A - echo "##[endgroup]" - echo "##[group]kubectl describe servicebindings.servicebinding.io -A" - kubectl describe servicebindings.servicebinding.io -A - echo "##[endgroup]" - echo "##[group]kapp list -A" - ${KAPP} list -A - echo "##[endgroup]" - echo "##[group]kubectl get all -n servicebinding-system" - kubectl get all -n servicebinding-system - echo "##[endgroup]" - echo "##[group]kubectl get all -n servicebinding-cts" - kubectl get all -n servicebindings-cts - echo "##[endgroup]" - echo "##[group]kubectl describe deployments.apps -n servicebinding-system" - kubectl describe deployments.apps -n servicebinding-system - echo "##[endgroup]" - echo "##[group]kubectl describe deployments.apps -n servicebinding-cts" - kubectl describe deployments.apps -n servicebindings-cts - echo "##[endgroup]" - echo "##[group]kubectl describe mutatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-admission-projector" - kubectl describe mutatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-admission-projector - echo "##[endgroup]" - echo "##[group]kubectl describe validatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-trigger" - kubectl describe validatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-trigger - echo "##[endgroup]" - echo "##[group]kubectl logs -n servicebinding-system -l control-plane=controller-manager --tail 10000" - kubectl logs -n servicebinding-system -l control-plane=controller-manager --tail 10000 - echo "##[endgroup]" - if: always() - continue-on-error: true - - name: Save test results - uses: actions/upload-artifact@v7 - if: always() - with: - name: acceptance-test-results-${{ matrix.kubernetes-version }} - path: conformance-tests/test-output/results - - name: Delete Gracefully - run: | - set -o errexit - set -o nounset - set -o pipefail + echo "##[group]kubectl get clusterworkloadresourcemappings.servicebinding.io" + kubectl get clusterworkloadresourcemappings.servicebinding.io + echo "##[endgroup]" + echo "##[group]kubectl get servicebindings.servicebinding.io -A" + kubectl get servicebindings.servicebinding.io -A + echo "##[endgroup]" + echo "##[group]kubectl describe servicebindings.servicebinding.io -A" + kubectl describe servicebindings.servicebinding.io -A + echo "##[endgroup]" + echo "##[group]kapp list -A" + ${KAPP} list -A + echo "##[endgroup]" + echo "##[group]kubectl get all -n servicebinding-system" + kubectl get all -n servicebinding-system + echo "##[endgroup]" + echo "##[group]kubectl get all -n servicebinding-cts" + kubectl get all -n servicebindings-cts + echo "##[endgroup]" + echo "##[group]kubectl describe deployments.apps -n servicebinding-system" + kubectl describe deployments.apps -n servicebinding-system + echo "##[endgroup]" + echo "##[group]kubectl describe deployments.apps -n servicebinding-cts" + kubectl describe deployments.apps -n servicebindings-cts + echo "##[endgroup]" + echo "##[group]kubectl describe mutatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-admission-projector" + kubectl describe mutatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-admission-projector + echo "##[endgroup]" + echo "##[group]kubectl describe validatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-trigger" + kubectl describe validatingwebhookconfigurations.admissionregistration.k8s.io servicebinding-trigger + echo "##[endgroup]" + echo "##[group]kubectl logs -n servicebinding-system -l control-plane=controller-manager --tail 10000" + kubectl logs -n servicebinding-system -l control-plane=controller-manager --tail 10000 + echo "##[endgroup]" + if: always() + continue-on-error: true + - name: Save test results + uses: actions/upload-artifact@v7 + if: always() + with: + name: acceptance-test-results-${{ matrix.kubernetes-version }} + path: conformance-tests/test-output/results + - name: Delete Gracefully + run: | + set -o errexit + set -o nounset + set -o pipefail - echo "##[group]Delete spring-petclinic" - ${KAPP} delete -a servicebinding-sample-spring-petclinic -n apps --wait-timeout 5m -y - echo "##[endgroup]" - echo "##[group]Delete servicebinding-runtime" - ${KAPP} delete -a servicebinding-runtime -n apps --wait-timeout 5m -y - echo "##[endgroup]" - echo "##[group]Delete cert-manager" - ${KAPP} delete -a cert-manager -n apps --wait-timeout 5m -y - echo "##[endgroup]" - if: always() + echo "##[group]Delete spring-petclinic" + ${KAPP} delete -a servicebinding-sample-spring-petclinic -n apps --wait-timeout 5m -y + echo "##[endgroup]" + echo "##[group]Delete servicebinding-runtime" + ${KAPP} delete -a servicebinding-runtime -n apps --wait-timeout 5m -y + echo "##[endgroup]" + echo "##[group]Delete cert-manager" + ${KAPP} delete -a cert-manager -n apps --wait-timeout 5m -y + echo "##[endgroup]" + if: always() # aggregate the unit and acceptance results into a single job test: name: Test needs: - - unit - - acceptance + - unit + - acceptance runs-on: ubuntu-latest steps: - - run: echo "it passed" + - run: echo "it passed" release: name: Release needs: - - test + - test if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 - with: - go-version-file: go.mod - cache-dependency-path: '**/*.sum' - - parallel: - - *install-crane - - *install-imgpkg - - *install-kbld - - name: Get the version - id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - - name: Draft release - id: create_release - uses: actions/create-release@v1.1.4 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ steps.get_version.outputs.VERSION }} - draft: true - - name: Download staged bundle - uses: actions/download-artifact@v8 - with: - name: servicebinding-runtime-bundle.tar - - name: Upload servicebinding-runtime-bundle.tar - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: servicebinding-runtime-bundle.tar - asset_name: servicebinding-runtime-bundle-${{ steps.get_version.outputs.VERSION }}.tar - asset_content_type: application/x-tar - - name: Login to GitHub Container Registry - uses: docker/login-action@v4 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Relocate bundle to public registry - run: | - set -o errexit - set -o nounset - set -o pipefail + - uses: actions/checkout@v7 + - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + cache-dependency-path: "**/*.sum" + - parallel: + - *install-crane + - *install-imgpkg + - *install-kbld + - name: Get the version + id: get_version + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + - name: Draft release + id: create_release + uses: actions/create-release@v1.1.4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: ${{ steps.get_version.outputs.VERSION }} + draft: true + - name: Download staged bundle + uses: actions/download-artifact@v8 + with: + name: servicebinding-runtime-bundle.tar + - name: Upload servicebinding-runtime-bundle.tar + uses: actions/upload-release-asset@v1.0.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: servicebinding-runtime-bundle.tar + asset_name: servicebinding-runtime-bundle-${{ steps.get_version.outputs.VERSION }}.tar + asset_content_type: application/x-tar + - name: Login to GitHub Container Registry + uses: docker/login-action@v4 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Relocate bundle to public registry + run: | + set -o errexit + set -o nounset + set -o pipefail - version=${{ steps.get_version.outputs.VERSION }} + version=${{ steps.get_version.outputs.VERSION }} - ${IMGPKG} copy --tar servicebinding-runtime-bundle.tar --to-repo "ghcr.io/${{ github.repository }}/bundle" - crane tag "ghcr.io/${{ github.repository }}/bundle" "${version}" - digest=$(crane digest "ghcr.io/${{ github.repository }}/bundle:${version}") + ${IMGPKG} copy --tar servicebinding-runtime-bundle.tar --to-repo "ghcr.io/${{ github.repository }}/bundle" + crane tag "ghcr.io/${{ github.repository }}/bundle" "${version}" + digest=$(crane digest "ghcr.io/${{ github.repository }}/bundle:${version}") - scratch=$(mktemp -d -t bundle.XXXX) - mkdir -p ${scratch} - ${IMGPKG} pull -b "ghcr.io/${{ github.repository }}/bundle:${version}@${digest}" -o ${scratch} + scratch=$(mktemp -d -t bundle.XXXX) + mkdir -p ${scratch} + ${IMGPKG} pull -b "ghcr.io/${{ github.repository }}/bundle:${version}@${digest}" -o ${scratch} - cp hack/boilerplate.yaml.txt servicebinding-runtime.yaml - ${KBLD} -f ${scratch}/config/servicebinding-runtime.yaml -f ${scratch}/.imgpkg/images.yml \ - >> servicebinding-runtime.yaml + cp hack/boilerplate.yaml.txt servicebinding-runtime.yaml + ${KBLD} -f ${scratch}/config/servicebinding-runtime.yaml -f ${scratch}/.imgpkg/images.yml \ + >> servicebinding-runtime.yaml - cp hack/boilerplate.yaml.txt servicebinding-workloadresourcemappings.yaml - ${KBLD} -f ${scratch}/config/servicebinding-workloadresourcemappings.yaml -f ${scratch}/.imgpkg/images.yml \ - >> servicebinding-workloadresourcemappings.yaml + cp hack/boilerplate.yaml.txt servicebinding-workloadresourcemappings.yaml + ${KBLD} -f ${scratch}/config/servicebinding-workloadresourcemappings.yaml -f ${scratch}/.imgpkg/images.yml \ + >> servicebinding-workloadresourcemappings.yaml - - name: Upload servicebinding-runtime.yaml - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: servicebinding-runtime.yaml - asset_name: servicebinding-runtime-${{ steps.get_version.outputs.VERSION }}.yaml - asset_content_type: application/x-yaml - - name: Upload servicebinding-workloadresourcemappings.yaml - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: servicebinding-workloadresourcemappings.yaml - asset_name: servicebinding-workloadresourcemappings-${{ steps.get_version.outputs.VERSION }}.yaml - asset_content_type: application/x-yaml + - name: Upload servicebinding-runtime.yaml + uses: actions/upload-release-asset@v1.0.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: servicebinding-runtime.yaml + asset_name: servicebinding-runtime-${{ steps.get_version.outputs.VERSION }}.yaml + asset_content_type: application/x-yaml + - name: Upload servicebinding-workloadresourcemappings.yaml + uses: actions/upload-release-asset@v1.0.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: servicebinding-workloadresourcemappings.yaml + asset_name: servicebinding-workloadresourcemappings-${{ steps.get_version.outputs.VERSION }}.yaml + asset_content_type: application/x-yaml