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

Question: Same Artifact for multiple stages (dev, qa, prod)? #145

Open
jensbarthel opened this issue Jul 25, 2022 · 1 comment
Open

Question: Same Artifact for multiple stages (dev, qa, prod)? #145

jensbarthel opened this issue Jul 25, 2022 · 1 comment

Comments

@jensbarthel
Copy link

Motivation

  • Reduce build time by running artifact creation (e.g. gradle azureFunctionsPackage/-Zip) only once
  • Have artifact consistency across stages

Approach

  • Build job
    • Run gradle azureFunctionsPackage/-Zip
    • Upload to GHA cache via upload-artifact action
  • Deploy Job (for each stage)
    • Download artifact from GHA cache via download-artifact action to gradle build folder
    • Run gradle azurefunctionsDeploy

Question

  • Which artifacts would have to be stored and downloaded to prevent a build during azureFunctionsDeploy?
@MartinX3
Copy link

MartinX3 commented May 24, 2023

I use Spring Boot.

Also it would be nice to use the already created .jar file from a build step.
Currently I can't use the gradle caching since using this plugin,
My pipeline time is now twice as long.
(Test stage time doubled and the default stage of this plugin is slower than my previous gradle bootJar stage.)

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

No branches or pull requests

2 participants