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

Eda #40

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Eda #40

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
76 changes: 38 additions & 38 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
# Workflow to ensure whenever a Github PR is submitted,
# a JIRA ticket gets created automatically.
name: Manual Workflow
# name: Manual Workflow

# Controls when the action will run.
on:
# Triggers the workflow on pull request events but only for the master branch
pull_request_target:
types: [opened, reopened]
# # Controls when the action will run.
# on:
# # Triggers the workflow on pull request events but only for the master branch
# pull_request_target:
# types: [opened, reopened]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# # Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:

jobs:
test-transition-issue:
name: Convert Github Issue to Jira Issue
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
# jobs:
# test-transition-issue:
# name: Convert Github Issue to Jira Issue
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@master

- name: Login
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
# - name: Login
# uses: atlassian/gajira-login@master
# env:
# JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
# JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
# JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

- name: Create NEW JIRA ticket
id: create
uses: atlassian/gajira-create@master
with:
project: CONUPDATE
issuetype: Task
summary: |
Github PR nd0821 - Machine Learning DevOps Engineer | Repo: ${{ github.repository }} | PR# ${{github.event.number}}
description: |
Repo link: https://github.com/${{ github.repository }}
PR no. ${{ github.event.pull_request.number }}
PR title: ${{ github.event.pull_request.title }}
PR description: ${{ github.event.pull_request.description }}
In addition, please resolve other issues, if any.
fields: '{"components": [{"name":"nd0821 - Machine Learning DevOps Engineer"}], "customfield_16449":"https://classroom.udacity.com/", "customfield_16450":"Resolve the PR", "labels": ["github"], "priority":{"id": "4"}}'
# - name: Create NEW JIRA ticket
# id: create
# uses: atlassian/gajira-create@master
# with:
# project: CONUPDATE
# issuetype: Task
# summary: |
# Github PR nd0821 - Machine Learning DevOps Engineer | Repo: ${{ github.repository }} | PR# ${{github.event.number}}
# description: |
# Repo link: https://github.com/${{ github.repository }}
# PR no. ${{ github.event.pull_request.number }}
# PR title: ${{ github.event.pull_request.title }}
# PR description: ${{ github.event.pull_request.description }}
# In addition, please resolve other issues, if any.
# fields: '{"components": [{"name":"nd0821 - Machine Learning DevOps Engineer"}], "customfield_16449":"https://classroom.udacity.com/", "customfield_16450":"Resolve the PR", "labels": ["github"], "priority":{"id": "4"}}'

- name: Log created issue
run: echo "Issue ${{ steps.create.outputs.issue }} was created"
# - name: Log created issue
# run: echo "Issue ${{ steps.create.outputs.issue }} was created"
2 changes: 1 addition & 1 deletion components/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channels:
- conda-forge
- defaults
dependencies:
- mlflow=1.14.1
- mlflow=2.5.0
8 changes: 4 additions & 4 deletions components/get_data/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ channels:
- conda-forge
- defaults
dependencies:
- pip=20.3.3
- requests=2.24.0
- mlflow=1.14.1
- pip=23.2.1
- requests=2.31.0
- mlflow=2.5.0
- pip:
- wandb==0.10.31
- wandb==0.15.8
- git+https://github.com/udacity/nd0821-c2-build-model-workflow-starter.git#egg=wandb-utils&subdirectory=components
10 changes: 5 additions & 5 deletions conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ channels:
- conda-forge
- defaults
dependencies:
- mlflow=1.14.1
- pyyaml=5.3.1
- hydra-core=1.0.6
- pip=20.3.3
- mlflow=2.5.0
- pyyaml=6.0
- hydra-core=1.3.2
- pip=23.2.1
- pip:
- wandb==0.10.31
- wandb==0.15.8
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
main:
components_repository: "https://github.com/udacity/build-ml-pipeline-for-short-term-rental-prices#components"
components_repository: "https://github.com/ngduyanhece/build-ml-pipeline-for-short-term-rental-prices/tree/eda#components"
# All the intermediate files will be copied to this directory at the end of the run.
# Set this to null if you are running in prod
project_name: nyc_airbnb
Expand Down
22 changes: 11 additions & 11 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ channels:
- conda-forge
- defaults
dependencies:
- mlflow=1.14.1
- ipython=7.21.0
- notebook=6.2.0
- jupyterlab=3.0.10
- cookiecutter=1.7.2
- hydra-core=1.0.6
- matplotlib=3.3.4
- pandas=1.2.3
- git=2.30.2
- pip=20.3.3
- mlflow=2.5.0
- ipython=8.14.0
- notebook=7.0.2
- jupyterlab=4.0.4
- cookiecutter=2.3.0
- hydra-core=1.3.2
- matplotlib=3.7.2
- pandas=2.0.3
- git=2.41.0
- pip=23.2.1
- pip:
- wandb==0.10.31
- wandb==0.15.8
1 change: 1 addition & 0 deletions get_all_mlflow_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
conda info --envs | grep mlflow | cut -f1 -d" "
1 change: 1 addition & 0 deletions remove_all_mlflow_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
for e in $(conda info --envs | grep mlflow | cut -f1 -d" "); do conda uninstall --name $e --all -y;done