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

build(deps): bump actions/deploy-pages from 1 to 2 #701

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2023

Bumps actions/deploy-pages from 1 to 2.

Release notes

Sourced from actions/deploy-pages's releases.

v2.0.0

Changelog

See details of all code changes since previous release.

v1.2.8

⚠️ This release is essentially a revert of v1.2.7 and identical to the prior release v1.2.6.

Changelog

See details of all code changes since previous release.

v1.2.7

Changelog

See details of all code changes since previous release.

v1.2.6

Changelog

See details of all code changes since previous release.

v1.2.5

Changelog

... (truncated)

Commits
  • 73e62e6 Merge pull request #140 from actions/cut-v2
  • b254707 Update the deployment API endpoints used by the api-client module
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 20, 2023
@XinfengZhang
Copy link
Contributor

suppose we need remove gh_pages branch to enable deploy pages?

@dvrogozh
Copy link
Contributor

suppose we need remove gh_pages branch to enable deploy pages?

@evelikov highlighted the following steps to fully enable gh pages. I believe that removal gh_pages is optional in this respect (i.e. it becomes an obsolete branch once action is fully enabled). Here is this write up: #659 (comment)

@dvrogozh
Copy link
Contributor

The problem with current actions setup for GH pages is that it's not easily re-triggerable. For example, here is action run when 2.18.0 was published: https://github.com/intel/libva/actions/runs/4543957752. It failed most likely since we did not actually perform required libva git project settings adjustment to enable posting of pages from our action. But problem is that even if I will fix project settings right now I can't retrigger this workflow - it simply miss re-trigger button for some reason. And I don't want to actually create new release just to retrigger a workflow.

Considering that current pages are outdated with 2.13 release, I suggest to step back and do the following:

  1. Modify workflow at master branch to generate and upload pages for each new commit in master branch (vs. as of now we were targeting to generate for each release)
  2. Properly enable uploading of github pages from actions, i.e. adjust project settings
  3. Verify that everything actually works and we get posts from master branch

After that we can stop and consider that to do next. In a sense we can actually do nothing and just provide pages for the latest state on master which will be a candidate for new release. Or we can return back to original plan, though we will step again into the same problem that it won't be verifiable. What makes the most sense to me is actually generate pages for few states of the uAPI: 1) for master, 2) for latest release, 3) maybe for few latest releases. I would also do that from the master branch only to allow fixes of the posted materials when needed.

@XinfengZhang, @evelikov : please, let me know your thoughts. If you are ok with the plan I can start doing it.

@evelikov
Copy link
Contributor

evelikov commented Jun 1, 2023

@dvrogozh do you need to retrigger it manually, or is that a nice-to-have kind of feature? If it is a case of "need" then surely one will be creating a proper new release/tag. Thus the fix will shared with the wider community, right?

@dvrogozh
Copy link
Contributor

dvrogozh commented Jun 1, 2023

No, not right. As of now I need to change github project settings and I don't have any way to retrigger workflow. So, if I will change project settings now, we will need to wait I don't know how long till we will post a new release, And if something won't work, we will wait again. This does not make sense to me. If there is a workflow I want to have a reasonable way to run/rerun it. As of now I don't have it. If there is a bug in workflow - I would fix it and again want a way for it to work w/o any release posting if no change was done to the actual library.

@evelikov
Copy link
Contributor

evelikov commented Jun 2, 2023

we will need to wait I don't know how long till we will post a new release

I think this is the biggest concern here. It's even more alarming, that it comes from one of the maintainers.

@XinfengZhang
Copy link
Contributor

ask a dumb question , how about a tag, not official release, if a new tag will trigger the flow?

@XinfengZhang
Copy link
Contributor

check previous failure
image

looks it is because we are still deploy the doc from gh-pages, but in the github settings
image

now ,could I use a latest tag(a prerelease tag) to test it?

@dvrogozh
Copy link
Contributor

dvrogozh commented Jun 2, 2023

we will need to wait I don't know how long till we will post a new release

I think this is the biggest concern here. It's even more alarming, that it comes from one of the maintainers.

You don not actually listen to the issue I am trying to raise regarding current supposed setup for pages deployment.

@evelikov
Copy link
Contributor

evelikov commented Jun 3, 2023

As the workflow rules at the top say - it triggers on published aka releases.

Whereas for the "I want to re-trigger manually" - you cannot AFAICT. As with any feature, if you want to try/test the changes simply push to your work fork*, add dummy release as needed and analyse. It's the Github way of doing things, so when in Rome ... act like the Romans?

And yes, it's perfectly fine to push a release to address problems with the website. Releases are cheap, plus people generally appreciate more frequent ones.

@dvrogozh I am (repeatedly) highlighting the elephant in the room. The current libva maintainership is very very poor - the questions you've raised flagging a part of it. Sorry if that upsets anyone, it is just the unfortunate facts.

@XinfengZhang
Copy link
Contributor

@dvrogozh I am (repeatedly) highlighting the elephant in the room. The current libva maintainership is very very poor - the questions you've raised flagging a part of it. Sorry if that upsets anyone, it is just the unfortunate facts.

thanks , will improve this part, the response TPT , and sorry for any inconvenience .

@XinfengZhang
Copy link
Contributor

@dvrogozh I will release 2.19.0 soon, lets check whether the github setting works.
and I could not release from HEAD of master, because there are 2 regressions caused by #682
one is memory leak, was fixed by #719
another one is #725 , I have no chance to investigate it till now.
will release on top of commit f4c4c03

@XinfengZhang XinfengZhang force-pushed the dependabot/github_actions/actions/deploy-pages-2 branch from f9ad877 to f6a02b0 Compare July 20, 2023 06:50
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 2.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](actions/deploy-pages@v1...v2)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@XinfengZhang XinfengZhang force-pushed the dependabot/github_actions/actions/deploy-pages-2 branch from f6a02b0 to 6d39215 Compare July 24, 2023 03:14
@XinfengZhang
Copy link
Contributor

anyway, I merge this one firstly, following steps could be discussed in a new issue

@XinfengZhang XinfengZhang merged commit 8155a20 into master Jul 24, 2023
25 checks passed
@dependabot dependabot bot deleted the dependabot/github_actions/actions/deploy-pages-2 branch July 24, 2023 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants