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

chore: delete editors generator tool #1097

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
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

This file was deleted.

17 changes: 2 additions & 15 deletions .github/workflows/plugin-registry-build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2020-2021 Red Hat, Inc.
# Copyright (c) 2020-2024 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/
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: '16'
node-version: '18'

- name: Login to the Red Hat Registry
uses: azure/docker-login@83efeb77770c98b620c73055fbb59b2847e17dc0 #v1
Expand All @@ -39,19 +39,6 @@ jobs:
username: ${{ secrets.REGISTRY_REDHAT_IO_USERNAME }}
password: ${{ secrets.REGISTRY_REDHAT_IO_PASSWORD }}

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
name: Cache yarn dependencies
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: image-build
run: |
BUILDER=docker SKIP_FORMAT=true SKIP_LINT=true SKIP_TEST=true ./build.sh --tag next-gh-action --offline
Expand Down

This file was deleted.

59 changes: 7 additions & 52 deletions .github/workflows/plugin-registry-pr-check-build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2020-2022 Red Hat, Inc.
# Copyright (c) 2020-2024 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/
Expand Down Expand Up @@ -27,67 +27,22 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: '16'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
name: Cache yarn dependencies
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Login to Quay.io
uses: azure/docker-login@83efeb77770c98b620c73055fbb59b2847e17dc0 #v1
with:
login-server: quay.io
username: ${{ secrets.DS_QUAY_USERNAME }}
password: ${{ secrets.DS_QUAY_PASSWORD }}
node-version: '18'

- name: Login to the Red Hat Registry
uses: azure/docker-login@83efeb77770c98b620c73055fbb59b2847e17dc0 #v1
uses: azure/docker-login@83efeb77770c98b620c73055fbb59b2847e17dc0
with:
login-server: registry.redhat.io
username: ${{ secrets.REGISTRY_REDHAT_IO_USERNAME }}
password: ${{ secrets.REGISTRY_REDHAT_IO_PASSWORD }}

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: image-build
run: |
export SKIP_FORMAT=true
export SKIP_LINT=true
export SKIP_TEST=true
BUILDER=docker ./build.sh --tag pr-check --offline
EXPORTED_FOLDER=/var/www/html/v3
ls -la output/
docker run --rm --entrypoint=sh quay.io/devspaces/pluginregistry-rhel8:pr-check -c "ls -la ${EXPORTED_FOLDER}"
docker create --name pluginRegistry quay.io/devspaces/pluginregistry-rhel8:pr-check sh
mkdir root-dir
docker cp pluginRegistry:${EXPORTED_FOLDER} root-dir/v3
docker rm -f pluginRegistry
cp root-dir/v3/plugins/index.json root-dir/index.json
tar zcvf content-devspaces.tgz -C root-dir .
- uses: actions/upload-artifact@v2
with:
name: plugin-registry-content-devspaces
path: dependencies/che-plugin-registry/content-devspaces.tgz
pull-request-info:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-20.04
needs: [image-build]
steps:
- name: Store PR info
run: |
echo "${{ github.event.number }}" > PR_NUMBER
echo "${{ github.event.pull_request.head.sha }}" > PR_SHA
- uses: actions/upload-artifact@v2
with:
name: pull-request-number
path: PR_NUMBER
- uses: actions/upload-artifact@v2
with:
name: pull-request-sha
path: PR_SHA
20 changes: 0 additions & 20 deletions dependencies/che-plugin-registry/.htaccess

This file was deleted.

Loading
Loading