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(deps): update module github.com/google/flatbuffers to v24 - autoclosed #110

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .ci/packages/flatbuffers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing flatbuffers $FLATBUFFERS_VERSION"
curl -Lo /tmp/flatc.zip "https://github.com/google/flatbuffers/releases/download/v${FLATBUFFERS_VERSION}/Linux.flatc.binary.g++-10.zip"
unzip /tmp/flatc.zip flatc -d /usr/local/bin/
15 changes: 15 additions & 0 deletions .ci/packages/go-swagger.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing go-swagger $SWAGGER_VERSION"
curl -Lo /usr/local/bin/swagger "https://github.com/go-swagger/go-swagger/releases/download/v${SWAGGER_VERSION}/swagger_linux_amd64"
chmod 0755 /usr/local/bin/swagger
15 changes: 15 additions & 0 deletions .ci/packages/gofumpt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing gofumpt $GOFUMPT_VERSION"
curl -Lso /usr/local/bin/gofumpt "https://github.com/mvdan/gofumpt/releases/download/v${GOFUMPT_VERSION}/gofumpt_v${GOFUMPT_VERSION}_linux_amd64"
chmod 0755 /usr/local/bin/gofumpt
15 changes: 15 additions & 0 deletions .ci/packages/golangci-lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing golangci-lint $GOLANGCI_LINT_VERSION"
curl -Lo /tmp/golangci-lint.deb "https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.deb"
dpkg -i /tmp/golangci-lint.deb
15 changes: 15 additions & 0 deletions .ci/packages/goreleaser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing goreleaser $GORELEASER_VERSION"
curl -L "https://github.com/goreleaser/goreleaser/releases/download/v${GORELEASER_VERSION}/goreleaser-${GORELEASER_VERSION}-1-x86_64.pkg.tar.zst" |
tar --extract --zstd --directory=/
15 changes: 15 additions & 0 deletions .ci/packages/hugo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing hugo $HUGO_VERSION"
curl -Lo /tmp/hugo.deb "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb"
dpkg -i /tmp/hugo.deb
15 changes: 15 additions & 0 deletions .ci/packages/just.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing just $JUST_VERSION"
curl -Ls "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" |
tar --extract --gzip --directory=/usr/local/bin just
13 changes: 13 additions & 0 deletions .ci/packages/markdown-link-check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

npm install -g "markdown-link-check@$MARKDOWN_LINK_CHECK_VERSION"
15 changes: 15 additions & 0 deletions .ci/packages/mockery.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing mockery $MOCKERY_VERSION"
curl -Ls "https://github.com/vektra/mockery/releases/download/v${MOCKERY_VERSION}/mockery_${MOCKERY_VERSION}_Linux_x86_64.tar.gz" |
tar --extract --gzip --directory=/usr/local/bin mockery
15 changes: 15 additions & 0 deletions .ci/packages/pandoc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing pandoc $PANDOC_VERSION"
curl -Lo /tmp/pandoc.deb "https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb"
dpkg -i /tmp/pandoc.deb
16 changes: 16 additions & 0 deletions .ci/packages/staticcheck.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing staticcheck $STATICCHECK_VERSION"
curl -Ls "https://github.com/dominikh/go-tools/releases/download/${STATICCHECK_VERSION}/staticcheck_linux_amd64.tar.gz" |
tar --extract --gzip --strip-components=1 --directory=/usr/local/bin staticcheck/staticcheck
chmod 0755 /usr/local/bin/staticcheck
12 changes: 12 additions & 0 deletions .ci/packages/versions.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export FLATBUFFERS_VERSION=23.5.26 # github-releases/google/flatbuffers&versioning=semver
export GOFUMPT_VERSION=0.6.0 # github-releases/mvdan/gofumpt&versioning=semver
export GOLANGCI_LINT_VERSION=1.58.2 # github-releases/golangci/golangci-lint&versioning=semver
export GORELEASER_VERSION=1.26.1 # github-releases/goreleaser/goreleaser&versioning=semver
export HUGO_VERSION=0.122.0 # github-releases/gohugoio/hugo&versioning=semver
export JUST_VERSION=1.26.0 # github-releases/casey/just&versioning=semver
export MOCKERY_VERSION=2.42.1 # github-releases/vektra/mockery&versioning=semver
export PANDOC_VERSION=3.2 # github-releases/jgm/pandoc&versioning=semver
export STATICCHECK_VERSION=2023.1.7 # github-releases/dominikh/go-tools&versioning=loose
export SWAGGER_VERSION=0.30.5 # github-releases/go-swagger/go-swagger&versioning=semver
export ZIG_VERSION=0.12.0 # github-releases/ziglang/zig&versioning=semver
export MARKDOWN_LINK_CHECK_VERSION=3.11.2 # github-releases/tcort/markdown-link-check&versioning=semver
15 changes: 15 additions & 0 deletions .ci/packages/zig.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

. "$SCRIPT_DIR/versions.env"

echo "Installing zig $ZIG_VERSION"
curl -L "https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz" |
tar --extract --xz --strip-components=1 --directory=/usr/local/bin
11 changes: 11 additions & 0 deletions .ci/setup-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

apt-get update -q
apt-get install -q -y --no-install-recommends xz-utils zstd

"$SCRIPT_DIR/packages/just.sh"
"$SCRIPT_DIR/packages/zig.sh"
"$SCRIPT_DIR/packages/goreleaser.sh"
5 changes: 5 additions & 0 deletions .ci/setup-cli-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail

apt-get update -q
apt-get install -q -y --no-install-recommends bats jq systemd
13 changes: 13 additions & 0 deletions .ci/setup-generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

apt-get update -q
apt-get install -q -y --no-install-recommends python3-yaml git-lfs apt-transport-https unzip

"$SCRIPT_DIR/packages/just.sh"
"$SCRIPT_DIR/packages/gofumpt.sh"
"$SCRIPT_DIR/packages/go-swagger.sh"
"$SCRIPT_DIR/packages/mockery.sh"
"$SCRIPT_DIR/packages/flatbuffers.sh"
8 changes: 8 additions & 0 deletions .ci/setup-lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

"$SCRIPT_DIR/packages/just.sh"
"$SCRIPT_DIR/packages/staticcheck.sh"
"$SCRIPT_DIR/packages/golangci-lint.sh"
1 change: 1 addition & 0 deletions .ci/setup-mysql.sh
12 changes: 12 additions & 0 deletions .ci/setup-pages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

apt-get update -q
apt-get install -q -y --no-install-recommends npm imagemagick librsvg2-bin

"$SCRIPT_DIR/packages/hugo.sh"
"$SCRIPT_DIR/packages/just.sh"
"$SCRIPT_DIR/packages/pandoc.sh"
"$SCRIPT_DIR/packages/markdown-link-check.sh"
6 changes: 6 additions & 0 deletions .ci/setup-postgres.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

"$SCRIPT_DIR/packages/just.sh"
22 changes: 0 additions & 22 deletions .github/dependabot.yml

This file was deleted.

Loading
Loading