This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
1,718 additions
and
955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (c) 2021 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# See: https://sipb.mit.edu/doc/safe-shell/ | ||
set -e | ||
|
||
PUBLISH_IMAGES_LIST=( | ||
che-theia-dev | ||
che-theia | ||
che-theia-endpoint-runtime-binary | ||
che-theia-vsix-installer | ||
) | ||
|
||
for image in "${PUBLISH_IMAGES_LIST[@]}"; do | ||
the_image="${REGISTRY}/${ORGANIZATION}/${image}" | ||
AMEND="" | ||
AMEND+=" --amend ${the_image}:${TAG}-amd64"; | ||
AMEND+=" --amend ${the_image}:${TAG}-arm64"; | ||
AMEND+=" --amend ${the_image}:${TAG}-ppc64le"; | ||
AMEND+=" --amend ${the_image}:${TAG}-s390x"; | ||
|
||
# Create manifest and push multiarch image | ||
eval docker manifest create "${the_image}:${TAG}" "$AMEND" | ||
docker manifest push "${the_image}:${TAG}" | ||
|
||
if [[ "${TAG}" == "next-travis" ]]; then | ||
eval docker manifest create "${the_image}:${SHORT_SHA}" "$AMEND" | ||
docker manifest push "${the_image}:${SHORT_SHA}" | ||
else | ||
eval docker manifest create "${the_image}:latest-travis" "$AMEND" | ||
docker manifest push "${the_image}:latest-travis" | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Disable the blank issue | ||
blank_issues_enabled: false | ||
|
||
# Make redirect to eclipse che issue tracker | ||
contact_links: | ||
- name: Create Issue | ||
url: https://github.com/eclipse/che/issues/new/choose | ||
about: File issues on the main Eclipse Che repository |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
name: Build & Publish `next` | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
@@ -47,3 +48,38 @@ jobs: | |
run: printf "//registry.npmjs.org/:_authToken=${{ secrets.CHE_NPM_AUTH_TOKEN }}\n" >> ~/.npmrc | ||
- name: Publish packages to npmjs | ||
run: yarn publish:next | ||
notify: | ||
runs-on: ubuntu-20.04 | ||
needs: build | ||
if: always() && (needs.build.result == 'failure') | ||
steps: | ||
- name: Create failure MM message | ||
if: ${{ failure() }} | ||
run: | | ||
echo "{\"text\":\":no_entry_sign: Next Che Theia build has failed: https://github.com/eclipse-che/che-theia/actions/workflows/next-build.yml\"}" > mattermost.json | ||
- name: Send MM message | ||
if: ${{ success() }} || ${{ failure() }} | ||
uses: mattermost/[email protected] | ||
env: | ||
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} | ||
MATTERMOST_CHANNEL: eclipse-che-releases | ||
MATTERMOST_USERNAME: che-bot | ||
|
||
travis-build: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- name: Trigger build on Travis CI | ||
run: | | ||
body="{ | ||
\"request\":{ | ||
\"branch\":\"main\" | ||
}}" | ||
curl -s -X POST \ | ||
-H "Content-Type: application/json" \ | ||
-H "Accept: application/json" \ | ||
-H "Travis-API-Version: 3" \ | ||
-H "Authorization: token ${{ secrets.TRAVIS_TOKEN }}" \ | ||
-d "$body" \ | ||
https://api.travis-ci.com/repo/eclipse-che%2Fche-theia/requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.