xcputranslate

Simple CI translation from Docker CPU arch strings to other format

MIT License

Stars
7
xcputranslate - v0.8.0 Latest Release

Published by qdm12 about 2 years ago

xcputranslate - v0.7.0 (broken)

Published by qdm12 over 2 years ago

⚠️ THIS IS BROKEN, USE v0.8.0 INSTEAD ⚠️

Fixes

Features

  • -setenv flag to set environment variables for language (only golang for now) (removed in v0.8.0)
  • Add uname language option
  • Add dashes language option

Documentation

  • Update readme to use v0.7.0
  • Move xcputranslate pull before build in example Dockerfile

Maintenance

  • Dockerfile: use curl braces for ${BUILDPLATFORM}
  • CI: remove microbadger hooks
  • Devcontainer: update all files
  • Upgrade to Go 1.17
  • CI: remove tidy check to work with Go 1.17
  • Dockerfile: upgrade to Alpine 3.15
  • Dockerfile: upgrade golangci-lint to v1.44.2
xcputranslate - v0.6.0

Published by qdm12 over 3 years ago

Breaking changes

  • Requires a command to be specified. You now need to specify xcputranslate translate.

Features

  • xcputranslate sleep command to avoid parallel compilation in order to avoid OOM issues

Documentation

  • Move xcputranslate COPY instruction down as it breaks the common build on the native platform in N builds (might be a buildkit bug)

Maintenance

  • Fix microbadger webhook url
xcputranslate - v0.5.0

Published by qdm12 over 3 years ago

Features

  • Support for uname -m translations using the -language uname flag

Fixes

  • Fix BUILD_DATE variable dollar sign in CI to have the right build date in the built binary

Documentation

  • Update readme with arm64/v8 support
  • Update readme with uname 'language' support

Maintenance

  • Upgrade to Go 1.16
  • Improve Dockerfile build stages
    • Upgrade to Alpine 3.13
    • Upgrade Golangci-lint from v1.34.1 to v1.40.1
    • Install golantci-lint using go get
    • Simplify local xcputranslate go build command
    • Install golangci-lint after setting CGO_ENABLED=0
  • Upgrade Github Actions dependencies
    • Bump docker/login-action from 1 to 1.9.0
    • Bump docker/build-push-action from 2 to 2.5.0 (#6 and #7)
    • Bump goreleaser/goreleaser-action from 2 to 2.6.1 (#5 and #9)
    • Bump actions/checkout from 2 to 2.3.4 (#4)
  • Upgrade Go dependencies
    • Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#1)
xcputranslate - v0.4.0

Published by qdm12 almost 4 years ago

Changelog

6cbf93c CI: Faster build workflows
138931e CI: Fix build args and image tag
6c0533e CI: Re-add missnig GITHUB_TOKEN env for goreleaser
9f07e73 Dockerfile: Run as user 1000 instead of root
d30d065 Dockerfile: remove duplicate COPY instructions
2b36744 Feature: support linux/arm64/v8 as linux/arm64

xcputranslate - v0.3.0

Published by qdm12 almost 4 years ago

Changelog

9f6449e Add support for linux/riscv64
7193b43 CI: Remove riscv64 from gorelease configuration
d887b1f Change pipe to flag to build platform
9d0ac43 Github special files
60f4564 Improve readme
e5eefcb PR from fork workflow
b4c9b1b Remove PR fork workflow

xcputranslate - v0.2.0

Published by qdm12 almost 4 years ago

Changelog

0096d5c Add linux/s390x and linux/ppc64le to Docker buildx
235e26e Build binary to use it for xcompile in Dockerfile
4a91ada Copy xcputranslate from latest image in Dockerfile
80b1a99 Docker image setup and workflows
4efa69f Fix Github workflow names and shorten commands
d295d22 PR workflow
2db50c6 Replace linux/amd64 by BUILDPLATFORM in Dockerfile
dba04f6 Rework main function - Exits on context canceled (CTRL+C etc.) - Build information global variables
c996080 Setup buildx with docker/setup-buildx-action@v1
999da34 Setup documentation
0f6c6b3 Specify amd64 platform for all pre-build stages in Dockerfile
353f297 Use native docker buildkit when possible in workflows

xcputranslate - v0.1.0

Published by qdm12 almost 4 years ago

Changelog

1d7b6a9 Base Go program
27b0747 Documentation: Build it yourself
37ff93f Fix lint issues
abcf582 Initial commit
6321c35 Latest workflow: test and lint
552522a Linter
b7a3d09 Readme
e9cda66 Release workflow with gorelease
5ed5a63 VSCode Development container