mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
This commit is contained in:
parent
a7ca66576b
commit
efbe4c0777
@ -41,7 +41,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.19.3
|
||||
|
||||
- name: Install Go Dependencies
|
||||
run: make deps-go
|
||||
|
2
.github/workflows/build-binaries.yaml
vendored
2
.github/workflows/build-binaries.yaml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.19.3
|
||||
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
|
||||
|
8
.github/workflows/fleet-and-orbit.yml
vendored
8
.github/workflows/fleet-and-orbit.yml
vendored
@ -56,7 +56,7 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
mysql: ['mysql:5.7']
|
||||
runs-on: ubuntu-latest
|
||||
needs: gen
|
||||
@ -145,7 +145,7 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
runs-on: ubuntu-latest
|
||||
needs: gen
|
||||
steps:
|
||||
@ -185,7 +185,7 @@ jobs:
|
||||
build-macos-targets:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
|
||||
@ -227,7 +227,7 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
runs-on: ubuntu-latest
|
||||
needs: [gen, build-macos-targets]
|
||||
steps:
|
||||
|
@ -47,7 +47,7 @@ jobs:
|
||||
matrix:
|
||||
# Doesn't work on Windows because Linux Docker containers are not supported.
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
go-version: ['1.19.1']
|
||||
go-version: ['1.19.3']
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
||||
|
@ -37,7 +37,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: '^1.19.1'
|
||||
go-version: '^1.19.3'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: '^1.19.1'
|
||||
go-version: '^1.19.3'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
|
||||
@ -108,7 +108,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: '^1.19.1'
|
||||
go-version: '^1.19.3'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
|
||||
|
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
|
||||
with:
|
||||
go-version: '1.19.1'
|
||||
go-version: '1.19.3'
|
||||
|
||||
- name: Run go lint
|
||||
run: |
|
||||
|
2
.github/workflows/goreleaser-fleet.yaml
vendored
2
.github/workflows/goreleaser-fleet.yaml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.19.3
|
||||
|
||||
- name: Install JS Dependencies
|
||||
run: make deps-js
|
||||
|
2
.github/workflows/goreleaser-orbit.yaml
vendored
2
.github/workflows/goreleaser-orbit.yaml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.19.3
|
||||
|
||||
- name: Run GoReleaser
|
||||
run: go run github.com/goreleaser/goreleaser@v1.9.2 release --rm-dist -f orbit/.goreleaser.yml
|
||||
|
@ -37,7 +37,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.19.3
|
||||
|
||||
- name: Install Dependencies
|
||||
run: make deps
|
||||
|
2
.github/workflows/test-db-changes.yml
vendored
2
.github/workflows/test-db-changes.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # v2
|
||||
with:
|
||||
go-version: '^1.19.1'
|
||||
go-version: '^1.19.3'
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
|
||||
with:
|
||||
|
2
.github/workflows/test-go.yaml
vendored
2
.github/workflows/test-go.yaml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
mysql: ["mysql:5.7.21", "mysql:8.0.28"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
6
.github/workflows/test-packaging.yml
vendored
6
.github/workflows/test-packaging.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
@ -88,10 +88,10 @@ jobs:
|
||||
|
||||
- name: Build DEB with Fleet Desktop
|
||||
run: ./build/fleetctl package --type deb --enroll-secret=foo --fleet-url=https://localhost:8080 --fleet-desktop
|
||||
|
||||
|
||||
- name: Build RPM
|
||||
run: ./build/fleetctl package --type rpm --enroll-secret=foo --fleet-url=https://localhost:8080
|
||||
|
||||
|
||||
- name: Build RPM with Fleet Desktop
|
||||
run: ./build/fleetctl package --type rpm --enroll-secret=foo --fleet-url=https://localhost:8080 --fleet-desktop
|
||||
|
||||
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
go-version: ['^1.19.1']
|
||||
go-version: ['^1.19.3']
|
||||
fleet-tier: [free, premium]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
1
changes/update-go-1.19.3
Normal file
1
changes/update-go-1.19.3
Normal file
@ -0,0 +1 @@
|
||||
* Update Go to 1.19.3
|
@ -1,6 +1,6 @@
|
||||
FROM golang:1.19.1
|
||||
FROM golang:1.19.3
|
||||
ARG TAG
|
||||
RUN git clone -b $TAG --depth=1 --no-tags --progress --no-recurse-submodules https://github.com/fleetdm/fleet.git && cd /go/fleet/cmd/osquery-perf/ && go build .
|
||||
|
||||
FROM golang:1.19.1
|
||||
FROM golang:1.19.3
|
||||
COPY --from=0 /go/fleet/cmd/osquery-perf/osquery-perf /go/osquery-perf
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.19.1-alpine AS builder
|
||||
FROM golang:1.19.3-alpine AS builder
|
||||
RUN apk update && apk add --no-cache git curl openssl unzip
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.19.1-alpine AS builder
|
||||
FROM golang:1.19.3-alpine AS builder
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN go get -d -v
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.19.1-alpine AS builder
|
||||
FROM golang:1.19.3-alpine AS builder
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN go get -d -v
|
||||
|
@ -6,7 +6,7 @@ RUN cargo install --version 0.16.0 apple-codesign \
|
||||
&& curl -sSf $transporter_url -o transporter_install.sh \
|
||||
&& sh transporter_install.sh --target transporter --accept --noexec
|
||||
|
||||
FROM golang:1.19.1-bullseye
|
||||
FROM golang:1.19.3-bullseye
|
||||
|
||||
RUN apt-get update \
|
||||
&& dpkg --add-architecture i386 \
|
||||
|
Loading…
Reference in New Issue
Block a user