mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
Merge pull request #119 from Hestia-Homes/feature/sureurve
Feature/sureurve
This commit is contained in:
commit
0651e9e500
6 changed files with 8 additions and 191 deletions
|
|
@ -1,29 +0,0 @@
|
|||
# name: Surveyed Needs Sign Off Script
|
||||
# on:
|
||||
# schedule:
|
||||
# # - cron: '0 17 * * 1-5'
|
||||
# workflow_dispatch:
|
||||
|
||||
# jobs:
|
||||
# surveyed-needs-sign-off:
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# pip install poetry
|
||||
# poetry install --no-root
|
||||
|
||||
# - name: run script
|
||||
# run: |
|
||||
# pwd
|
||||
# ls -la
|
||||
# poetry run python etl/hubspot_surveyed_needs_sign_off.py
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
16
.github/workflows/hubspot_sync.yml
vendored
16
.github/workflows/hubspot_sync.yml
vendored
|
|
@ -21,14 +21,14 @@ jobs:
|
|||
pip install poetry
|
||||
poetry install --no-root
|
||||
|
||||
- name: Run scripts
|
||||
env:
|
||||
PYTHONPATH: ${{ github.workspace }}
|
||||
DATABASE_URL: ${{ secrets.PROD_DATABASE_URL }}
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
poetry run python etl/hubSpotClient/scripts/hubspot_abri_etl_first_time.py
|
||||
# - name: Run scripts
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
# DATABASE_URL: ${{ secrets.PROD_DATABASE_URL }}
|
||||
# run: |
|
||||
# pwd
|
||||
# ls -la
|
||||
# poetry run python etl/hubSpotClient/scripts/hubspot_abri_etl_first_time.py
|
||||
|
||||
|
||||
- name: Run scripts
|
||||
|
|
|
|||
37
.github/workflows/hubspot_to_invoice.yml
vendored
37
.github/workflows/hubspot_to_invoice.yml
vendored
|
|
@ -1,37 +0,0 @@
|
|||
# name: HubSpot Deals to DB loading and Invoice Calculator
|
||||
# on:
|
||||
# # schedule:
|
||||
# # - cron: '0 19 * * 0'
|
||||
# workflow_dispatch:
|
||||
|
||||
# jobs:
|
||||
# hubspot-deals-to-db:
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# pip install poetry
|
||||
# poetry install --no-root
|
||||
|
||||
# - name: run script
|
||||
# run: |
|
||||
# pwd
|
||||
# ls -la
|
||||
# poetry run python etl/hubspot_to_invoice_rewrite.py
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
# DATABASE_URL: postgresql://postgres:makingwarmhomes@terraform-20250331175522503500000002.cdgzupxvdyp0.eu-west-2.rds.amazonaws.com:5432/surveyDB
|
||||
# SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID: ${{ secrets.SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID }}
|
||||
# JJC_SERVICE_SHAREPOINT_ID: ${{ secrets.JJC_SERVICE_SHAREPOINT_ID }}
|
||||
# BAXTER_KELLY_SERVICE_SHAREPOINT_ID: ${{ secrets.BAXTER_KELLY_SERVICE_SHAREPOINT_ID }}
|
||||
# SGEC_SERVICE_SHAREPOINT_ID: ${{ secrets.SGEC_SERVICE_SHAREPOINT_ID }}
|
||||
# SHAREPOINT_CLIENT_ID: ${{ secrets.SHAREPOINT_CLIENT_ID }}
|
||||
# SHAREPOINT_CLIENT_SECRET: ${{ secrets.SHAREPOINT_CLIENT_SECRET }}
|
||||
# SHAREPOINT_TENANT_ID: ${{ secrets.SHAREPOINT_TENANT_ID }}
|
||||
42
.github/workflows/pytest.yml
vendored
42
.github/workflows/pytest.yml
vendored
|
|
@ -1,42 +0,0 @@
|
|||
# name: Run Pytest
|
||||
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - '**' # Run on all branches
|
||||
# pull_request:
|
||||
# branches:
|
||||
# - main
|
||||
|
||||
# jobs:
|
||||
# etl-unit-tests:
|
||||
# runs-on: ubuntu-22.04
|
||||
|
||||
# steps:
|
||||
# - name: Checkout Repository
|
||||
# uses: actions/checkout@v4
|
||||
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# pip install poetry
|
||||
# poetry install --no-root
|
||||
|
||||
# - name: Run Tests
|
||||
# run: |
|
||||
# poetry run pytest -W ignore::DeprecationWarning
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
|
||||
|
||||
|
||||
# continue-on-error: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
|
||||
39
.github/workflows/scis_invoice_calculator.yml
vendored
39
.github/workflows/scis_invoice_calculator.yml
vendored
|
|
@ -1,39 +0,0 @@
|
|||
# name: SCIS Invoice Calculator
|
||||
# on:
|
||||
# schedule:
|
||||
# - cron: '0 6 * * *'
|
||||
# workflow_dispatch:
|
||||
|
||||
# jobs:
|
||||
# scis_invoice_calculator:
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# pip install poetry
|
||||
# poetry install --no-root
|
||||
|
||||
# - name: run script
|
||||
# run: |
|
||||
# bash scis_invoice.sh
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
# SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID: ${{ secrets.SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID }}
|
||||
# JJC_SERVICE_SHAREPOINT_ID: ${{ secrets.JJC_SERVICE_SHAREPOINT_ID }}
|
||||
# BAXTER_KELLY_SERVICE_SHAREPOINT_ID: ${{ secrets.BAXTER_KELLY_SERVICE_SHAREPOINT_ID }}
|
||||
# SGEC_SERVICE_SHAREPOINT_ID: ${{ secrets.SGEC_SERVICE_SHAREPOINT_ID }}
|
||||
# SHAREPOINT_CLIENT_ID: ${{ secrets.SHAREPOINT_CLIENT_ID }}
|
||||
# SHAREPOINT_CLIENT_SECRET: ${{ secrets.SHAREPOINT_CLIENT_SECRET }}
|
||||
# SHAREPOINT_TENANT_ID: ${{ secrets.SHAREPOINT_TENANT_ID }}
|
||||
# - name: Upload Excel file
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: my-excel-file
|
||||
# path: survey_data.xlsx
|
||||
36
.github/workflows/sharepoint_validator.yml
vendored
36
.github/workflows/sharepoint_validator.yml
vendored
|
|
@ -1,36 +0,0 @@
|
|||
# name: SharePoint Validator
|
||||
# on:
|
||||
# schedule:
|
||||
# - cron: '0 6 * * *'
|
||||
# workflow_dispatch:
|
||||
|
||||
# jobs:
|
||||
# sharepoint-validator:
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: '3.12'
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# pip install poetry
|
||||
# poetry install --no-root
|
||||
|
||||
# - name: run script
|
||||
# run: |
|
||||
# pwd
|
||||
# ls -la
|
||||
# bash run_daily_script.sh
|
||||
# env:
|
||||
# PYTHONPATH: ${{ github.workspace }}
|
||||
# SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID: ${{ secrets.SOUTH_COAST_INSULATION_SERVICE_SHAREPOINT_ID }}
|
||||
# JJC_SERVICE_SHAREPOINT_ID: ${{ secrets.JJC_SERVICE_SHAREPOINT_ID }}
|
||||
# BAXTER_KELLY_SERVICE_SHAREPOINT_ID: ${{ secrets.BAXTER_KELLY_SERVICE_SHAREPOINT_ID }}
|
||||
# SGEC_SERVICE_SHAREPOINT_ID: ${{ secrets.SGEC_SERVICE_SHAREPOINT_ID }}
|
||||
# SHAREPOINT_CLIENT_ID: ${{ secrets.SHAREPOINT_CLIENT_ID }}
|
||||
# SHAREPOINT_CLIENT_SECRET: ${{ secrets.SHAREPOINT_CLIENT_SECRET }}
|
||||
# SHAREPOINT_TENANT_ID: ${{ secrets.SHAREPOINT_TENANT_ID }}
|
||||
Loading…
Add table
Reference in a new issue