Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e25777a
Update catalog-info.yaml
vigneswara-propelo Apr 4, 2023
04d8c00
Update catalog-info.yaml
vigneswara-propelo Apr 4, 2023
8cb06f0
Update catalog-info.yaml
vigneswara-propelo Apr 25, 2023
b3de9a5
Update catalog-info.yaml
vigneswara-propelo Apr 25, 2023
85ae52b
Update catalog-info.yaml
vigneswara-propelo Apr 28, 2023
658b9a4
Update catalog-info.yaml
vigneswara-propelo Apr 28, 2023
b0a37a0
Update catalog-info.yaml
vigneswara-propelo May 10, 2023
859441b
Update catalog-info.yaml
vigneswara-propelo May 10, 2023
0ee7442
Update catalog-info.yaml
vigneswara-propelo May 11, 2023
517bea0
Update catalog-info.yaml
vigneswara-propelo May 11, 2023
8e67a40
Update catalog-info.yaml
vigneswara-propelo May 12, 2023
43ce95a
Update catalog-info.yaml
vigneswara-propelo May 12, 2023
5867fda
Update catalog-info.yaml
vigneswara-propelo Jun 14, 2023
d6acf5b
Update catalog-info.yaml
vigneswara-propelo Jun 14, 2023
f2db39a
Create github-actions-demo.yml
vigneswara-propelo Jun 14, 2023
991971e
Update catalog-info.yaml
vigneswara-propelo Jun 15, 2023
12b4573
Update catalog-info.yaml
vigneswara-propelo Jun 15, 2023
203d9ec
Update catalog-info.yaml
vigneswara-propelo Jun 15, 2023
4ce5d98
Create api-catalog-info.yaml
vigneswara-propelo Jun 18, 2023
a620157
Update api-catalog-info.yaml
vigneswara-propelo Jun 18, 2023
69bff83
Update api-catalog-info.yaml
vigneswara-propelo Jun 18, 2023
813bf0a
Update catalog-info.yaml
vigneswara-propelo Jun 19, 2023
ca39fdd
Update catalog-info.yaml
vigneswara-propelo Jun 19, 2023
83c2ac8
Create prod-catalog-info.yaml
vigneswara-propelo Jun 19, 2023
3a4bb6c
Update index.md
vigneswara-propelo Jun 19, 2023
e5ed875
Merge pull request #1 from vigneswara-propelo/Github-Actions
vigneswara-propelo Jun 21, 2023
b4bfa4d
Create template.yaml
vigneswara-propelo Jun 22, 2023
efce50f
Update catalog-info.yaml
vigneswara-propelo Jul 5, 2023
abe681a
Update catalog-info.yaml
vigneswara-propelo Jul 6, 2023
584d646
Update catalog-info.yaml
vigneswara-propelo Aug 1, 2023
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
18 changes: 18 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
10 changes: 10 additions & 0 deletions api-catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: idp-Service-api
spec:
type: openapi
lifecycle: production
owner: harness_account_all_users
definition:
$text: https://petstore.swagger.io/v2/swagger.json
22 changes: 20 additions & 2 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,26 @@ metadata:
name: python-pipeline-samples
annotations:
backstage.io/techdocs-ref: dir:.
harness.io/project-url: https://qa.harness.io/ng/account/zEaak-FLS425IEO7OLzMUg/home/orgs/default/projects/vigneshproject/details
# harness.io/project-url: https://qa.harness.io/ng/account/zEaak-FLS425IEO7OLzMUg/home/orgs/default/projects/vigneshproject/details
# circleci.com/project-slug: github/vigneswara-propelo/python-pipeline-samples
gitlab.com/project-id: '43877214'
jira/project-key: IDP
jenkins.io/github-folder: 'CDS-68313'
firehydrant.com/service-name: 'python-pipeline-samples'
backstage.io/kubernetes-label-selector: 'app=idp-ui'
backstage.io/kubernetes-namespace: '63feee14cbf66e3c798c4bdc'
github.com/project-slug: vigneswara-propelo/python-pipeline-samples
harness.io/pipelines: |
Build: https://app.harness.io/ng/account/vpCkHKsDSxK9_KYfjCTMKA/home/orgs/default/projects/IDP_UI/pipelines/Build_IDP_UI_App/pipeline-studio/?storeType=INLINE
Lint: https://app.harness.io/ng/account/vpCkHKsDSxK9_KYfjCTMKA/home/orgs/default/projects/IDP_UI/pipelines/Lint/pipeline-studio
TypeCheck: https://app.harness.io/ng/account/vpCkHKsDSxK9_KYfjCTMKA/home/orgs/default/projects/IDP_UI/pipelines/Typecheck/pipeline-studio
grafana/dashboard-selector: "(tags @> 'prometheus' || tags @> 'blackbox')"

# snyk.io/org-name: vigneswara-propelo
# snyk.io/project-ids: 7c7766e6-1231-4e4f-b51f-0cbd2aacb227, 4addb946-2ff4-41b7-ae71-2a5d480193ee
spec:
type: service
lifecycle: experimental
owner: team-a
owner: harness_account_all_users
providesApis:
- idp-Service-api
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## access-control
## Python-pipelines
18 changes: 18 additions & 0 deletions prod-catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: python-pipeline-samples-prod
annotations:
backstage.io/techdocs-ref: dir:.
backstage.io/kubernetes-label-selector: 'app=idp-ui'
backstage.io/kubernetes-namespace: '64805447033849710a35ad34'
github.com/project-slug: vigneswara-propelo/python-pipeline-samples

# snyk.io/org-name: vigneswara-propelo
# snyk.io/project-ids: 7c7766e6-1231-4e4f-b51f-0cbd2aacb227, 4addb946-2ff4-41b7-ae71-2a5d480193ee
spec:
type: service
lifecycle: experimental
owner: harness_account_all_users
providesApis:
- idp-Service-api
82 changes: 82 additions & 0 deletions template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
name: nextjs-app
title: Create a Next.js app
description: A template to create a new Next.js app
tags:
- nextjs
- react
- javascript
spec:
owner: himanshu.mishra@harness.io
type: service
parameters:
- title: Next.js app details
required:
- project_name
- github_repo
properties:
project_name:
title: Name of your new app
type: string
description: Unique name of the app
github_repo:
title: Name of the GitHub repository
type: string
description: This will be the name of Repository on Github
isPublish:
title: Do you wish to publish the artificat the internal registry?
type: boolean
- title: Service Infrastructure Details
required:
- owner
properties:
cloud_provider:
title: Choose a cloud provider for Deployment
type: string
enum: ["GCP","AWS"]
default: GCP
db:
title: Choose a Database Type for the Service
type: string
enum: ["None","MySQL","Postgres","MongoDB"]
default: None
cache:
title: Choose a caching system for the Service
type: string
enum: ["None","Redis"]
default: None
owner:
title: Choose an Owner for the Service
type: string
ui:field: OwnerPicker
ui:options:
allowedKinds:
- Group
# This field is hidden but needed to authenticate the request to trigger the pipeline
token:
title: Harness Token
type: string
ui:widget: password
ui:field: HarnessAuthToken
steps:
- id: trigger
name: Creating your Next.js app
action: trigger:harness-custom-pipeline
input:
url: "https://stress.harness.io/ng/account/px7xd_BFRCi-pfWPYXVjvw/ci/orgs/default/projects/VigneshProject/pipelines/IDP_Service_Onboarding/pipeline-studio/?storeType=INLINE"
inputset:
project_name: ${{ parameters.project_name }}
github_repo: ${{ parameters.github_repo }}
cloud_provider: ${{ parameters.provider }}
db: ${{ parameters.db }}
cache: ${{ parameters.cache }}
apikey: ${{ parameters.token }}
# The final step is to register our new component in the catalog.


output:
links:
- title: Pipeline Details
url: ${{ steps.trigger.output.PipelineUrl }}