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

Feature: build with github actions #41

Open
rdmueller opened this issue Dec 21, 2021 · 6 comments
Open

Feature: build with github actions #41

rdmueller opened this issue Dec 21, 2021 · 6 comments

Comments

@rdmueller
Copy link
Member

we already have automated the steps to build the templates in the gitpod definition file.
Let's move this to github actions

@rdmueller rdmueller self-assigned this Dec 21, 2021
@programming-wolf
Copy link
Member

programming-wolf commented Jan 10, 2022

I support the idea to switch to GitHub actions. I will try to setup a pull request with a working GitHub action file within the next two weeks.

However, I've got a proposal to change the release process.
Instead of adding the binaries to the Repository and committing/pushing them every time, why don't we use the official Releases feature of GitHub? We can add all the *.zip files from the dist-folder and create a new release for, well, each new release. 🙂

On the website, we can still link to each downloadable asset. As the site is generated as well (as far as I understood the process), this can be adjusted as required.

@programming-wolf
Copy link
Member

programming-wolf commented Jan 10, 2022

Similar to the process of the iSAQB curricula, https://github.com/isaqb-org/curriculum-foundation/releases/ .
We can also add the files to GitHub Pages to have links that are always the same and pointing to the latest release of the files, so we don't have to adjust the website.

@rdmueller
Copy link
Member Author

great idea. We just didn't do it this way, because it was easier the other way :-)

@programming-wolf
Copy link
Member

programming-wolf commented Jan 10, 2022

Shall we move the build process to the arc42-template repository? As the files are released there.. It would make this repository obsolete and reduce complexity?

@gernotstarke
Copy link
Member

yes, definitely, if possible.

Let me briefly summarize the requirements:

  • multiple natural languages (EN, DE, IT, ES, RU...)
  • multiple target formats (md, rst, html, docx etc)
  • every target format has two artifacts (with-help, no-help)

what did I forget?

@gernotstarke
Copy link
Member

@programming-wolf we're still very interested in simplifying the build... maybe we do it stepwise:

  1. migrate to current gradle/java version
  2. migrate to github-actions
  3. move the build process from THIS repository to the arc42-template repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants