Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Agones
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ar-noc
Agones
Commits
f90b55a5
Commit
f90b55a5
authored
6 years ago
by
Mark Mandel
Committed by
Cyril Tovena
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Move linting into it's own serial step
This should hopefully reduce test flakiness.
parent
6c2b03b5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/Makefile
+2
-2
2 additions, 2 deletions
build/Makefile
cloudbuild.yaml
+6
-3
6 additions, 3 deletions
cloudbuild.yaml
with
8 additions
and
5 deletions
build/Makefile
+
2
−
2
View file @
f90b55a5
...
@@ -102,7 +102,7 @@ build-images: build-controller-image build-agones-sdk-image
...
@@ -102,7 +102,7 @@ build-images: build-controller-image build-agones-sdk-image
build-sdks
:
build-sdk-cpp
build-sdks
:
build-sdk-cpp
# Run all tests
# Run all tests
test
:
ensure-build-image
lint
test-go test-install-yaml
test
:
ensure-build-image test-go test-install-yaml
# Run go tests
# Run go tests
test-go
:
test-go
:
...
@@ -257,7 +257,7 @@ do-release: RELEASE_VERSION ?= $(base_version)
...
@@ -257,7 +257,7 @@ do-release: RELEASE_VERSION ?= $(base_version)
do-release
:
do-release
:
@
echo
"Starting release for version:
$(
RELEASE_VERSION
)
"
@
echo
"Starting release for version:
$(
RELEASE_VERSION
)
"
git checkout
-b
release-
$(
RELEASE_VERSION
)
git checkout
-b
release-
$(
RELEASE_VERSION
)
$(
MAKE
)
test
$(
MAKE
)
lint
test
-
rm
-rf
$(
agones_path
)
/release
-
rm
-rf
$(
agones_path
)
/release
mkdir
$(
agones_path
)
/release
mkdir
$(
agones_path
)
/release
docker run
--rm
$(
common_mounts
)
-w
$(
mount_path
)
/sdks/cpp
$(
build_tag
)
make clean
docker run
--rm
$(
common_mounts
)
-w
$(
mount_path
)
/sdks/cpp
$(
build_tag
)
make clean
...
...
This diff is collapsed.
Click to expand it.
cloudbuild.yaml
+
6
−
3
View file @
f90b55a5
...
@@ -24,16 +24,19 @@ steps:
...
@@ -24,16 +24,19 @@ steps:
-
name
:
"
make-docker"
-
name
:
"
make-docker"
dir
:
"
build"
dir
:
"
build"
args
:
[
"
pull-build-image"
]
# pull the build image if it exists
args
:
[
"
pull-build-image"
]
# pull the build image if it exists
id
:
pull-build-image
-
name
:
"
make-docker"
dir
:
"
build"
args
:
[
"
lint"
]
# pull the build image if it exists
id
:
lint
-
name
:
"
make-docker"
-
name
:
"
make-docker"
dir
:
"
build"
dir
:
"
build"
args
:
[
"
test"
]
# run tests
args
:
[
"
test"
]
# run tests
waitFor
:
[
'
pull-build-image
'
]
waitFor
:
[
'
lint
'
]
id
:
tests
id
:
tests
-
name
:
"
make-docker"
-
name
:
"
make-docker"
dir
:
"
build"
dir
:
"
build"
args
:
[
"
build"
,
"
push"
]
# build all the things, and push images
args
:
[
"
build"
,
"
push"
]
# build all the things, and push images
waitFor
:
[
'
pull-build-image
'
]
waitFor
:
[
'
lint
'
]
id
:
build
id
:
build
-
name
:
'
gcr.io/cloud-builders/gsutil'
-
name
:
'
gcr.io/cloud-builders/gsutil'
dir
:
"
sdks/cpp/bin"
dir
:
"
sdks/cpp/bin"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment