-
Notifications
You must be signed in to change notification settings - Fork 24
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
Migrated travis ci to github actions #263
Conversation
.github/workflows/build.yml
Outdated
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why an old version of Ubunutu? Is this the most up to date version that GH action supports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to https://github.com/actions/virtual-environments and https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
we can update to Ubuntu 20.04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, let's do it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on it
- name: Install | ||
run: | | ||
echo 'Install on ' ${GITHUB_REF##*/} | ||
./mvnw install -DskipTests -Dgpg.skip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not run the unit tests here? Do we run them somewhere else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, I did the same flow as travis has with only install, for example https://github.com/logzio/sawmill/blob/master/.travis.yml#L13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks like a bug. Someone, somewhere, should be running the unit tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just checked some merged PR and it has only install
and deploy
stages https://travis-ci.org/github/logzio/sawmill/builds/753004033
If we want to have also test run I can add this stage if no objections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's finish migrating to GH actions as is. Once this works, let's enable tests as well.
Improved github action migration
Added build variable resolving via github secrets
Fixed RELEASING doc according to new implementation
Added new codesigning key
@barakm updated |
Migrated travis ci to github actions. There are several thing we need to do:
settings.xml
with creds