Skip to content

Move to Github Actions #631

Open
Open

Description

@devzbysiu

Is your feature request related to a problem? Please describe.
In a process of modernizing CI/CD, we are going to move from Jenkins + Travis (for checks), to Github Actions.

Describe the solution you'd like
What should be done in Github Actions:

  • PR cannot be merged until checks pass, checks should run test and license validation via RAT
  • after the merge, CI workflow should trigger a build and generate code coverage
  • release workflow should be implemented:
    • updating AET changelog
    • bumping version
    • uploading artifacts to AET Release page
    • creating PR with changelog changes

We should be able to trigger the workflow manually and have control over the version number we are going to release.

Describe alternatives you've considered
N/A

Additional context
N/A

Activity

  1. self-assigned this
    on Feb 26, 2021
  2. devzbysiu commented on Feb 26, 2021

    @devzbysiu
    ContributorAuthor

    This is finished developer-wise. The next steps are:

    • take care of internal environment issue in relation to Karaf upgrade #624
    • deploy the release and test it
  3. devzbysiu commented on Mar 1, 2021

    @devzbysiu
    ContributorAuthor

    You can find the code coverage here.

    You can see the details of the release process here (note: you won't see that unless you can login to our confluence space)

  4. pilarskie commented on Mar 5, 2021

    @pilarskie
    Collaborator

    @devzbysiu Automatic PR failed to trigger check.

  5. devzbysiu commented on Mar 15, 2021

    @devzbysiu
    ContributorAuthor

    @pilarskie it's fixed now. The issue was related to the github bot creating a PR. Github actions have a safety net for infinite loop triggered by bots. Because of that, the PR which is created by the bot does not trigger the workflow. The workaround for that is to use an existing user to create a PR.

    From the functional perspective, nothing changed. The release is created the same way. After it finishes, the PR should have triggered PR check.

  6. pilarskie commented on Mar 16, 2021

    @pilarskie
    Collaborator

    Tested and accepted.

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

Metadata

Metadata

Assignees

Labels

enhancementsize mediumIssues that would require some thinking and tinkering to fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions