Skip to content

[updatecli] 8.19 - Update to elastic/beats@421de3fbaad8 #13335

[updatecli] 8.19 - Update to elastic/beats@421de3fbaad8

[updatecli] 8.19 - Update to elastic/beats@421de3fbaad8 #13335

Workflow file for this run

name: Packaging
on:
pull_request:
branches:
- main
- "[0-9]+.[0-9]+"
- "8.x"
types: [opened, synchronize, reopened]
env:
DEV: true
SNAPSHOT: true
PLATFORMS: linux/amd64
GOPATH: /home/runner/go
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
package_beat:
name: Package Cloudbeat
runs-on: ubuntu-22.04
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
types: [tar.gz, docker]
steps:
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # main
# with:
# tool-cache: false
# android: true
# dotnet: true
# haskell: true
# large-packages: false
# docker-images: true
# swap-storage: true
- name: Check out the repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Hermit Environment
uses: ./.github/actions/hermit
with:
init-tools: 'true'
# - name: Initialize hermit
# shell: bash
# run: ./bin/hermit env --raw >> "$GITHUB_ENV"
# - name: Install Hermit packages
# run: hermit install -v
# - name: Reinstall Go to fix symlinks
# run: |
# hermit uninstall go || true
# hermit install go
# - name: Debug Go installation
# run: |
# echo "=== Which go ==="
# which go
# echo "=== Go version ==="
# go version
# echo "=== GOROOT ==="
# echo $GOROOT
# echo "=== GOROOT contents ==="
# ls -la $GOROOT || echo "GOROOT does not exist!"
# echo "=== Hermit cache ==="
# ls -la ~/.cache/hermit/pkg/ | grep go
# echo "=== Hermit go bin ==="
# ls -la .hermit/go/bin/go
# echo "=== Go env ==="
# go env
- name: Packaging
run: |
mage -v package
env:
TYPES: ${{ matrix.types }}
# GOTOOLCHAIN: auto