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

Add release workflow for che parent and server #18909

Merged
merged 6 commits into from
Feb 3, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,25 @@ on:
required: true
default: ''
releaseParent:
description: 'If true, will also release parent of the same version'
description: 'If true, will also release parent'
required: true
default: 'false'
versionParent:
description: 'Specify che parent version here, if its release is enabled'
required: false
default: ''
forceRecreateTags:
description: 'If true, tags will be overriden and regenerated. Use with caution'
required: false
default: 'false'
autoReleaseOnNexus:
description: 'If true, artifacts will be automatically released when deployed to Nexus'
mkuznyetsov marked this conversation as resolved.
Show resolved Hide resolved
required: false
default: 'true'
deployOnNexus:
description: 'If true, artifacts will be deployed to Nexus.'
required: false
default: 'true'

jobs:
build:
Expand Down Expand Up @@ -96,6 +108,11 @@ jobs:
export CHE_GITHUB_SSH_KEY=${{ secrets.CHE_GITHUB_SSH_KEY}}
export CHE_NPM_AUTH_TOKEN=${{ secrets.CHE_NPM_AUTH_TOKEN}}

export RELEASE_CHE_PARENT="${{ github.event.inputs.releaseParent }}"
export VERSION_CHE_PARENT="${{ github.event.inputs.versionParent }}"
export DEPLOY_TO_NEXUS="${{ github.event.inputs.deployOnNexus }}"
export AUTORELEASE_ON_NEXUS="${{ github.event.inputs.autoReleaseOnNexus }}"

export QUAY_ECLIPSE_CHE_USERNAME=${{ secrets.QUAY_USERNAME }}
export QUAY_ECLIPSE_CHE_PASSWORD=${{ secrets.QUAY_PASSWORD }}
git config --global user.name "Mykhailo Kuznietsov"
Expand Down
1 change: 0 additions & 1 deletion make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ evaluateCheVariables() {
echo "Version che-parent: ${VERSION_CHE_PARENT}"
echo "Deploy to nexus: ${DEPLOY_TO_NEXUS}"
echo "Autorelease on nexus: ${AUTORELEASE_ON_NEXUS}"
echo "Release Process Phases: '${PHASES}'"
}

checkoutProjects() {
Expand Down