-
Notifications
You must be signed in to change notification settings - Fork 3
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
Trigger azure-pipelines.yml via GitHub Action #294
Comments
This task may not be necessary based on some findings from my experiments documented in #284 (comment)
|
Once #346 is merged in, I suggest that as our next step we set up an Azure DevOps pipeline in SBMTD's organization and see if GitHub commits / pull requests automatically trigger in both MST and SBMTD or just one. That will help us decide if we need to do this ticket or not. |
I ran several experiments to help us decide if we need to do this ticket or not. In my first experiment, I made a test commit - 750d85f - on the This behavior matches what the Azure docs say. I'm not sure what difference was causing the behavior described in #294 (comment). You can see that both MST and Compiler LLC pipelines were being triggered if you notice that the Azure pipelines link in #307 goes to But anyways, the point is that our current configuration behaves such that we need to do this ticket. 👍 |
Today we tried out merging #349 into |
The pipelines do run in each org when a PR is merged against our deploy branches However we only get the |
Pausing for now -- we can As we make more progress on #282 our thinking / procedure here may change. |
This doesn't feel like it is worth the effort at this time, as the deployments for MST and SBMTD are currently working. We do not have any plans to expand Eligibility Server to additional agencies. |
This has some overlap with #284 and so will need to coordinate, possibly building on top of the work done there.
A single GitHub repository can be associated with multiple Azure DevOps organizations/projects:
From Azure docs: Build GitHub repositories.
But the docs go on to say (emphasis mine):
So in order to deploy to multiple Azure DevOps orgs (i.e. MST and SBMTD), we're going to need to trigger the
azure-pipelines.yml
run manually, via GitHub Actions.Further, (if possible) it would make sense to trigger every org's pipeline in the same way, e.g. not have one of the DevOps orgs setup for "automatic trigger by GitHub commits or pull requests" like mentioned in the docs above. Each org should deploy via the GitHub Action.
Note manually here does not mean literally a human clicking a button to trigger a workflow. It means we'll need a GitHub Actions workflow (that acts on e.g. tag, to accommodate what is needed for #284) that then triggers the pipeline.
The text was updated successfully, but these errors were encountered: