Skip to content

Commit

Permalink
Merge branch 'main' into secret_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyongzhu committed Dec 2, 2022
2 parents 9551473 + adab8d8 commit 7054d07
Show file tree
Hide file tree
Showing 1,243 changed files with 42,640 additions and 5,130 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/linkedin/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/feathr-ai/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
#### Please fill in this bug report template to ensure a timely and thorough response.
- type: dropdown
id: contribution
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/doc_improvements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/linkedin/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/feathr-ai/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
#### Please fill in this non-technical template to ensure a timely and thorough response.
- type: dropdown
id: contribution
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/linkedin/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/feathr-ai/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
#### Please fill in this bug report template to ensure a timely and thorough response.
- type: dropdown
id: contribution
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/non_technical_request_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/linkedin/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
Thank you for submitting an issue. Please refer to our [contribution guide](https://github.com/feathr-ai/feathr/blob/main/docs/dev_guide/new_contributor_guide.md) for additional information.
#### Please fill in this non-technical template to ensure a timely and thorough response.
- type: dropdown
id: contribution
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/.coveragerc_db
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
omit = feathr_project/feathr/registry/_feature_registry_purview.py
feathr_project/feathr/spark_provider/_synapse_submission.py
feathr_project/feathr/spark_provider/_localspark_submission.py
[report]
exclude_lines =
pragma: no cover
@abstract
8 changes: 8 additions & 0 deletions .github/workflows/.coveragerc_local
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
omit = feathr_project/feathr/registry/_feature_registry_purview.py
feathr_project/feathr/spark_provider/_databricks_submission.py
feathr_project/feathr/spark_provider/_synapse_submission.py
[report]
exclude_lines =
pragma: no cover
@abstract
8 changes: 8 additions & 0 deletions .github/workflows/.coveragerc_sy
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
omit = feathr_project/feathr/registry/_feature_registry_purview.py
feathr_project/feathr/spark_provider/_databricks_submission.py
feathr_project/feathr/spark_provider/_localspark_submission.py
[report]
exclude_lines =
pragma: no cover
@abstract
57 changes: 27 additions & 30 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow builds the docker container and publishes to dockerhub with appropriate tag
# It has two triggers,
# It has two triggers,
# 1. daily i.e. runs everyday at specific time.
# 2. Anytime a new branch is created under releases

Expand All @@ -15,27 +15,26 @@ on:
branches:
- 'releases/**'


jobs:
build_and_push_image_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: feathrfeaturestore/feathr-registry

- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
Expand All @@ -45,34 +44,32 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# Deploy the docker container to the three test environments for feathr
# Trigger Azure Web App webhooks to pull the latest nightly image
deploy:
runs-on: ubuntu-latest
needs: build_and_push_image_to_registry



steps:
- name: Deploy to Feathr SQL Registry Azure Web App
id: deploy-to-sql-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'feathr-sql-registry'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_FEATHR_SQL_REGISTRY }}
images: 'feathrfeaturestore/feathr-registry:nightly'

- name: Deploy to Feathr Purview Registry Azure Web App
id: deploy-to-purview-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'feathr-purview-registry'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_FEATHR_PURVIEW_REGISTRY }}
images: 'feathrfeaturestore/feathr-registry:nightly'
- name: Deploy to Azure Web App feathr-registry-purview
id: deploy-to-feathr-registry-purview
uses: distributhor/[email protected]
env:
webhook_url: ${{ secrets.AZURE_WEBAPP_FEATHR_REGISTRY_PURVIEW_WEBHOOK }}

- name: Deploy to Feathr RBAC Registry Azure Web App
id: deploy-to-rbac-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'feathr-rbac-registry'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_FEATHR_RBAC_REGISTRY }}
images: 'feathrfeaturestore/feathr-registry:nightly'
- name: Deploy to Azure Web App feathr-registry-purview-rbac
id: deploy-to-feathr-registry-purview-rbac
uses: distributhor/[email protected]
env:
webhook_url: ${{ secrets.AZURE_WEBAPP_FEATHR_REGISTRY_PURVIEW_RBAC_WEBHOOK }}

- name: Deploy to Azure Web App feathr-registry-sql
id: deploy-to-feathr-registry-sql
uses: distributhor/[email protected]
env:
webhook_url: ${{ secrets.AZURE_WEBAPP_FEATHR_REGISTRY_SQL_WEBHOOK }}

- name: Deploy to Azure Web App feathr-registry-sql-rbac
id: deploy-to-feathr-registry-sql-rbac
uses: distributhor/[email protected]
env:
webhook_url: ${{ secrets.AZURE_WEBAPP_FEATHR_REGISTRY_SQL_RBAC_WEBHOOK }}
5 changes: 4 additions & 1 deletion .github/workflows/document-scan.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Feathr Documents' Broken Link Check

on: [push]
on:
push:
branches: [main]

jobs:
check-links:
runs-on: ubuntu-latest
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/publish-to-maven.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Publish package to the Maven Central Repository
on:
on:
push:
# This pipeline will get triggered everytime there is a new tag created.
# It is required
# It is required
tags: ["*"]

jobs:
publish-to-maven:
runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@v2

# Setting up JDK 8, this is required to build Feathr
- name: Set up JDK 8
uses: actions/setup-java@v2
Expand All @@ -27,10 +27,9 @@ jobs:

# CI release command defaults to publishSigned
# Sonatype release command defaults to sonaTypeBundleRelease
# https://github.com/sbt/sbt-ci-release
- name: Sbt ci release
run: |
sbt ci-release
- name: Gradle publish
if: startsWith(github.head_ref, 'release/v')
run: gradle clean publish
env:
PGP_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
PGP_SECRET: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
Expand Down
Loading

0 comments on commit 7054d07

Please sign in to comment.