Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build examples make target #1019

Merged
merged 2 commits into from
Oct 1, 2019

Conversation

aLekSer
Copy link
Collaborator

@aLekSer aLekSer commented Aug 28, 2019

Add make build target to test all examples subdirectories.

Fixed xonotic.zip url along the way to new CI step.

Part of #942 .

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 74c34e71-e9c3-45de-847e-ca23157198ab

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@aLekSer aLekSer force-pushed the feature/examples-ci-build branch 2 times, most recently from f121231 to 8dada93 Compare August 28, 2019 13:18
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 20212276-4b18-4469-8404-b239a0651a48

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: d4a44721-4490-4d44-a6a0-58f3833f351f

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@aLekSer
Copy link
Collaborator Author

aLekSer commented Aug 28, 2019

error in rust example was found - it has a local cargo dependency:

Step #16 - "examples-build-test": make[2]: Entering directory '/workspace/examples/rust-simple'
Step #16 - "examples-build-test": cargo build --release
Step #16 - "examples-build-test": Makefile:45: recipe for target 'build-server' failed
Step #16 - "examples-build-test": make[2]: Leaving directory '/workspace/examples/rust-simple'
Step #16 - "examples-build-test": make[2]: cargo: Command not found
Step #16 - "examples-build-test": make[2]: *** [build-server] Error 127
Step #16 - "examples-build-test": make[1]: *** [build-example] Error 2
Step #16 - "examples-build-test": make: *** [build-example-rust-simple] Error 2
Step #16 - "examples-build-test": make: *** Waiting for unfinished jobs....
Step #16 - "examples-build-test": includes/sdk.mk:158: recipe for target 'build-example' failed
Step #16 - "examples-build-test": make[1]: Leaving directory '/workspace/build'
Step #16 - "examples-build-test": includes/sdk.mk:175: recipe for target 'build-example-rust-simple' failed

Skipping simple-rust directory for now.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 54e52f78-48c0-419d-a88f-b8d981ddf857

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1019/head:pr_1019 && git checkout pr_1019
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.0.0-2226b34

@markmandel markmandel added the feature-freeze-do-not-merge Only eligible to be merged once we are out of feature freeze (next full release) label Sep 10, 2019
@markmandel markmandel removed the feature-freeze-do-not-merge Only eligible to be merged once we are out of feature freeze (next full release) label Sep 17, 2019
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: d7c699f8-2d20-44a2-aa44-2727f552b592

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1019/head:pr_1019 && git checkout pr_1019
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.1.0-ee2518d

@aLekSer
Copy link
Collaborator Author

aLekSer commented Sep 27, 2019

About 36 minutes of executing Cloud build in total.

Add make build target as well as cloudbuild step to test all examples
sources.
@aLekSer aLekSer changed the title Build examples as a new CI step Build examples make target Sep 30, 2019
@aLekSer
Copy link
Collaborator Author

aLekSer commented Sep 30, 2019

I have removed cloudbuild target, because I think it should be added for periodical builds only, not every PR:

- name: "make-docker"
  id: examples-build-test
  waitFor:
    - lint
  dir: "build"
  args: [ "-j", "5", "build-examples" ]

Note that it can be invoked manually make build-examples, it takes about 20 minutes additionally compared to current cloudbuild.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 042e132e-5ff9-4802-bbd4-d7d6a9bd6d84

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1019/head:pr_1019 && git checkout pr_1019
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.1.0-67e665d

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool!

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aLekSer, markmandel
To complete the pull request process, please assign
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 5aa9ea6e-db14-4cdf-b7c5-528d824d5a43

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1019/head:pr_1019 && git checkout pr_1019
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.1.0-e7fe1e2

@markmandel markmandel added this to the 1.1.0 milestone Oct 1, 2019
@markmandel markmandel added area/examples Examples. Usually found in the `examples` directory area/tests Unit tests, e2e tests, anything to make sure things don't break labels Oct 1, 2019
@markmandel markmandel merged commit deab3ce into googleforgames:master Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/examples Examples. Usually found in the `examples` directory area/tests Unit tests, e2e tests, anything to make sure things don't break size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants