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

[RM] Support #86256. Migrated CI to GitHub workflow #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GiorgioMegrelli
Copy link

No description provided.

@GiorgioMegrelli GiorgioMegrelli force-pushed the master branch 16 times, most recently from cb6c716 to 46bf5df Compare July 9, 2024 09:35
@GiorgioMegrelli GiorgioMegrelli changed the title [RM] Support #86256. Migrate CI to GitHub workflow [RM] Support #86256. Migrated CI to GitHub workflow Jul 9, 2024
Copy link

@Nikita-Smirnov-Exactpro Nikita-Smirnov-Exactpro left a 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

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

Comment on lines 25 to 34
- 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

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

Comment on lines 3 to 7
on:
workflow_dispatch:

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
Comment on lines 158 to 160
id = 'Nikita-Smirnov-Exactpro'
name = 'Nikita Smirnov'
email = '[email protected]'

Choose a reason for hiding this comment

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

Suggested change
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]")

@@ -39,24 +36,24 @@ sourceSets {

dependencies {
if (incremental_build) {

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

@GiorgioMegrelli GiorgioMegrelli force-pushed the master branch 3 times, most recently from 44ce911 to a1148cc Compare July 12, 2024 08:13
@GiorgioMegrelli GiorgioMegrelli force-pushed the master branch 5 times, most recently from 7a69a3e to 3f3bb07 Compare July 15, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants