-
Notifications
You must be signed in to change notification settings - Fork 1
[RM] Support #86256. Migrated CI to GitHub workflow #1
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
base: master
Are you sure you want to change the base?
Conversation
cb6c716 to
46bf5df
Compare
Nikita-Smirnov-Exactpro
left a comment
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.
You can look at the https://github.com/th2-net/th2-common-j/blob/5.10.1-dev/build.gradle build script as example
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Upload Snapshots | ||
| uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main |
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.
We shouldn't reuse a workflow template from another group
| - name: Prepare a tool to detect unwelcome words | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: exactpro-th2/ci-github-action | ||
| ref: master | ||
| token: ${{ secrets.PAT_CI_ACTION }} | ||
| path: ci-github-unwelcome-words-action |
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.
Looks like this action is broken. So how it should work
- GitHub organisation has private repository with unwelcome words and script of checking git history.
- Action in this repository should checkout the private repository.
- Run action and failure if something wrong.
We should create the same repositories structure in exactpro organisation
| on: | ||
| workflow_dispatch: |
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.
this workflow should be run for each commit in not master branch
build.gradle
Outdated
| id = 'Nikita-Smirnov-Exactpro' | ||
| name = 'Nikita Smirnov' | ||
| email = '[email protected]' |
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.
| id = 'Nikita-Smirnov-Exactpro' | |
| name = 'Nikita Smirnov' | |
| email = 'nikita.smirnov@exactprosystems.com' | |
| id = 'sf_devs' | |
| name = 'sf_devs' | |
| email = 'sf_devs@exactpro.com' |
id.set("developer")
name.set("developer")
email.set("[email protected]")
quickfixj-core/build.gradle
Outdated
| } | ||
|
|
||
| dependencies { | ||
| if (incremental_build) { |
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 remove incremental_build mode because we are going to use github work flow to publish all artifacts
44ce911 to
a1148cc
Compare
7a69a3e to
3f3bb07
Compare
…tect unwelcomed words
3f3bb07 to
ad9cab1
Compare
No description provided.