Skip to content

Commit c35c19f

Browse files
Fix cherry-picks
1 parent d838639 commit c35c19f

File tree

20 files changed

+1407
-17752
lines changed

20 files changed

+1407
-17752
lines changed

.buildkite/pipeline.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -83,31 +83,6 @@ steps:
8383
- build/*.xml
8484
- build/coverage*.out
8585

86-
<<<<<<< HEAD
87-
=======
88-
- label: ":smartbear-testexecute: Run unit tests with requirefips build tag"
89-
key: unit-test-fips-tag
90-
command: ".buildkite/scripts/unit_test.sh"
91-
env:
92-
FIPS: "true"
93-
agents:
94-
provider: "gcp"
95-
artifact_paths:
96-
- build/*.xml
97-
- build/coverage*.out
98-
99-
- label: ":smartbear-testexecute: Run fips140=only unit tests"
100-
key: unit-test-fips140-only
101-
command: ".buildkite/scripts/unit_test_fipsonly.sh"
102-
env:
103-
FIPS: "true"
104-
agents:
105-
provider: "gcp"
106-
artifact_paths:
107-
- build/*.xml
108-
- build/coverage*.out
109-
110-
>>>>>>> db5f46b (Convert Makefile to magefile.go (#4912))
11186
- label: ":smartbear-testexecute: Run unit tests: MacOS 13"
11287
key: unit-test-macos-13
11388
command: ".buildkite/scripts/unit_test.sh"
@@ -132,25 +107,19 @@ steps:
132107
- label: "E2E Test"
133108
key: "e2e-test"
134109
command: ".buildkite/scripts/e2e_test.sh"
135-
<<<<<<< HEAD
136110
env:
137111
TESTCONTAINERS_RYUK_CONTAINER_PRIVILEGED: "true"
138-
=======
139-
>>>>>>> db5f46b (Convert Makefile to magefile.go (#4912))
140112
agents:
141113
provider: "gcp"
142114
artifact_paths:
143115
- build/*.xml
144116
- build/e2e-coverage.out
145-
<<<<<<< HEAD
146-
=======
147117
plugins:
148118
- test-collector#v1.10.2:
149119
files: "build/test-*.xml"
150120
format: "junit"
151121
branches: "main"
152122
debug: true
153-
>>>>>>> db5f46b (Convert Makefile to magefile.go (#4912))
154123

155124
- label: ":junit: Junit annotate"
156125
plugins:

.buildkite/scripts/common.sh

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,6 @@ with_go() {
5151
export PATH="${PATH}:$(go env GOPATH):$(go env GOPATH)/bin"
5252
}
5353

54-
<<<<<<< HEAD
55-
=======
56-
with_msft_go() {
57-
echo "Setting up microsoft/go"
58-
create_workspace
59-
check_platform_architeture
60-
MSFT_DOWNLOAD_URL=https://aka.ms/golang/release/latest/go$(cat .go-version).${platform_type}-${arch_type}.tar.gz
61-
retry 5 $(curl -sL -o - $MSFT_DOWNLOAD_URL | tar -xz -f - -C ${WORKSPACE})
62-
export PATH="${PATH}:${WORKSPACE}/go/bin"
63-
go version
64-
which go
65-
export PATH="${PATH}:$(go env GOPATH)/bin"
66-
}
67-
68-
>>>>>>> db5f46b (Convert Makefile to magefile.go (#4912))
6954
with_docker_compose() {
7055
echo "Setting up the Docker-compose environment..."
7156
create_workspace
@@ -162,4 +147,4 @@ cleanup() {
162147
echo "Deleting temporary files..."
163148
rm -rf ${WORKSPACE}/${TMP_FOLDER_TEMPLATE_BASE}.*
164149
echo "Done."
165-
}
150+
}

.buildkite/scripts/local_build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ source .buildkite/scripts/common.sh
77
add_bin_path
88
with_go
99

10-
<<<<<<< HEAD
11-
make local
12-
=======
1310
with_mage
1411

1512
mage build:local
16-
>>>>>>> db5f46b (Convert Makefile to magefile.go (#4912))

.buildkite/scripts/unit_test_fipsonly.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

Dockerfile.build

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ RUN \
77
&& apt-get install --no-install-recommends -y zip \
88
&& apt-get clean
99

10-
<<<<<<< HEAD
11-
WORKDIR /go/src/github.com/elastic/fleet-server
12-
13-
=======
1410
RUN groupadd --gid 1000 fleet-server && \
1511
useradd -M -d /fleet-server/ --uid 1000 --gid 1000 fleet-server
1612
USER fleet-server
1713
WORKDIR /fleet-server/
18-
>>>>>>> db5f46b (Convert Makefile to magefile.go (#4912))
1914
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
2015
COPY go.mod go.sum ./
2116
RUN go mod download && go mod verify

Dockerfile.fips

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)