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

Update GraalVM to 22.0.0.2, Refactor Workflows #45

Merged
merged 2 commits into from
Jan 29, 2022
Merged

Conversation

JohT
Copy link
Owner

@JohT JohT commented Jan 29, 2022

  • Update to GraalVM Community Edition 22.0.0.2 for GitHub Actions step DeLaGuardo/setup-graalvm@5.0.
  • The update leads to a smaller native image (from 83.2MB to 78MB).
  • GraalVM version as environment variable so it's easier to change.
  • GraalVM version now gets appended to the native image agent results folder name.
  • Recombine native image build and agent report workflows to a single workflow. Reasons for that:
    • They shared common resources (GraalVM with native image tools)
    • They shared common variables (secret token, commit message, commit author ...)
    • They should run after another (order dependency)
    • Most of the changes in the workflow needed to be done in both workflows including updating their input/output variables.
    • Calling a workflow from another is only possible from a hardcoded branch/ref/commit. Every input/output variable change needed to be done in two steps (set branch to the feature branch, merge, set branch back to the main one)
    • Two workflows with in- and output parameter add additional complexity

@JohT JohT self-assigned this Jan 29, 2022
@JohT JohT changed the title Update pipeline to graalvm 22.0.0.2 Update GraalVM to 22.0.0.2 Jan 29, 2022
@JohT JohT force-pushed the update/graalvm-22 branch 4 times, most recently from d8bb987 to 8552993 Compare January 29, 2022 14:49
@JohT JohT merged commit 04c2459 into master Jan 29, 2022
@JohT JohT deleted the update/graalvm-22 branch January 29, 2022 15:07
@JohT JohT changed the title Update GraalVM to 22.0.0.2 Update GraalVM to 22.0.0.2, Refactor Workflows Jan 29, 2022
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.

None yet

1 participant