Comments (15)
If you have an environment called QA - you need to create a secret in that environment called AUTHCONTEXT.
If you don't use the environments feature in GitHub, the secrets needs to be called QA-AUTHCONTEXT to match the environment.
from al-go.
Found the bug, will deploy a fix for this tomorrow.
Reason is that your GitHub account is a free account - it works if you have a Teams or Enterprise account. But then again - the environments setting was introduced in order to work when using a free account - it of course must work.
from al-go.
Shipped in v1.2 - if you update your AL-Go system files, you should be good to go.
from al-go.
Works now, thank you for your immediate response.
Have a follow-up issue with the secrets. After investiation will create another issue for that or a PR.
from al-go.
Second case is the issue: the corresponding script searches for "AUTHCONTEXT" in the repository secrets instead of "QA_AUTHCONTEXT". This way there is only one connection to an environment that can be configured per Repo.
In PublishToEnvironment.yaml:
I'm testing a fix in a fork at this moment.
from al-go.
Right on top - it is looking for QA-AUTHCONTEXT (line 88) - needs to be a dash, not an underscore, sorry
from al-go.
Dash is not allowed for a repo secret name since it seems it is reserved for concatenation of the environment secrets:
from al-go.
bummer - it works in an Azure KeyVault - will make a fix for supporting dash or underscore.
Thanks for reporting.
from al-go.
Did not test the PR yet - but this should add support for looking for both QA-AUTHCONTEXT and QA_AUTHCONTEXT
Probably the same solution as you have been looking at in your fork.
You can merge update your fork and deploy new al-go repos in your org to test this (I assume you use your own local repos as al-go templates if you have a fork:-))
from al-go.
Again: Thanks, Freddy! Will check this out.
from al-go.
Now working as expected!
I made nearly the same changes but struggled with the End2End Tests, before submitting the PR. There's a learning curve for me...
from al-go.
yeah - I will document what you need in order to run the End 2 end tests - they are fairly heavy - they test out a ton of various things including upgrades from all prior versions to the new...
from al-go.
Is the fix deployed to AL-Go-PTE already? I see no PR in my project after Update System Files.
from al-go.
Not yet - will do so today or tomorrow
from al-go.
BTW - there is another way this can be fixed.
You can create a setting called QA-AUTHCONTEXTSECRETNAME with the value QA_AUTHCONTEXT
There is a generic way in AL-Go to rename secrets by adding a setting called <secret>SECRETNAME
The reason for this is that multiple repositories can share a KeyVault and might have different secrets (like this)
I will still checkin the fix to utilize the _ as that is clearly a bug.
from al-go.
Related Issues (20)
- ImportLayer failed in Win32 HOT 7
- IncrementVersionNumber - the new version number is less than the old version number HOT 3
- Downloading artifacts from GitHub doesn't work with branch names which include forward slashes HOT 2
- Determine Deployment Environments returning (404) Not Found [CI/CD] HOT 1
- [Feature Request] Add source translation file to CI/CD artifacts HOT 1
- 403 forbidden with project dependencies HOT 3
- Question - CICDSchedule in AL-Go-Settings.json overwrites workflow_dispatch push in CICD.yaml HOT 6
- ALDoc generates the documentation without references to objects in the first run HOT 2
- [Feature Request] Don't trigger Pull Request Status Check for drafts HOT 1
- CI/CD Jobs failing on all projects starting last week at some point. HOT 3
- Deployments to environments are behaving strange recently HOT 9
- Base App: Symbols are not redownloaded (25.0.17863.0 / 25.0.18642.0)
- Workdlows generates compilation V24 errors even if the V24 errors were fixed HOT 6
- Managing Dependencies to different Versions of the same App
- [Feature Request]: Custom Versioning Strategy
- Publish to AppSource - Skip projects without AppSourceProductId when publishing all projects (*)
- Publish to Environment fails from feature branch HOT 1
- Customizing Run pipeline for MicrosoftAlgo actions HOT 2
- Installing dependencies based on the appDependencyProbingPaths setting fail HOT 1
- Dependency App is not being installed into container HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al-go.