From 180bbc7841d86153ce5859a811ef2c19bbd600d8 Mon Sep 17 00:00:00 2001 From: Vitaly the Alpaca Date: Wed, 8 May 2024 15:26:20 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B5=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20OPI=20->=20OInt=20?= =?UTF-8?q?(workflow)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/oint_test_Airtable.yml | 38 +++++++++++++++++++ .../workflows/oint_test_GoogleCalendar.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_GoogleDrive.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_GoogleSheets.yml | 38 +++++++++++++++++++ .../workflows/oint_test_GoogleWorkspace.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_Notion.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_Slack.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_Telegram.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_VK.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_Viber.yml | 38 +++++++++++++++++++ .github/workflows/oint_test_YandexDisk.yml | 38 +++++++++++++++++++ 11 files changed, 418 insertions(+) diff --git a/.github/workflows/oint_test_Airtable.yml b/.github/workflows/oint_test_Airtable.yml index 54853eb594..491e83b50a 100644 --- a/.github/workflows/oint_test_Airtable.yml +++ b/.github/workflows/oint_test_Airtable.yml @@ -91,6 +91,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "АТ_СоздатьПоле" + Encode: + runs-on: ubuntu-latest + needs: [Airtable] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_GoogleCalendar.yml b/.github/workflows/oint_test_GoogleCalendar.yml index daf4485bd0..9d37e10400 100644 --- a/.github/workflows/oint_test_GoogleCalendar.yml +++ b/.github/workflows/oint_test_GoogleCalendar.yml @@ -95,6 +95,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "ГК_ПолучитьСписокСобытий" + Encode: + runs-on: ubuntu-latest + needs: [GoogleCalendar] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_GoogleDrive.yml b/.github/workflows/oint_test_GoogleDrive.yml index 46027d0893..57cbf0d88b 100644 --- a/.github/workflows/oint_test_GoogleDrive.yml +++ b/.github/workflows/oint_test_GoogleDrive.yml @@ -95,6 +95,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "ГД_СоздатьКаталог" + Encode: + runs-on: ubuntu-latest + needs: [GoogleDrive] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_GoogleSheets.yml b/.github/workflows/oint_test_GoogleSheets.yml index d9b9a6af2d..3da154e5a6 100644 --- a/.github/workflows/oint_test_GoogleSheets.yml +++ b/.github/workflows/oint_test_GoogleSheets.yml @@ -91,6 +91,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "ГТ_ЗаполнитьОчиститьЯчейки" + Encode: + runs-on: ubuntu-latest + needs: [GoogleSheets] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_GoogleWorkspace.yml b/.github/workflows/oint_test_GoogleWorkspace.yml index 4df6ea0f88..5eaab434d2 100644 --- a/.github/workflows/oint_test_GoogleWorkspace.yml +++ b/.github/workflows/oint_test_GoogleWorkspace.yml @@ -98,6 +98,44 @@ jobs: key: test-data_google path: ./data.json + Encode: + runs-on: ubuntu-latest + needs: [GoogleWorkspace] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_Notion.yml b/.github/workflows/oint_test_Notion.yml index a72113160e..d0d81cc16e 100644 --- a/.github/workflows/oint_test_Notion.yml +++ b/.github/workflows/oint_test_Notion.yml @@ -115,6 +115,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_ПолучитьДанныеПользователя" + Encode: + runs-on: ubuntu-latest + needs: [Notion] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_Slack.yml b/.github/workflows/oint_test_Slack.yml index 789fe0372a..7ef0fbdcaa 100644 --- a/.github/workflows/oint_test_Slack.yml +++ b/.github/workflows/oint_test_Slack.yml @@ -131,6 +131,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ЗагрузитьУдалитьВФ" + Encode: + runs-on: ubuntu-latest + needs: [Slack] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_Telegram.yml b/.github/workflows/oint_test_Telegram.yml index a0a0b714a6..3ed1029730 100644 --- a/.github/workflows/oint_test_Telegram.yml +++ b/.github/workflows/oint_test_Telegram.yml @@ -175,6 +175,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_СкрытьПоказатьГлавнуюТему" + Encode: + runs-on: ubuntu-latest + needs: [Telegram] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_VK.yml b/.github/workflows/oint_test_VK.yml index b57133e02d..aa2da388c5 100644 --- a/.github/workflows/oint_test_VK.yml +++ b/.github/workflows/oint_test_VK.yml @@ -151,6 +151,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьСписокЗаказов" + Encode: + runs-on: ubuntu-latest + needs: [VK] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_Viber.yml b/.github/workflows/oint_test_Viber.yml index 4b9bd555d1..0e6f9db500 100644 --- a/.github/workflows/oint_test_Viber.yml +++ b/.github/workflows/oint_test_Viber.yml @@ -115,6 +115,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ОтправитьСсылку" + Encode: + runs-on: ubuntu-latest + needs: [Viber] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest diff --git a/.github/workflows/oint_test_YandexDisk.yml b/.github/workflows/oint_test_YandexDisk.yml index 85f312f956..fbb3ab1e6e 100644 --- a/.github/workflows/oint_test_YandexDisk.yml +++ b/.github/workflows/oint_test_YandexDisk.yml @@ -119,6 +119,44 @@ jobs: if: ${{ cancelled() }} == false run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ПолучитьСписокОпубликованных" + Encode: + runs-on: ubuntu-latest + needs: [YandexDisk] + if: ${{ always() }} + permissions: + contents: write + + steps: + + - uses: actions/checkout@v2 + + - name: Обновить данные в репозитории + run: git pull https://github.com/Bayselonarrend/OpenIntegrations + + - name: Получить тестовые данные из кэша + uses: actions/cache/restore@v3 + with: + key: test-data_new + path: ./data.json + + - name: Зашифровать данные обратно + continue-on-error: false + + run: | + rm -f ./data.json.gpg + gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json + rm -f ./data.json + env: + ENC_JSON: ${{ secrets.ENC_JSON }} + + - name: Записать данные + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_user_name: Vitaly the Alpaca (bot) + commit_user_email: vitaly.the.alpaca@gmail.com + commit_author: Vitaly the Alpaca + commit_message: Обновление зашифрованных данных по результатам тестов (workflow) + Clear-Cache: runs-on: ubuntu-latest