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

DRAFT - INTERNAL refactor gh pages #107

Closed
wants to merge 4 commits into from

Conversation

ljubon
Copy link
Owner

@ljubon ljubon commented Dec 31, 2021

INTERNAL

master - G-Research#51
gh-pages - G-Research#50

PUBLIC

The goal of this PR is to separate gh-pages and source code a.k.a charts and re-use the same workflow to publish all charts across G-Research OSS repositories

  • master branch (DRAFT - INTERNAL refactor gh pages #107 )
    • place for source code (e.g charts, values..etc)
    • we don't want *.tgz files here
  • gh-pages branch (this PR)
    • all public related stuff (e.g index.yaml for the repo, raw chart files...etc)
    • we want only *.tgz files here + github pages content

Prerequirements

  • Source for GitHub pages should point togh-pages branch with / for root directory
  • Create GitHub App on the organization
  • Allow GitHub app permissions over this repo and the ones which will call workflow_dispatch
  • Create following secrets on this repo
    • APP_ID
    • GH_APP_PEM
    • INSTALLATION_ID

Here you can find example run for publishing storm charts
Input: publish-storm.yaml on INTERNAL-refactor-master branch (e.g workflow example)
Action: publish-charts.yaml (part of this PR) is triggered with given inputs (e.g workflow-run-inputs.yaml)
Output:

  • gh-pages updated with new charts published and index.yaml updated
  • raw charts (.tgz files) published to destination path and index.yaml updated

NOTE: 2nd PR G-Research#50

@pavlovic-ivan
Copy link
Collaborator

@mhadzic please take a look as well

@ljubon ljubon force-pushed the INTERNAL-refactor-gh-pages branch 2 times, most recently from ee6f5d1 to bf792c0 Compare February 22, 2022 06:41
@github-pages github-pages bot temporarily deployed to github-pages February 23, 2022 20:53 Inactive
@github-pages github-pages bot temporarily deployed to github-pages February 23, 2022 20:54 Inactive
@mkomatinovic mkomatinovic self-requested a review February 23, 2022 21:03
@ljubon ljubon changed the title INTERNAL refactor gh pages DRAFT - INTERNAL refactor gh pages Mar 17, 2022
@github-pages github-pages bot temporarily deployed to github-pages July 24, 2022 11:08 Inactive
@ljubon ljubon force-pushed the INTERNAL-refactor-gh-pages branch from 1ba0897 to 7bc5109 Compare July 24, 2022 11:11
@github-pages github-pages bot temporarily deployed to github-pages July 24, 2022 11:12 Inactive
@github-pages github-pages bot temporarily deployed to github-pages July 24, 2022 11:19 Inactive
@ljubon ljubon closed this Jul 24, 2022
@ljubon
Copy link
Owner Author

ljubon commented Jul 24, 2022

move to new PR after cleanup

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.

2 participants