Skip to content

fix(deps): update module go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to v0.45.0 #5586

fix(deps): update module go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to v0.45.0

fix(deps): update module go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to v0.45.0 #5586

name: Create Bosh Release
on:
pull_request:
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}/${{ github.ref }}"
cancel-in-progress: true
jobs:
generate-gosub:
name: ensure gosub specs are up to date
runs-on: ubuntu-latest
container:
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main
steps:
- name: Trust my checkout
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- uses: actions/checkout@v4
- name: sync-package-specs
shell: bash
run: |
#! /usr/bin/env bash
set -eu -o pipefail
make --directory='./src/acceptance/assets/app/go_app' generate-fakes
make --directory='./src/autoscaler' generate-fakes
make package-specs
- name: Check if there is any change
run: |
[ $(git status --porcelain | wc -l) -eq 0 ] || \
{ \
git status;\
echo "::error::Specs are out of date, run \"make package-specs\" to update";\
exit 1;\
}
bosh-release:
needs: generate-gosub
name: Create Bosh Release
runs-on: ubuntu-latest
container:
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main
steps:
- name: Trust my checkout
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- uses: actions/checkout@v4
- name: Run Update
shell: bash
run: |
#! /usr/bin/env bash
set -eu -o pipefail
make --directory='./src/acceptance/assets/app/go_app' generate-fakes
make --directory='./src/autoscaler' generate-fakes
export PATH="${PATH}:/usr/local/maven/bin"
make go-mod-tidy go-mod-vendor db scheduler
- name: Build Dev Release
id: build
uses: orange-cloudfoundry/[email protected]
- name: Compile Dev Release
uses: cloudfoundry/bosh-compile-action@main
with:
file: ${{ steps.build.outputs.file }}
args: --guess --debug