Replies: 10 comments 1 reply
-
|
Hi @jwikman I think you are getting this issue because 27* builds are still insider builds and not available in the regular storage account. Can you please try updating your setting to |
Beta Was this translation helpful? Give feedback.
-
|
@spetersenms, I'm pretty sure that I know how I could set my artifact to get nextmajor, but I'm used to have a artifact setting that can be used all year around, and we only update app.json as needed. If I change to nextmajor in reposettings now, I must revert that change in the beginning of October. This has to be managed for every repository. That feels unnecessary since we have all data at hand to figure out the expected artifactUrl, don't you agree? 🙂 |
Beta Was this translation helpful? Give feedback.
-
|
@spetersenms, I was wrong earlier. When using "bcinsider", only pre-release version can be found. When not specifying a storageAccount, no pre-release version can be found Isn't the storageAccount setting just an old relic from when you needed to get the secret SAS Token to access them? But solving this with a nice behavior in AL-Go wouldn't be that hard IMO. I just need one single artifact that we can use on all our AppSource app repos, and the application property in each app.json would be used for picking the right artifact url. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jwikman. I will bring this up with the team to discuss how to handle this going forward. This is not really a bug as the system works as designed, but as you say it is somewhat outdated. Some sort of fallback option that checks both storage accounts probably makes sense, but we have to prioritize how that work fits into the rest of our plans. In case you update all your apps to 27.0 at the same time, you could put the artifact setting at the org level so you only have to update it in one place, but of course that won't work if some apps use 26.0 and others 27.0. |
Beta Was this translation helpful? Give feedback.
-
|
@spetersenms, yeah, I understand. We actually configured artifact on org level this morning, so that will be the way forward until we get some more streamlined option. Please do not hesitate to reach out for feedback on future features around this topic. We had a lot of automated options around this in our (now legacy) DevOps solution, so we might have some experience to contribute with. 🙂 Just as FYI on our current setup, we couldn't use
Above lead us to set |
Beta Was this translation helpful? Give feedback.
-
|
@jwikman thanks for the update. Your current setup sounds like the best way to do things with the current version of AL-Go. I think it would be great to have a conversation, and i would be very interested in hearing your story on migrating to AL-Go. Could you please reach out to me on spetersen@microsoft.com which your preferred contact information? |
Beta Was this translation helpful? Give feedback.
-
|
@spetersenms, you've got mail. 🙂 |
Beta Was this translation helpful? Give feedback.
-
|
I can do a PR for this, if we can decide on how things would work. I gave this some more thoughts, and came to these conclusions:
This makes me think that none of the One suggestion would be to introduce a new "special AL-Go" artifact:
|
Beta Was this translation helpful? Give feedback.
-
|
Now we've started to work on our AppSource apps and nextmajor, and of course this request advanced on our wishing list! :) @spetersenms @mazhelez, any thoughts on above? 🙂 I believe the only change needed is inside the |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jwikman, I converted the issue to a discussion since this is now an idea discussion and not really a bug. We would be happy to accept a contribution. Regarding your implementation idea in the previous comment, I am not sure using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
AL-Go version
7.3
Describe the issue
We recently migrated our AppSource app repositories from a custom solution on DevOps to GitHub and AL-Go.
Now we are in the process of preparing all apps for the next major (BC27).
On DevOps we ran our pipelines on the latest current version, if the
applicationproperty in app.json was lower or equal to current version. Whenapplicationproperty was higher than current version, we switched to nextminor/nextmajor artifact.So far on GitHub, we've used the artifact setting
////dailyin our OrgSettings, to utilize image caching on our self-hosted runners. This gives us a container on the current version (BC26, as of today).This worked fine, until now when we set
"application": "27.0.0.0". As expected, it won't compile with the daily artifacts.Now I noticed this neat feature that at first sight seemed to be what I was looking for; a special artifact setting called
//*//first. This really looked like something we could use for our AppSource apps, without needing to change the artifact setting back and forth in all repositories.But (!) it seems this did not work together with nextmajor, as I'd expect it to. The Determine ArtifactUrl job fails with this:
Wouldn't it be reasonable to expect that the
DetermineArtifactUrl()function checked nextminor/nextmajor if it does not find any ArtifactUrl with the regular filter?Like this:
We might also need to wrap the checks in a condition on
$artifactType -eq "Sandbox", since this won't work for OnPrem. (It throws an error as well, but would be more informative for OnPrem users)Expected behavior
If
applicationis higher than the latest currently released version, we should check if we can find a nextminor or nextmajor artifact that satisfies the dependency condition.Eg. if we have today
"application" = "27.0.0.0", we should get a nextmajor URL.Steps to reproduce
Use
//*//firstas artifact in AL-Go settings.Set
"application" = "27.0.0.0"in app.json.Run any workflow.
Additional context (logs, screenshots, etc.)
No response
Beta Was this translation helpful? Give feedback.
All reactions