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

Move from Travis CI to Github Actions #103

Closed
wants to merge 8 commits into from

Conversation

akosveres
Copy link

@akosveres akosveres commented Nov 6, 2020

Description

The pull request has the following changes:

  • Remove .travis.yaml
  • Add build and publish github actions workflow
  • Update README.md with new badge and documentation

Motivation and Context

How Has This Been Tested?

I've done tests on my fork:
Successful build workflow https://github.com/akosveres/nats-queue-worker/runs/1365348972?check_suite_focus=true
Succesful publish workflow https://github.com/akosveres/nats-queue-worker/runs/1365361432?check_suite_focus=true

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@derek derek bot added the new-contributor label Nov 6, 2020

on:
push:
branches: [ master ]
Copy link
Member

Choose a reason for hiding this comment

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

Why is this limited to master?

build:
strategy:
matrix:
go-version: [1.11.x]
Copy link
Member

Choose a reason for hiding this comment

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

Should be 1.13 now, thanks

@derek
Copy link

derek bot commented Nov 7, 2020

Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off. That's something we need before your Pull Request can be merged. Please see our contributing guide.
Tip: if you only have one commit so far then run: git commit --amend --signoff and then git push --force.

@derek derek bot added the no-dco label Nov 7, 2020
publish:
strategy:
matrix:
go-version: [1.11.x]

Choose a reason for hiding this comment

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

This should probably match the other workflows with 1.13

Copy link
Member

Choose a reason for hiding this comment

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

Yes please

Copy link
Author

Choose a reason for hiding this comment

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

Updated

@alexellis
Copy link
Member

Have you tested a release build on your own account? Most that I merged yesterday failed leaving broken tags

@akosveres
Copy link
Author

Have you tested a release build on your own account? Most that I merged yesterday failed leaving broken tags

I have as much as I could, in this repository we only take the git tag, not the sha and that looks correct.

push:
branches: "*"
pull_request:
branches: [ master ]

Choose a reason for hiding this comment

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

This should be "*" based on the discussions Slack

@alexellis
Copy link
Member

@akosveres do you have a moment to revisit the comments today?

build:
strategy:
matrix:
go-version: [1.13.x]
Copy link
Member

Choose a reason for hiding this comment

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

Do we need Go on the host?

@alexellis
Copy link
Member

This PR is required to complete our migration, so I'm closing due to inactivity.

@utsavanand2 please can you take over in a new PR and make this work like the faas-netes or faas build please?

Pay attention to how we set the version and commit information in the image and the GitHub Action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants