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

Migrate che-docs release process from ci centos to GH action #18823

Closed
nickboldt opened this issue Jan 18, 2021 · 1 comment
Closed

Migrate che-docs release process from ci centos to GH action #18823

nickboldt opened this issue Jan 18, 2021 · 1 comment
Assignees
Labels
area/ci CI build and releases, PR testing, & whitelabel/productization issues kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@nickboldt
Copy link
Contributor

Is your task related to a problem? Please describe.

Currently we have this code running for each Che release of the docs:

releaseCheDocs() {
    tmpdir="$(mktemp -d)"
    pushd "${tmpdir}" >/dev/null || exit
    projectPath=eclipse/che-docs
    rm -f ./make-release.sh && curl -sSLO "https://raw.githubusercontent.com/${projectPath}/master/make-release.sh" && chmod +x ./make-release.sh
    ./make-release.sh --repo "git@github.com:${projectPath}" --version "${CHE_VERSION}" --trigger-release
    popd >/dev/null || exit 
}

# then later ... 

# Release of Che docs does not depend on server, so trigger and don't wait
set +x
if [[ ${PHASES} == *"4"* ]]; then
    releaseCheDocs &
fi

Describe the solution you'd like

Wrap the above code in a GH action and run it via workflow / API call from the che-docs repo.

@nickboldt nickboldt added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Jan 18, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 18, 2021
@skabashnyuk skabashnyuk added severity/P1 Has a major impact to usage or development of the system. area/ci CI build and releases, PR testing, & whitelabel/productization issues and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jan 19, 2021
@nickboldt nickboldt added this to the 7.25 milestone Jan 19, 2021
@nickboldt nickboldt mentioned this issue Jan 19, 2021
16 tasks
@nickboldt
Copy link
Contributor Author

Followup task in #18864

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI build and releases, PR testing, & whitelabel/productization issues kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants