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

Provide an url when possible on deployment environment section #1736

Closed
wants to merge 4 commits into from

Conversation

benoittgt
Copy link

@benoittgt benoittgt commented Nov 10, 2022

We want to be able to easily access to an environment when possible from the deployment page.

Capdture_d’écran_2022-11-10_à_15_11_10

It needs to be provided as environment_url when making deployment status call. https://docs.github.com/en/rest/deployments/statuses#create-a-deployment-status

For people who use the classic Github Action to mark deployment as suggested by Jira. It's here:

https://github.com/chrnorm/deployment-action/blob/880668c419e283adc6b1cc092d52eb5e558fec4d/action.yml#L31-L33

Related:

We want to be able to easily access to an environment when possible from
the deployment page.

It needs to be provided as environment_url when making deployment status
call. https://docs.github.com/en/rest/deployments/statuses#create-a-deployment-status

For people who use the classic Github Action to mark deployment as
suggested by Jira. It's here:

https://github.com/chrnorm/deployment-action/blob/880668c419e283adc6b1cc092d52eb5e558fec4d/action.yml#L31-L33

Related:
  - atlassian#1536
  - atlassian#1732
@benoittgt
Copy link
Author

benoittgt commented Nov 10, 2022

For the test. This is pure guessing. I was not able to run the test locally.

benoittgt added a commit to benoittgt/github-for-jira that referenced this pull request Nov 10, 2022
As mentioned in [Github documentation](https://docs.github.com/en/rest/deployments/deployments#about-the-deployments-api):
> Deployment statuses can also include an optional description and log_url, which are highly recommended because they make deployment statuses more useful.

We want to avoid having duplicate information between "pipeline" and
"deployments" and use the more rich informations provided on
description.

For people who use the classic Github Action to mark deployment as suggested by Jira. It's here:

https://github.com/chrnorm/deployment-action/blob/880668c419e283adc6b1cc092d52eb5e558fec4d/action.yml#L24-L26

Related:
  - atlassian#1536
  - atlassian#1732
  - atlassian#1736
benoittgt added a commit to benoittgt/github-for-jira that referenced this pull request Nov 10, 2022
As mentioned in [Github documentation](https://docs.github.com/en/rest/deployments/deployments#about-the-deployments-api):
> Deployment statuses can also include an optional description and log_url, which are highly recommended because they make deployment statuses more useful.

We want to avoid having duplicate information between "pipeline" and
"deployments" and use the more rich informations provided on
description.

For people who use the classic Github Action to mark deployment as suggested by Jira. It's here:

https://github.com/chrnorm/deployment-action/blob/880668c419e283adc6b1cc092d52eb5e558fec4d/action.yml#L24-L26

Related:
  - atlassian#1536
  - atlassian#1732
  - atlassian#1736
@benoittgt benoittgt marked this pull request as ready for review November 10, 2022 17:25
@benoittgt benoittgt requested a review from a team as a code owner November 10, 2022 17:25
benoittgt added a commit to benoittgt/github-for-jira that referenced this pull request Nov 17, 2022
As mentioned in [Github documentation](https://docs.github.com/en/rest/deployments/deployments#about-the-deployments-api):
> Deployment statuses can also include an optional description and log_url, which are highly recommended because they make deployment statuses more useful.

We want to avoid having duplicate information between "pipeline" and
"deployments" and use the more rich informations provided on
description.

For people who use the classic Github Action to mark deployment as suggested by Jira. It's here:

https://github.com/chrnorm/deployment-action/blob/880668c419e283adc6b1cc092d52eb5e558fec4d/action.yml#L24-L26

Related:
  - atlassian#1536
  - atlassian#1732
  - atlassian#1736
benoittgt added a commit to benoittgt/github-for-jira that referenced this pull request Nov 24, 2022
As mentioned in [Github documentation](https://docs.github.com/en/rest/deployments/deployments#about-the-deployments-api):
> Deployment statuses can also include an optional description and log_url, which are highly recommended because they make deployment statuses more useful.

We want to avoid having duplicate information between "pipeline" and
"deployments" and use the more rich informations provided on
description.

For people who use the classic Github Action to mark deployment as suggested by Jira. It's here:

https://github.com/chrnorm/deployment-action/blob/880668c419e283adc6b1cc092d52eb5e558fec4d/action.yml#L24-L26

Related:
  - atlassian#1536
  - atlassian#1732
  - atlassian#1736
@rachellerathbone
Copy link
Contributor

@benoittgt there are several checks failing. Could you please resolve this and we can work on getting this merged.

@aldenquimby
Copy link
Contributor

@rachellerathbone I fixed the merge conflicts with this PR and got tests passing here: #2162

@aldenquimby
Copy link
Contributor

aldenquimby commented Jun 16, 2023

@rachellerathbone noting my updated version of this at #2162 was recently closed b/c the Jira API doesn't support URLs on the environment object. I imagine that means this PR should be closed too?

@benoittgt
Copy link
Author

That's sad :/

@benoittgt benoittgt closed this Jun 21, 2023
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.

3 participants