-
Notifications
You must be signed in to change notification settings - Fork 7
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
Release workflow #32
Release workflow #32
Conversation
Use correct script in `Get the next release version` step Add lines between steps
Move `outputs` at beginning of step for readability
Rename steps to be more clear
run: | | ||
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||
if [[ "$CURRENT_BRANCH" == release-* ]]; then | ||
echo "current_branch=$CURRENT_BRANCH" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not simply
echo "current_branch=$CURRENT_BRANCH" >> $GITHUB_ENV | |
echo "$CURRENT_BRANCH" >> $GITHUB_ENV |
and use $CURRENT_BRANCH" in the following steps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understood it, I need a variable name to set an environment variable: https://docs.github.com/en/github-ae@latest/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, I understand now.
* Setup E2E test using NATS Backend (#30) * Setup E2E github action flow * Move hack Makefile * Move ci folder outside of e2e * Correct makefile path * Add missing step to e2e flow to checkout repo * Correct path in Makefile * Add kustomize to Makefile * Add kustomization * Add LOCALBIN variable * Add k3d cluster create step * Remove go step * Add missing variables to Makefile * Add kyma script * Make script executable * Checkout EM repositry * Correct repository checkout * Use EM repo for e2e tests * Remove hack/Makefile * Replace make command with local one * Try adding sudo for `permission denied` problem * Try using `kyma` instead of variable * Try using explicit path * Use different make targets to deploy EM * Update image * Fix reference of variable * Add step to create namespace * Fix Github token * Fix make calls in workflow * Add step to install NATS * Try to use Github variable * Deploy nats manager via makefile * Add step to install NATS CR * Fix reference of variable * Try using `create-k3d` from `eventing-manager` repo * Change KYMA_CLI path * Undo variable changes * Remove unused files * Add clean-up step Fix capitalisation * Improve patch command by using `jq` * Add missing path to cleanup command * Try using `MODULE_VERSION` from EM Repo * Echo Module Version Use rel version for nats manager * Print deployment image * Fix kubectl command * Try to use string * Try using `yg` to extract version * Fix command * Use `grep` instead of `yq` * Use curl to get latest release of NM * Use `curl` to get EM latest release Use `latest` for NM * Use NM image used in release * Use `kubectl apply` to deploy latest NATS and Eventing Manager * Remove step to test EM setup * Remove unused variable * Check for pod rollout * Add missing `$` to variable * Wait for rollout to complete * Add step to check for success of EPP image update * Replace `k` with `kubectl` * Release workflow (#32) * Release workflow * Rename to `sec-scan` * Fix all variables to `eventing-publisher-proxy` * Fix output of next release version * Fix run name to branch name Use correct script in `Get the next release version` step Add lines between steps * Use correct image in `sec-scanners-config` * Use env variable for using job output Move `outputs` at beginning of step for readability * Rename scripts to be more descriptive Rename steps to be more clear * Use script with more comments * Add release flow (#31) * Add release flow * Release using branch name as input * Fix `needs` input * Fix `needs` input * Change workflow to be triggered manually * No inputs for manual trigger * Release workflow * Remove unused scripts
* Release workflow * Rename to `sec-scan` * Fix all variables to `eventing-publisher-proxy` * Fix output of next release version * Fix run name to branch name Use correct script in `Get the next release version` step Add lines between steps * Use correct image in `sec-scanners-config` * Use env variable for using job output Move `outputs` at beginning of step for readability * Rename scripts to be more descriptive Rename steps to be more clear * Use script with more comments
This reverts commit 9afd151.
* Add e2e testing documentation * Implement review comments * Implement review comment * Release workflow (#32) * Release workflow * Rename to `sec-scan` * Fix all variables to `eventing-publisher-proxy` * Fix output of next release version * Fix run name to branch name Use correct script in `Get the next release version` step Add lines between steps * Use correct image in `sec-scanners-config` * Use env variable for using job output Move `outputs` at beginning of step for readability * Rename scripts to be more descriptive Rename steps to be more clear * Use script with more comments * Fix referencing of output variable (#35) * Implement review comments * Revert "Release workflow (#32)" This reverts commit 9afd151. * Revert "Fix referencing of output variable (#35)" This reverts commit 18cd0ad.
Description
Add Github Action to create a release.
Changes proposed in this pull request:
release-x.y
as input for release versionx.y.z
Related issue(s)
kyma/#18477