Skip to content

Rework Github actions worflows #1494

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

Closed
kcinay055679 opened this issue Apr 2, 2025 · 0 comments · Fixed by #1495
Closed

Rework Github actions worflows #1494

kcinay055679 opened this issue Apr 2, 2025 · 0 comments · Fixed by #1495
Assignees

Comments

@kcinay055679
Copy link
Collaborator

As maintaner i want a clean deploy workflow based on the QM: https://docs.puzzle.ch/qm-guide/latest/qm-checkliste/index.html#_cicd

ak's:

  • The same image is used for all instances
  • A new deploy auto creates a github tag with semver-commit (x.x.x-hash)
  • The deployed images have the same tag as the github commit
  • The new images are stored on harbor
  • For staging we use the latest image
  • ArgocCd or OPenshift should auto detect whenever a new image with tag latest is released
@kcinay055679 kcinay055679 linked a pull request May 5, 2025 that will close this issue
MasterEvarior added a commit that referenced this issue May 30, 2025
* Add params to test input of manual workflow

* Add runs on to workflow

* Add create release workflow file

* remove output attribute

* use test script to run

* test

* infer branch name

* add commit ot env

* add commit ot env

* Add helper scripts for workflows

* try to use script

* Build image tag

* add job to create realease

* Create tag and release

* Update name

* push version update

* split in seperate jobs

* add orign to push commmand

* [VU] Automated version update

* [VU] Automated version update

* remove wrong outputs

* clean up outputs

* try to fix

* try to fix

* readd mvn command

* readd mvn command

* add env selector

* commit to infra repo using gh action

* update deploy action

* put all jobs together

* disable e2e tests temporary

* debug env var

* add new reusable workflows

* fix workflows

* extract e2e

* fix name of workflow

* add debug output

* debug

* add hardcoded tag

* use proper tag

* add debug output

* add debug output to find artifact

* use newest method to share artifacts in jobn

* fix naming

* unify docker and local e2e jobs

* use build workflow

* use reusable workflow deploy

* checkout infra repo using git cli

* use infra repo path from vars

* vars to secrets

* add debug

* use proper path for kustomize target

* reset version

* update git add path

* remove useless cd

* add field to trigger a release

* add field to trigger a release

* use github token in workflow

* fix gh create release command

* fix release action

* fix release config

* attest image

* fix pipeline

* fix permissions

* fix job dependencies

* fix attest

* comment out attest

* update workflow for staging deploy

* refactor deploy setup

* fix workflow dependencies

* delete workflows

* update auto deploy

* fix

* update workflows

* update version

* refactor version gen workflow

* update version

* [VU] Automated version update

* restore version

* fix deployment workflow

* frontend tests use e2e reusable workflow

* clean up workflows

* start frontend in e2e tests from commit

* update frontend action

* clean up workflows

* revert changes on auto-deploy-main

* update deploy workflow

* update deploy

* update versioning call

* update action

* update

* update

* update

* update

* update

* update

* clean up

* use manual remove workflows job

* Fix/Improve descriptions

* Update runner to newest version

* clean up

---------

Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: MasterEvarior <puzzle@giannin.ch>
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 a pull request may close this issue.

1 participant