diff --git a/.github/workflows/MLPipelinePostMerge.yml b/.github/workflows/MLPipelinePostMerge.yml index a83a6b4..b43007d 100644 --- a/.github/workflows/MLPipelinePostMerge.yml +++ b/.github/workflows/MLPipelinePostMerge.yml @@ -44,35 +44,41 @@ jobs: dvc push -r dev - Register-New-Model-Dev: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 + # Register-New-Model-Dev: + # if: github.event.pull_request.merged == true + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # with: + # fetch-depth: 0 - - name: Install packages to register model - env: - AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }} - run: | - pip install --upgrade pip - pip install -r modules/ml-pipeline/src/pipeline/src/requirements/version_control/requirements.txt + # - name: Install packages to register model + # env: + # AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }} + # run: | + # pip install --upgrade pip + # pip install -r modules/ml-pipeline/src/pipeline/src/requirements/version_control/requirements.txt - - name: Register Model - env: - REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | + # - name: Register Model + # env: + # AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }} + # run: | - REGISTER_MODEL_NAME=$(echo ${{ github.event.pull_request.head.ref }} | awk -F"-" '{print $1}') - # REGISTER_MODEL_NAME=$(echo ${{github.ref_name}} | awk -F"-" '{print $1}') - git config user.name "Github-Bot" - git config user.email "Github-Bot@no-reply.com" + # REGISTER_MODEL_NAME=$(echo ${{ github.event.pull_request.head.ref }} | awk -F"-" '{print $1}') + # # REGISTER_MODEL_NAME=$(echo ${{github.ref_name}} | awk -F"-" '{print $1}') - gto register ${REGISTER_MODEL_NAME} - gto assign ${REGISTER_MODEL_NAME} --stage dev - gto show + # git config user.name "Github-Bot" + # git config user.email "Github-Bot@no-reply.com" + + # # gto register test --repo https://github.com/Hestia-Homes/ML/ + # # echo "chicken" >> test.md + + # git checkout master + # gto register ${REGISTER_MODEL_NAME} + # gto assign regression --stage dev + # gto show Register-Prediction-Image-Dev: needs: Promote-Model-To-Dev diff --git a/modules/ml-pipeline/.gitignore b/modules/ml-pipeline/.gitignore index cd87845..63900db 100644 --- a/modules/ml-pipeline/.gitignore +++ b/modules/ml-pipeline/.gitignore @@ -1,2 +1,4 @@ .dev_env/ __pycache__/ +.DS_Store +.vscode/ diff --git a/modules/ml-pipeline/src/pipeline/src/.DS_Store b/modules/ml-pipeline/src/pipeline/src/.DS_Store index 4dff51a..5008ddf 100644 Binary files a/modules/ml-pipeline/src/pipeline/src/.DS_Store and b/modules/ml-pipeline/src/pipeline/src/.DS_Store differ