forked from apache/atlas
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
150 changed files
with
7,862 additions
and
981 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: GitHub-Jira Link Action | ||
run-name: ${{ github.actor }} is ensuring Jira ID is present in PR title | ||
on: | ||
pull_request: | ||
types: [opened, edited, synchronize, reopened] | ||
branches: [main, staging, master, beta, develop, prod, development] | ||
|
||
jobs: | ||
Enforce-GitHub-Jira-Link-Action: | ||
runs-on: ubuntu-latest | ||
if: ${{ !contains(fromJson('["main", "staging", "master", "beta", "develop", "prod", "development"]'), github.event.pull_request.head.ref) }} | ||
steps: | ||
- name: Enforce Pull Request Title includes Jira Issue Key | ||
uses: ryanvade/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ on: | |
- beta | ||
- development | ||
- master | ||
- staging | ||
- lineageondemand | ||
|
||
jobs: | ||
|
@@ -51,16 +52,6 @@ jobs: | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | ||
id: get_branch | ||
|
||
- name: Create Maven Settings | ||
uses: s4u/[email protected] | ||
with: | ||
servers: | | ||
[{ | ||
"id": "github", | ||
"username": "atlan-ci", | ||
"password": "${{ secrets.my_pat }}" | ||
}] | ||
- name: Build with Maven | ||
run: | | ||
branch_name=${{ steps.get_branch.outputs.branch }} | ||
|
@@ -77,7 +68,7 @@ jobs: | |
shell: bash | ||
|
||
- name: Get version tag | ||
run: echo "##[set-output name=version;]$(echo `git ls-remote https://${{ secrets.my_pat }}@github.com/atlanhq/${REPOSITORY_NAME}.git ${{ steps.get_branch.outputs.branch }} | awk '{ print $1}' | cut -c1-7`)abcd" | ||
run: echo "##[set-output name=version;]$(echo `git ls-remote https://${{ secrets.ORG_PAT_GITHUB }}@github.com/atlanhq/${REPOSITORY_NAME}.git refs/heads/${{ steps.get_branch.outputs.branch }} | awk '{ print $1}' | cut -c1-7`)abcd" | ||
id: get_version | ||
|
||
- name: Set up Buildx | ||
|
@@ -89,7 +80,7 @@ jobs: | |
with: | ||
registry: ghcr.io | ||
username: $GITHUB_ACTOR | ||
password: ${{ secrets.my_pat }} | ||
password: ${{ secrets.ORG_PAT_GITHUB }} | ||
|
||
- name: Build and push | ||
id: docker_build | ||
|
@@ -104,7 +95,6 @@ jobs: | |
tags: | | ||
ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:latest | ||
ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:${{ steps.get_version.outputs.version }} | ||
- name: Scan Image | ||
uses: aquasecurity/trivy-action@master | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
"entities": | ||
[ | ||
{ | ||
"typeName": "AuthPolicy", | ||
"customAttributes": { | ||
"internalId": 28 | ||
}, | ||
"attributes": | ||
{ | ||
"name": "READ_GLOSSARY", | ||
"qualifiedName": "READ_GLOSSARY", | ||
"policyCategory": "bootstrap", | ||
"policySubCategory": "default", | ||
"policyServiceName": "atlas", | ||
"policyType": "allow", | ||
"policyPriority": 1, | ||
"policyUsers": | ||
[], | ||
"policyGroups": | ||
[], | ||
"policyRoles": | ||
[ | ||
"$admin", | ||
"$api-token-default-access" | ||
], | ||
"policyResourceCategory": "ENTITY", | ||
"policyResources": | ||
[ | ||
"entity-type:AtlasGlossary", | ||
"entity-classification:*", | ||
"entity:*" | ||
], | ||
"policyActions": | ||
[ | ||
"entity-read" | ||
] | ||
} | ||
}, | ||
{ | ||
"typeName": "AuthPolicy", | ||
"customAttributes": { | ||
"internalId": 29 | ||
}, | ||
"attributes": | ||
{ | ||
"name": "READ_TERM", | ||
"qualifiedName": "READ_TERM", | ||
"policyCategory": "bootstrap", | ||
"policySubCategory": "default", | ||
"policyServiceName": "atlas", | ||
"policyType": "allow", | ||
"policyPriority": 1, | ||
"policyUsers": | ||
[], | ||
"policyGroups": | ||
[], | ||
"policyRoles": | ||
[ | ||
"$admin", | ||
"$api-token-default-access" | ||
], | ||
"policyResourceCategory": "ENTITY", | ||
"policyResources": | ||
[ | ||
"entity-type:AtlasGlossaryTerm", | ||
"entity-classification:*", | ||
"entity:*" | ||
], | ||
"policyActions": | ||
[ | ||
"entity-read" | ||
] | ||
} | ||
}, | ||
{ | ||
"typeName": "AuthPolicy", | ||
"customAttributes": { | ||
"internalId": 30 | ||
}, | ||
"attributes": | ||
{ | ||
"name": "READ_CATEGORY", | ||
"qualifiedName": "READ_CATEGORY", | ||
"policyCategory": "bootstrap", | ||
"policySubCategory": "default", | ||
"policyServiceName": "atlas", | ||
"policyType": "allow", | ||
"policyPriority": 1, | ||
"policyUsers": | ||
[], | ||
"policyGroups": | ||
[], | ||
"policyRoles": | ||
[ | ||
"$admin", | ||
"$api-token-default-access" | ||
], | ||
"policyResourceCategory": "ENTITY", | ||
"policyResources": | ||
[ | ||
"entity-type:AtlasGlossaryCategory", | ||
"entity-classification:*", | ||
"entity:*" | ||
], | ||
"policyActions": | ||
[ | ||
"entity-read" | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.