From 98bdc2e7cda9af9856a4eacb686d5ce80e1059e5 Mon Sep 17 00:00:00 2001 From: meanmail Date: Tue, 19 Sep 2023 21:29:22 +0400 Subject: [PATCH] Revert "Add CI" This reverts commit 1afd5e6407af7170ea3ac3f104de86098c2e93ae. --- .github/pull_request_template.md | 5 --- .github/workflows/actions/build/action.yml | 37 ------------------- .github/workflows/auto-author-assign.yml | 15 -------- .github/workflows/ci.yml | 24 ------------ epicbox-hyperskill/__init__.py | 0 epicbox-hyperskill/python/sandbox/__init__.py | 0 .../python/sandbox/test/__init__.py | 0 .../python/sandbox/test/tests.py | 0 8 files changed, 81 deletions(-) delete mode 100644 .github/pull_request_template.md delete mode 100644 .github/workflows/actions/build/action.yml delete mode 100644 .github/workflows/auto-author-assign.yml delete mode 100644 .github/workflows/ci.yml delete mode 100644 epicbox-hyperskill/__init__.py delete mode 100644 epicbox-hyperskill/python/sandbox/__init__.py delete mode 100644 epicbox-hyperskill/python/sandbox/test/__init__.py delete mode 100644 epicbox-hyperskill/python/sandbox/test/tests.py diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 98ba46b..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,5 +0,0 @@ -**YouTrack Issues**: -[#HSPC-](https://vyahhi.myjetbrains.com/youtrack/issue/HSPC-) - - -**Description** diff --git a/.github/workflows/actions/build/action.yml b/.github/workflows/actions/build/action.yml deleted file mode 100644 index d539aaa..0000000 --- a/.github/workflows/actions/build/action.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Build image - -inputs: - path: - description: 'Image path' - required: true - dockerfile: - description: 'Dockerfile' - required: true - default: 'Dockerfile' - image_name_tag: - description: 'Image name:tag' - required: true - -runs: - using: "composite" - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - registry: hyperskill.azurecr.io - username: ${{ secrets.REGISTRY_USER }} - password: ${{ secrets.REGISTRY_PASSWORD }} - - name: Build base - uses: docker/build-push-action@v3 - with: - context: ${{ inputs.path }} - pull: true - push: true - file: ${{ inputs.path }}/${{ inputs.dockerfile }} - tags: hyperskill.azurecr.io/epicbox/${{ inputs.image_name_tag }} - cache-from: type=gha - cache-to: type=gha,mode=max diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml deleted file mode 100644 index 212171e..0000000 --- a/.github/workflows/auto-author-assign.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Auto Author Assign - -on: - pull_request_target: - types: [ opened, reopened ] - -permissions: - pull-requests: write - -jobs: - assign-author: - runs-on: [self-hosted, small] - if: ${{ !github.event.pull_request.assignee }} - steps: - - uses: toshimaru/auto-author-assign@v1.6.2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 5318bcd..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: CI -on: - push: - branches: - - 'master' - - 'release/**' - pull_request: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref_name }} - cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} - -jobs: - build_epicbox_base: - name: Build epicbox-base image - runs-on: [self-hosted, small] - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Build - uses: ./.github/workflows/actions/build - with: - path: epicbox-base/debian/bullseye - image_tag: debian:bullseye-${{ github.sha }} diff --git a/epicbox-hyperskill/__init__.py b/epicbox-hyperskill/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/epicbox-hyperskill/python/sandbox/__init__.py b/epicbox-hyperskill/python/sandbox/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/epicbox-hyperskill/python/sandbox/test/__init__.py b/epicbox-hyperskill/python/sandbox/test/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/epicbox-hyperskill/python/sandbox/test/tests.py b/epicbox-hyperskill/python/sandbox/test/tests.py deleted file mode 100644 index e69de29..0000000