├── .gitignore
├── CODEOWNERS
├── README.md
├── coming-soon
├── aqua
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── bitbucket
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── checkmarx
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── datadog
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── helm
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── heroku
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── kubernetes
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── monday
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── newrelic
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── npm
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── rollbar
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── sendgrid
│ ├── icn.svg
│ └── workflowTemplate.yaml
├── snyk
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── telegram
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── twilio
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── webhook
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── whitesource
│ ├── icon.svg
│ └── workflowTemplate.yaml
└── yarn
│ ├── icon.svg
│ └── workflowTemplate.yaml
├── examples
├── ci-simple
│ ├── CHANGELOG.md
│ ├── assets
│ │ └── icon.svg
│ └── versions
│ │ └── 0.0.1
│ │ ├── README.md
│ │ ├── docs
│ │ ├── ci-tasks.md
│ │ └── test.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
├── failure-notification
│ ├── CHANGELOG.md
│ ├── assets
│ │ ├── icon.webp
│ │ ├── slack.png
│ │ └── workflow.png
│ └── versions
│ │ └── 0.0.1
│ │ ├── README.md
│ │ ├── docs
│ │ ├── failure-notification.md
│ │ ├── intentional-fail.md
│ │ └── parse-info.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
├── jira-sonar
│ ├── CHANGELOG.md
│ ├── assets
│ │ └── icon.svg
│ └── versions
│ │ └── 0.0.1
│ │ ├── README.md
│ │ ├── docs
│ │ ├── jira-sonar.md
│ │ ├── rollout-10.md
│ │ ├── rollout-100.md
│ │ ├── rollout-33.md
│ │ └── test.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
├── post-promotion-starter
│ ├── CHANGELOG.md
│ ├── assets
│ │ └── icon.svg
│ └── versions
│ │ ├── 0.0.1
│ │ ├── README.md
│ │ ├── docs
│ │ │ └── echo.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
│ │ └── 0.0.2
│ │ ├── README.md
│ │ ├── docs
│ │ └── echo.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
├── starter-manual-sync
│ ├── CHANGELOG.md
│ ├── assets
│ │ └── icon.svg
│ └── versions
│ │ ├── 0.0.1
│ │ ├── README.md
│ │ ├── docs
│ │ │ └── starter-manual-sync.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
│ │ └── 0.0.2
│ │ ├── README.md
│ │ ├── docs
│ │ └── starter-manual-sync.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
├── time-of-day
│ ├── CHANGELOG.md
│ ├── assets
│ │ ├── icon-credit.md
│ │ └── icon.svg
│ └── versions
│ │ └── 0.0.1
│ │ ├── README.md
│ │ ├── docs
│ │ ├── example-workflow.md
│ │ ├── time-of-day.md
│ │ └── whalesay-template.md
│ │ ├── rbac.yaml
│ │ └── workflowTemplate.yaml
└── upgrade-cluster
│ ├── CHANGELOG.md
│ ├── assets
│ └── icon.svg
│ └── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ └── upgrade.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── utils
├── icons
│ └── logo.png
└── starting-template
│ ├── CHANGELOG.md
│ ├── assets
│ └── icon.svg
│ └── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ └── task.md
│ ├── images
│ └── task
│ │ ├── Dockerfile
│ │ ├── index.js
│ │ └── package.json
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
└── workflows
├── argo-workflows-utils
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ ├── echo.md
│ └── globalize-variable.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── argo-workflows
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ ├── 0.0.1
│ ├── README.md
│ ├── docs
│ │ └── submit-workflow.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.2
│ ├── README.md
│ ├── docs
│ │ ├── submit-workflow.md
│ │ └── terminate-workflow.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.3
│ ├── README.md
│ ├── docs
│ │ ├── submit-workflow.md
│ │ └── terminate-workflow.md
│ ├── images
│ │ └── argo-workflow-cli
│ │ │ └── Dockerfile
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ └── 0.0.4
│ ├── README.md
│ ├── docs
│ ├── resume-workflow.md
│ ├── stop-workflow.md
│ ├── submit-workflow.md
│ ├── suspend-workflow.md
│ └── terminate-workflow.md
│ ├── images
│ └── argo-workflow-cli
│ │ └── Dockerfile
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── argocd
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ ├── action-abort.md
│ ├── action-promote-full.md
│ ├── action-restart.md
│ ├── action-resume.md
│ ├── action-retry.md
│ ├── history.md
│ ├── list.md
│ ├── rollback.md
│ ├── sync.md
│ └── wait.md
│ ├── images
│ └── argocd-cli
│ │ └── Dockerfile
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── codecov
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ └── codecov-report.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── codefresh-classic
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ └── run-pipeline.md
│ ├── rbac.yaml
│ ├── workflowTemplate.mock.yaml
│ └── workflowTemplate.yaml
├── codefresh-csdp
├── CHANGELOG.md
├── assets
│ └── csdp-icon.svg
└── versions
│ ├── 0.0.1
│ ├── README.md
│ ├── docs
│ │ └── image-enricher-git.md
│ ├── images
│ │ └── image-enricher-git
│ │ │ ├── .nvmrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── codefresh.api.js
│ │ │ ├── configuration
│ │ │ │ ├── index.js
│ │ │ │ ├── prod.js
│ │ │ │ └── test.js
│ │ │ ├── index.js
│ │ │ ├── initializer.js
│ │ │ ├── pull-request
│ │ │ │ ├── bitbucket
│ │ │ │ │ ├── api.js
│ │ │ │ │ ├── file.js
│ │ │ │ │ └── index.js
│ │ │ │ ├── github
│ │ │ │ │ ├── api.js
│ │ │ │ │ ├── file.js
│ │ │ │ │ ├── github.api.common.js
│ │ │ │ │ └── index.js
│ │ │ │ ├── gitlab
│ │ │ │ │ ├── api.js
│ │ │ │ │ ├── file.js
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── strategy.js
│ │ │ │ └── tests
│ │ │ │ │ ├── event.json
│ │ │ │ │ └── strategy.test.js
│ │ │ ├── tests
│ │ │ │ ├── initializer.test.js
│ │ │ │ └── prepare-config.test.js
│ │ │ ├── util
│ │ │ │ └── file.util.js
│ │ │ └── variable-exporter.js
│ │ │ ├── tests
│ │ │ ├── bitbucket.test.js
│ │ │ └── event.json
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.2
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ └── image-enricher-jira-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── prod.js
│ │ │ │ │ └── test.js
│ │ │ │ ├── index.js
│ │ │ │ ├── initializer.js
│ │ │ │ ├── pull-request
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ ├── github.api.common.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── strategy.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ ├── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ │ ├── util
│ │ │ │ │ └── file.util.js
│ │ │ │ └── variable-exporter.js
│ │ │ ├── tests
│ │ │ │ ├── bitbucket.test.js
│ │ │ │ └── event.json
│ │ │ └── yarn.lock
│ │ └── image-enricher-jira-info
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package-lock.json
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── CodefreshJiraClient.js
│ │ │ ├── codefresh.api.js
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── jira.service.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.3
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── prod.js
│ │ │ │ │ └── test.js
│ │ │ │ ├── index.js
│ │ │ │ ├── initializer.js
│ │ │ │ ├── pull-request
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ ├── github.api.common.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── strategy.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ ├── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ │ ├── util
│ │ │ │ │ └── file.util.js
│ │ │ │ └── variable-exporter.js
│ │ │ ├── tests
│ │ │ │ ├── bitbucket.test.js
│ │ │ │ └── event.json
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package-lock.json
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── jira.service.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.4
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── prod.js
│ │ │ │ │ └── test.js
│ │ │ │ ├── index.js
│ │ │ │ ├── initializer.js
│ │ │ │ ├── pull-request
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ ├── github.api.common.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── strategy.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ ├── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ │ ├── util
│ │ │ │ │ └── file.util.js
│ │ │ │ └── variable-exporter.js
│ │ │ ├── tests
│ │ │ │ ├── bitbucket.test.js
│ │ │ │ └── event.json
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package-lock.json
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── jira.service.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.5
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── prod.js
│ │ │ │ │ └── test.js
│ │ │ │ ├── index.js
│ │ │ │ ├── initializer.js
│ │ │ │ ├── pull-request
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ ├── github.api.common.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── strategy.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ ├── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ │ ├── util
│ │ │ │ │ └── file.util.js
│ │ │ │ └── variable-exporter.js
│ │ │ ├── tests
│ │ │ │ ├── bitbucket.test.js
│ │ │ │ └── event.json
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package-lock.json
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── jira.service.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.6
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── prod.js
│ │ │ │ │ └── test.js
│ │ │ │ ├── index.js
│ │ │ │ ├── initializer.js
│ │ │ │ ├── pull-request
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ ├── github.api.common.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── api.js
│ │ │ │ │ │ ├── file.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── strategy.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ ├── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ │ ├── util
│ │ │ │ │ └── file.util.js
│ │ │ │ └── variable-exporter.js
│ │ │ ├── tests
│ │ │ │ ├── bitbucket.test.js
│ │ │ │ └── event.json
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package-lock.json
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── jira.service.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── Dockerfile
│ │ │ ├── configuration
│ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.0.0
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ ├── tests
│ │ │ │ ├── bitbucket.test.js
│ │ │ │ └── event.json
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package-lock.json
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── jira.service.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .yarnrc
│ │ │ ├── .yarnrc copy
│ │ │ ├── Dockerfile
│ │ │ ├── configuration
│ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.0.1
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.0
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.1
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket-server
│ │ │ │ │ │ ├── bitbucket-server.api.js
│ │ │ │ │ │ ├── bitbucket-server.service.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ └── bitbucket-server.service.spec.js
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.10
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.11
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.12
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.13
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.2
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket-server
│ │ │ │ │ │ ├── bitbucket-server.api.js
│ │ │ │ │ │ ├── bitbucket-server.service.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ └── bitbucket-server.service.spec.js
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.3
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket-server
│ │ │ │ │ │ ├── bitbucket-server.api.js
│ │ │ │ │ │ ├── bitbucket-server.service.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ └── bitbucket-server.service.spec.js
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.4
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket-server
│ │ │ │ │ │ ├── bitbucket-server.api.js
│ │ │ │ │ │ ├── bitbucket-server.service.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ └── bitbucket-server.service.spec.js
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.5
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket-server
│ │ │ │ │ │ ├── bitbucket-server.api.js
│ │ │ │ │ │ ├── bitbucket-server.service.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ └── bitbucket-server.service.spec.js
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.6
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket-server
│ │ │ │ │ │ ├── bitbucket-server.api.js
│ │ │ │ │ │ ├── bitbucket-server.service.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ └── bitbucket-server.service.spec.js
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.7
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── outputs.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket-server
│ │ │ │ │ │ ├── bitbucket-server.api.js
│ │ │ │ │ │ ├── bitbucket-server.service.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── tests
│ │ │ │ │ │ │ └── bitbucket-server.service.spec.js
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucker.api.js
│ │ │ │ │ │ ├── bitbucker.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.api.js
│ │ │ │ │ │ ├── github.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.api.js
│ │ │ │ │ │ ├── gitlab.service.js
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── event.json
│ │ │ │ │ │ └── strategy.test.js
│ │ │ │ └── tests
│ │ │ │ │ ├── initializer.test.js
│ │ │ │ │ └── prepare-config.test.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── CodefreshJiraClient.js
│ │ │ │ ├── codefresh.api.js
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ ├── jira.service.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ ├── outputs.js
│ │ │ └── registry-client.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.1.8
│ ├── README.md
│ ├── docs
│ │ ├── image-enricher-git-info.md
│ │ ├── image-enricher-jira-info.md
│ │ └── report-image-info.md
│ ├── images
│ │ ├── image-enricher-git-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ ├── image-enricher-jira-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.js
│ │ │ │ ├── index.js
│ │ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ │ └── report-image-info
│ │ │ ├── .nvmrc
│ │ │ ├── .yarnrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── outputs.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ └── 1.1.9
│ ├── README.md
│ ├── docs
│ ├── image-enricher-git-info.md
│ ├── image-enricher-jira-info.md
│ └── report-image-info.md
│ ├── images
│ ├── image-enricher-git-info
│ │ ├── .nvmrc
│ │ ├── .yarnrc
│ │ ├── Dockerfile
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── outputs.js
│ │ └── yarn.lock
│ ├── image-enricher-jira-info
│ │ ├── .nvmrc
│ │ ├── .yarnrc
│ │ ├── Dockerfile
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.js
│ │ │ ├── index.js
│ │ │ └── outputs.js
│ │ └── yarn.lock
│ └── report-image-info
│ │ ├── .nvmrc
│ │ ├── .yarnrc
│ │ ├── Dockerfile
│ │ ├── package.json
│ │ ├── src
│ │ ├── configuration
│ │ │ └── index.js
│ │ ├── index.js
│ │ └── outputs.js
│ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── cosign
├── CHANGELOG.md
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ └── cosign.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── datree
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ └── datree-policy-check.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── git
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ ├── 0.0.1
│ ├── README.md
│ ├── docs
│ │ └── clone-s3.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.2
│ ├── README.md
│ ├── docs
│ │ ├── clone-s3.md
│ │ ├── clone.md
│ │ └── commit.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ └── 0.0.3
│ ├── README.md
│ ├── docs
│ ├── clone-s3.md
│ ├── clone.md
│ └── commit.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── github
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ ├── 0.0.1
│ ├── README.md
│ ├── docs
│ │ ├── commit-status.md
│ │ └── create-pr.md
│ ├── images
│ │ ├── commit-status
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ └── create-pr
│ │ │ └── Dockerfile
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.2
│ ├── README.md
│ ├── docs
│ │ ├── commit-status.md
│ │ ├── create-pr.md
│ │ └── extract-webhook-variables.md
│ ├── images
│ │ ├── commit-status
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ ├── create-pr
│ │ │ └── Dockerfile
│ │ └── extract-webhook-variables
│ │ │ ├── Dockerfile
│ │ │ └── parse_github_payload.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.3
│ ├── README.md
│ ├── docs
│ │ ├── commit-status.md
│ │ ├── create-pr-comment.md
│ │ ├── create-pr.md
│ │ └── extract-webhook-variables.md
│ ├── images
│ │ ├── commit-status
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ ├── create-pr-comment
│ │ │ └── Dockerfile
│ │ ├── create-pr
│ │ │ └── Dockerfile
│ │ └── extract-webhook-variables
│ │ │ ├── Dockerfile
│ │ │ └── parse_github_payload.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 0.0.4
│ ├── README.md
│ ├── docs
│ │ ├── commit-status.md
│ │ ├── create-pr-codefresh.md
│ │ ├── create-pr-comment.md
│ │ ├── create-pr.md
│ │ └── extract-webhook-variables.md
│ ├── images
│ │ ├── commit-status
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ ├── create-pr-codefresh
│ │ │ ├── .eslintrc.js
│ │ │ ├── .gitignore
│ │ │ ├── .nvmrc
│ │ │ ├── Dockerfile
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ │ ├── configuration
│ │ │ │ │ └── index.ts
│ │ │ │ ├── constants
│ │ │ │ │ └── index.ts
│ │ │ │ ├── factory.ts
│ │ │ │ ├── main.ts
│ │ │ │ ├── providers
│ │ │ │ │ ├── bitbucket
│ │ │ │ │ │ ├── bitbucket.service.ts
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── github
│ │ │ │ │ │ ├── github.service.ts
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── gitlab
│ │ │ │ │ │ ├── gitlab.service.ts
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── interface.ts
│ │ │ │ └── util
│ │ │ │ │ └── index.ts
│ │ │ ├── tsconfig.build.json
│ │ │ ├── tsconfig.json
│ │ │ └── yarn.lock
│ │ ├── create-pr-comment
│ │ │ └── Dockerfile
│ │ ├── create-pr
│ │ │ └── Dockerfile
│ │ └── extract-webhook-variables
│ │ │ ├── Dockerfile
│ │ │ └── parse_github_payload.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ └── 0.0.5
│ ├── README.md
│ ├── docs
│ ├── commit-status.md
│ ├── create-pr-codefresh.md
│ ├── create-pr-comment.md
│ ├── create-pr.md
│ └── extract-webhook-variables.md
│ ├── images
│ ├── commit-status
│ │ ├── Dockerfile
│ │ ├── index.js
│ │ └── package.json
│ ├── create-pr-codefresh
│ │ ├── .eslintrc.js
│ │ ├── .gitignore
│ │ ├── .nvmrc
│ │ ├── Dockerfile
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── configuration
│ │ │ │ └── index.ts
│ │ │ ├── constants
│ │ │ │ └── index.ts
│ │ │ ├── factory.ts
│ │ │ ├── main.ts
│ │ │ ├── providers
│ │ │ │ ├── bitbucket
│ │ │ │ │ ├── bitbucket.service.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── github
│ │ │ │ │ ├── github.service.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── gitlab
│ │ │ │ │ ├── gitlab.service.ts
│ │ │ │ │ └── index.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── interface.ts
│ │ │ └── util
│ │ │ │ └── index.ts
│ │ ├── tsconfig.build.json
│ │ ├── tsconfig.json
│ │ └── yarn.lock
│ ├── create-pr-comment
│ │ └── Dockerfile
│ ├── create-pr
│ │ └── Dockerfile
│ └── extract-webhook-variables
│ │ ├── Dockerfile
│ │ └── parse_github_payload.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── gitlab
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ ├── commit-status.md
│ ├── create-pr-comment.md
│ ├── create-pr.md
│ └── extract-webhook-variables.md
│ ├── images
│ ├── commit-status
│ │ ├── Dockerfile
│ │ ├── index.js
│ │ ├── package-lock.json
│ │ └── package.json
│ ├── create-pr-comment
│ │ └── Dockerfile
│ ├── create-pr
│ │ └── Dockerfile
│ └── extract-webhook-variables
│ │ ├── Dockerfile
│ │ ├── index.js
│ │ ├── package-lock.json
│ │ └── package.json
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── gitops-promotion
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ ├── promote-from-src-to-dest-env-s3.md
│ ├── promote-from-src-to-dest-env.md
│ ├── promote-to-env-s3.md
│ └── promote-to-env.md
│ ├── images
│ └── gitops-promotion
│ │ ├── Dockerfile
│ │ └── promote.sh
│ ├── pull_request_template.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── jira
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ ├── create-comment.md
│ ├── create-issue.md
│ ├── issue-transition-status-and-update.md
│ ├── issue-transition-status.md
│ ├── issue-verify-status-from-jql.md
│ ├── issue-verify-status.md
│ ├── update-all-from-jql.md
│ ├── update-comment.md
│ └── update-issue.md
│ ├── images
│ └── jira-manager
│ │ ├── Dockerfile
│ │ └── lib
│ │ ├── jira_issue_manager.py
│ │ └── step_utility.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── kaniko
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ └── build.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── kics
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ └── 0.0.1
│ ├── README.md
│ ├── docs
│ ├── kics-scan-report.md
│ └── kics-scan.md
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── port
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ ├── 1.0.0
│ ├── README.md
│ ├── docs
│ │ ├── entity-get.md
│ │ └── entity-upsert.md
│ ├── images
│ │ └── codefresh-port-entity
│ │ │ ├── .dockerignore
│ │ │ ├── .eslintignore
│ │ │ ├── .eslintrc.json
│ │ │ ├── .gitignore
│ │ │ ├── .prettierignore
│ │ │ ├── .prettierrc.js
│ │ │ ├── Dockerfile
│ │ │ ├── package-lock.json
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── EntityGetterOperation
│ │ │ │ └── EntityGetterOperation.ts
│ │ │ ├── EntityUpserterOperation
│ │ │ │ └── EntityUpserterOperation.ts
│ │ │ ├── OutputsWriter
│ │ │ │ └── OutputsWriter.ts
│ │ │ ├── clients
│ │ │ │ ├── index.ts
│ │ │ │ └── port
│ │ │ │ │ ├── getEntity.ts
│ │ │ │ │ ├── getToken.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── upsertEntity.ts
│ │ │ ├── consts.ts
│ │ │ ├── index.ts
│ │ │ ├── main.ts
│ │ │ └── types.ts
│ │ │ └── tsconfig.json
│ ├── portCredentials.yml
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ └── 1.1.0
│ ├── README.md
│ ├── docs
│ ├── entity-get.md
│ └── entity-upsert.md
│ ├── images
│ └── codefresh-port-entity
│ │ ├── .dockerignore
│ │ ├── .eslintignore
│ │ ├── .eslintrc.json
│ │ ├── .gitignore
│ │ ├── .prettierignore
│ │ ├── .prettierrc.js
│ │ ├── Dockerfile
│ │ ├── package-lock.json
│ │ ├── package.json
│ │ ├── src
│ │ ├── EntityGetterOperation
│ │ │ └── EntityGetterOperation.ts
│ │ ├── EntityUpserterOperation
│ │ │ └── EntityUpserterOperation.ts
│ │ ├── OutputsWriter
│ │ │ └── OutputsWriter.ts
│ │ ├── clients
│ │ │ ├── index.ts
│ │ │ └── port
│ │ │ │ ├── getEntity.ts
│ │ │ │ ├── getToken.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── upsertEntity.ts
│ │ ├── consts.ts
│ │ ├── index.ts
│ │ ├── main.ts
│ │ ├── types.ts
│ │ └── utils.ts
│ │ └── tsconfig.json
│ ├── portCredentials.yml
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── servicenow
├── CHANGELOG.md
├── assets
│ ├── cf_token.yaml
│ ├── icon.svg
│ ├── js
│ │ └── approveCodefreshGitOpsWorkflow.js
│ ├── sn_auth.yml
│ └── xml
│ │ ├── ServiceNow-Codefresh_Integration_1.3.0.xml
│ │ └── ServiceNow-Codefresh_Integration_1.3.1.xml
└── versions
│ ├── 1.0.0
│ ├── README.md
│ ├── docs
│ │ ├── closecr.md
│ │ ├── createcr.md
│ │ └── updatecr.md
│ ├── images
│ │ └── integration
│ │ │ ├── Dockerfile
│ │ │ └── snow.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.3.0
│ ├── README.md
│ ├── docs
│ │ ├── closecr.md
│ │ ├── createcr.md
│ │ └── updatecr.md
│ ├── images
│ │ └── integration
│ │ │ ├── Dockerfile
│ │ │ └── snow.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ ├── 1.3.1
│ ├── README.md
│ ├── docs
│ │ ├── closecr.md
│ │ ├── createcr.md
│ │ └── updatecr.md
│ ├── images
│ │ └── integration
│ │ │ ├── Dockerfile
│ │ │ └── snow.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ └── 1.4.0
│ ├── README.md
│ ├── docs
│ ├── closecr.md
│ ├── createcr.md
│ └── updatecr.md
│ ├── images
│ └── integration
│ │ ├── Dockerfile
│ │ └── snow.py
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
├── slack
├── CHANGELOG.md
├── assets
│ └── icon.svg
└── versions
│ ├── 0.0.1
│ ├── README.md
│ ├── docs
│ │ └── send-message.md
│ ├── images
│ │ └── send-message
│ │ │ ├── .eslintrc.json
│ │ │ ├── .gitignore
│ │ │ ├── Dockerfile
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ ├── src
│ │ │ ├── mode
│ │ │ │ ├── default-template.js
│ │ │ │ ├── index.js
│ │ │ │ ├── simple.js
│ │ │ │ └── template.js
│ │ │ └── slack-api.js
│ │ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
│ └── 0.0.2
│ ├── README.md
│ ├── docs
│ ├── post-to-channel.md
│ └── send-message.md
│ ├── images
│ ├── post-to-channel
│ │ ├── .gitignore
│ │ ├── Dockerfile
│ │ └── lib
│ │ │ └── slack.py
│ └── send-message
│ │ ├── .eslintrc.json
│ │ ├── .gitignore
│ │ ├── Dockerfile
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── src
│ │ ├── mode
│ │ │ ├── default-template.js
│ │ │ ├── index.js
│ │ │ ├── simple.js
│ │ │ └── template.js
│ │ └── slack-api.js
│ │ └── yarn.lock
│ ├── rbac.yaml
│ └── workflowTemplate.yaml
└── sonar
├── CHANGELOG.md
├── assets
└── icon.svg
└── versions
└── 0.0.1
├── README.md
├── docs
└── sonar-scanner.md
├── rbac.yaml
└── workflowTemplate.yaml
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | .vscode
3 |
4 | # js
5 | **/node_modules
6 |
7 | # macOS custom attributes file
8 | .DS_Store
9 |
--------------------------------------------------------------------------------
/CODEOWNERS:
--------------------------------------------------------------------------------
1 | itai@codefresh.io
2 |
3 | /workflows/codefresh-csdp denis@codefresh.io vadim.kharin@codefresh.io eti.zaguri@codefresh.io yaroslav@codefresh.io
4 |
--------------------------------------------------------------------------------
/coming-soon/aqua/icon.svg:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/coming-soon/aqua/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.aqua
5 | annotations:
6 | argo-hub/description: 'Execute operations against Aqua'
7 | argo-hub/categories: 'security'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/aqua/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/bitbucket/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.bitbucket
5 | annotations:
6 | argo-hub/description: 'Execute operations against Bitbucket'
7 | argo-hub/categories: 'git'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/bitbucket/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/checkmarx/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.checkmarx
5 | annotations:
6 | argo-hub/description: 'Execute operations with Checkmarx/kics'
7 | argo-hub/categories: 'security'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/checkmarx/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/datadog/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.datadog
5 | annotations:
6 | argo-hub/description: 'Execute operations against Datadog'
7 | argo-hub/categories: 'monitoring'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/datadog/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/helm/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.helm
5 | annotations:
6 | argo-hub/description: 'Execute operations against Helm'
7 | argo-hub/categories: 'deployment'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/helm/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/heroku/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.heroku
5 | annotations:
6 | argo-hub/description: 'Execute operations against Heroku'
7 | argo-hub/categories: 'deployment'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/heroku/icon.svg"
9 | argo-hub/icon_background: "#333D47"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/kubernetes/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.kubernetes
5 | annotations:
6 | argo-hub/description: 'Execute operations against a Kubernetes cluster'
7 | argo-hub/categories: 'deployment'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/kubernetes/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/monday/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.datadog
5 | annotations:
6 | argo-hub/description: 'Execute operations against Monday'
7 | argo-hub/categories: 'task management'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/monday/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/newrelic/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.newrelic
5 | annotations:
6 | argo-hub/description: 'Execute operations against New Relic'
7 | argo-hub/categories: 'monitoring'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/newrelic/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/npm/icon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/coming-soon/npm/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.npm
5 | annotations:
6 | argo-hub/description: 'Execute npm operations'
7 | argo-hub/categories: 'registry,node'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/npm/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/rollbar/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.rollbar
5 | annotations:
6 | argo-hub/description: 'Execute operations against Rollbar'
7 | argo-hub/categories: 'monitoring'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/rollbar/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/sendgrid/icn.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/coming-soon/sendgrid/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.sendgrid
5 | annotations:
6 | argo-hub/description: 'Execute operations against Sendgrid'
7 | argo-hub/categories: 'messaging'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/sendgrid/icn.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/snyk/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.snyk
5 | annotations:
6 | argo-hub/description: 'Execute operations against Snyk'
7 | argo-hub/categories: 'security'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/snyk/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/telegram/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.telegram
5 | annotations:
6 | argo-hub/description: 'Execute operations against Telegram'
7 | argo-hub/categories: 'messaging'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/telegram/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/twilio/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.twilio
5 | annotations:
6 | argo-hub/description: 'Execute operations against twilio'
7 | argo-hub/categories: 'messaging,sms'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/twilio/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/webhook/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.webhook
5 | annotations:
6 | argo-hub/description: 'Execute generic webhooks'
7 | argo-hub/categories: 'webhook'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/webhook/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/whitesource/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.whitesource
5 | annotations:
6 | argo-hub/description: 'Execute operations against WhiteSource'
7 | argo-hub/categories: 'security'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/whitesource/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/coming-soon/yarn/workflowTemplate.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: argoproj.io/v1alpha1
2 | kind: WorkflowTemplate
3 | metadata:
4 | name: argo-hub.yarn
5 | annotations:
6 | argo-hub/description: 'Execute yarn operations'
7 | argo-hub/categories: 'registry,node'
8 | argo-hub/icon_url: "https://cdn.jsdelivr.net/gh/codefresh-io/argo-hub@main/coming-soon/yarn/icon.svg"
9 | argo-hub/icon_background: "#f4f4f4"
10 | spec:
11 | templates: []
12 |
--------------------------------------------------------------------------------
/examples/ci-simple/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (24.01.2022)
4 |
5 | ### ci simple
6 |
7 | This CI pipeline builds a docker image using Kaniko, uploads image metadata to CSDP, and tests the image
8 |
9 |
--------------------------------------------------------------------------------
/examples/ci-simple/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Ci Simple
2 |
3 | ## Summary
4 |
5 | This Workflow Template is used to create your first CI pipeline in CSDP
6 | ## Templates
7 |
8 | 1. [ci-tasks](https://github.com/codefresh-io/argo-hub/blob/main/examples/ci-simple/versions/0.0.1/docs/ci-tasks.md)
9 | 2. [test](https://github.com/codefresh-io/argo-hub/blob/main/examples/ci-simple/versions/0.0.1/docs/test.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/examples/ci-simple/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/examples/failure-notification/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (2022.09.30)
4 |
5 | ### failure notification
6 |
7 | This Workflow Template is an example of parsing and sending a slack notification on failure of a workflow.
8 |
--------------------------------------------------------------------------------
/examples/failure-notification/assets/icon.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codefresh-io/argo-hub/10e130a7531dff9cd8730aae9e49076d067f1718/examples/failure-notification/assets/icon.webp
--------------------------------------------------------------------------------
/examples/failure-notification/assets/slack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codefresh-io/argo-hub/10e130a7531dff9cd8730aae9e49076d067f1718/examples/failure-notification/assets/slack.png
--------------------------------------------------------------------------------
/examples/failure-notification/assets/workflow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codefresh-io/argo-hub/10e130a7531dff9cd8730aae9e49076d067f1718/examples/failure-notification/assets/workflow.png
--------------------------------------------------------------------------------
/examples/failure-notification/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Failure Notification
2 |
3 | ## Summary
4 |
5 | This Workflow Template is an example of parsing and sending a slack notification on failure of a worklow.
6 |
7 | ## Templates
8 |
9 | 1. [failure-notification](https://github.com/codefresh-io/argo-hub/blob/main/examples/failure-notification/versions/0.0.1/docs/failure-notification.md)
10 |
11 | ## Security
12 |
13 | This utilizes the codefresh-sa service account that is available with the codefresh hybrid installation. Also, the service account from the Slack Notification worklow.
14 |
--------------------------------------------------------------------------------
/examples/failure-notification/versions/0.0.1/docs/intentional-fail.md:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/examples/failure-notification/versions/0.0.1/docs/parse-info.md:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/examples/jira-sonar/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 7/19/2022
4 |
5 | This CI pipeline is a workflow template that goes through testing, sonar scanning and deployment all while updating a Jira.
6 |
--------------------------------------------------------------------------------
/examples/jira-sonar/versions/0.0.1/docs/rollout-10.md:
--------------------------------------------------------------------------------
1 | # rollout-10
--------------------------------------------------------------------------------
/examples/jira-sonar/versions/0.0.1/docs/rollout-100.md:
--------------------------------------------------------------------------------
1 | # rollout-100
--------------------------------------------------------------------------------
/examples/jira-sonar/versions/0.0.1/docs/rollout-33.md:
--------------------------------------------------------------------------------
1 | # rollout-33
--------------------------------------------------------------------------------
/examples/jira-sonar/versions/0.0.1/docs/test.md:
--------------------------------------------------------------------------------
1 | # test
--------------------------------------------------------------------------------
/examples/post-promotion-starter/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.2 (16.09.2024)
4 |
5 | ### post-promotion-starter
6 |
7 | Update parameters and add service account name
8 |
9 |
10 | ## v0.0.1 (12.05.2024)
11 |
12 | ### post-promotion-starter
13 |
14 | This Workflow Template is an example of a post-promotion workflow that uses a script template to display application details, commit information, and the Argo CD host, taking these parameters from the promotion flow process.
15 |
--------------------------------------------------------------------------------
/examples/starter-manual-sync/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 |
4 | ## v0.0.2 (18.08.2024)
5 |
6 | ### starter-manual-sync
7 |
8 | Add annotations to the workflow
9 |
10 |
11 | ## v0.0.1 (27.12.2023)
12 |
13 | ### starter-manual-sync
14 |
15 | This Workflow Template is an example for post promotion workflow that sync, wait and send a slack message once the app is synced
16 |
17 |
--------------------------------------------------------------------------------
/examples/starter-manual-sync/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # starter manual sync
2 |
3 | ## Summary
4 |
5 | This Workflow Template is an example for post promotion workflow that sync, wait and send a slack message once the app is synced
6 | ## Templates
7 |
8 | 1. [starter-manual-sync](https://github.com/codefresh-io/argo-hub/blob/main/examples/starter-manual-sync/versions/0.0.1/docs/starter-manual-sync.md)
9 |
10 | ## Security
11 |
12 | Minimal required permissions
13 |
14 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/examples/starter-manual-sync/versions/0.0.1/rbac.yaml)
15 |
--------------------------------------------------------------------------------
/examples/starter-manual-sync/versions/0.0.2/README.md:
--------------------------------------------------------------------------------
1 | # starter manual sync
2 |
3 | ## Summary
4 |
5 | This Workflow Template is an example for post promotion workflow that sync, wait and send a slack message once the app is synced
6 | ## Templates
7 |
8 | 1. [starter-manual-sync](https://github.com/codefresh-io/argo-hub/blob/main/examples/starter-manual-sync/versions/0.0.1/docs/starter-manual-sync.md)
9 |
10 | ## Security
11 |
12 | Minimal required permissions
13 |
14 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/examples/starter-manual-sync/versions/0.0.1/rbac.yaml)
15 |
--------------------------------------------------------------------------------
/examples/time-of-day/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 30th September 2022
4 |
5 | Initial version of the time-of-day check, which can be used to fork the path of a workflow depending on the time of day. This supports definding the time of day and filtering by day of the week, timezone and inverting the selection window.
6 |
--------------------------------------------------------------------------------
/examples/time-of-day/assets/icon-credit.md:
--------------------------------------------------------------------------------
1 | https://www.svgrepo.com/svg/6763/time-planning
2 |
3 | CC0 License
4 |
--------------------------------------------------------------------------------
/examples/time-of-day/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Time of Day Check
2 |
3 | ## Summary
4 |
5 | This workflow is an example of a pipeline that checks to see if the current time is within a specified time window. Depending on the result, the workflow can then fork. This can be used, for example, to ensure that production deployments are limited to specific days of the week and times of the day; to limit notification methods depending on the time of day etc
6 |
7 | ## Templates
8 |
9 | 1. [time-of-day](https://github.com/codefresh-io/argo-hub/blob/main/examples/time-of-day/versions/0.0.1/docs/time-of-day.md)
10 |
--------------------------------------------------------------------------------
/examples/time-of-day/versions/0.0.1/docs/example-workflow.md:
--------------------------------------------------------------------------------
1 | # example-workflow
2 | Placeholder
3 |
--------------------------------------------------------------------------------
/examples/time-of-day/versions/0.0.1/docs/whalesay-template.md:
--------------------------------------------------------------------------------
1 | # whalesay-template
2 |
3 | placeholder to allow pipeline to run
4 |
--------------------------------------------------------------------------------
/examples/upgrade-cluster/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (23.11.2022)
4 |
5 | ### Upgrade Cluster
6 |
7 | A simple workflow to upgrade your cluster
8 |
--------------------------------------------------------------------------------
/examples/upgrade-cluster/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Upgrade Runtime
2 |
3 | ## Summary
4 |
5 | This Workflow Template is used to upgrade a runtime
6 | ## Templates
7 |
8 | 1. [upgrade](https://github.com/codefresh-io/argo-hub/blob/main/examples/upgrade-cluster/versions/0.0.1/docs/upgrade.md)
9 |
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/examples/upgrade-cluster/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/utils/icons/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codefresh-io/argo-hub/10e130a7531dff9cd8730aae9e49076d067f1718/utils/icons/logo.png
--------------------------------------------------------------------------------
/utils/starting-template/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (?)
4 |
5 | ### task
6 |
7 | short description
8 |
--------------------------------------------------------------------------------
/utils/starting-template/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Starting-Template
2 |
3 | ## Summary
4 |
5 | description
6 |
7 | ## Templates
8 |
9 | 1. [task](https://github.com/codefresh-io/argo-hub/blob/main/workflows/starting-template/versions/0.0.1/docs/task.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/starting-template/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/utils/starting-template/versions/0.0.1/docs/task.md:
--------------------------------------------------------------------------------
1 | # task
2 |
3 | ## Summary
4 | Summary
5 |
6 | ## Inputs/Outputs
7 |
8 | ### Inputs
9 | VAR_1 (required) - explanation
10 | VAR_2 (optional) - explanation
11 |
12 | ### Outputs
13 | no outputs
14 |
15 | ## Examples
16 |
17 | ### task Example
18 | ```
19 |
20 | ```
21 |
--------------------------------------------------------------------------------
/utils/starting-template/versions/0.0.1/images/task/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/utils/starting-template/versions/0.0.1/images/task/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-commit-status",
3 | "version": "1.0.0",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "dependencies": {
7 | "lodash": "^4.17.21"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/workflows/argo-workflows-utils/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1
4 |
5 | ### echo
6 |
7 | Print some text
8 |
9 | ### globalize-variable
10 |
11 | Easily expose a new variable globally
12 |
--------------------------------------------------------------------------------
/workflows/argo-workflows/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.2.0 (30.11.2021)
4 |
5 | ### Added terminate-workflow
6 |
7 | A wrapper on top of argo cli terminate operation.
8 |
9 | ## v0.1.0 (20.11.2021)
10 |
11 | ### Added submit-workflow
12 |
13 | A wrapper on top of argo cli submit operation.
14 |
--------------------------------------------------------------------------------
/workflows/argo-workflows/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Argo Workflow
2 |
3 | ## Summary
4 |
5 | A set of templates to allow you to interact with your argo workflow instance.
6 |
7 | ## Templates
8 |
9 | 1. [submit-workflow](https://github.com/codefresh-io/argo-hub/blob/main/workflows/argo-workflows/versions/0.0.1/docs/submit-workflow.md)
10 |
11 | ## Security
12 |
13 | The workflowTemplate requires permissions on all the argo workflow related CRDs including:
14 |
15 | 1. workflows
16 | 2. workflowtemplates
17 |
18 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/argo-workflows/versions/0.0.1/rbac.yaml)
19 |
--------------------------------------------------------------------------------
/workflows/argo-workflows/versions/0.0.3/images/argo-workflow-cli/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:3.15.0
2 |
3 | ARG ARGO_WORKFLOWS_CLI_VERSION=v3.2.6
4 | ARG TARGETARCH
5 |
6 | RUN wget https://github.com/argoproj/argo-workflows/releases/download/$ARGO_WORKFLOWS_CLI_VERSION/argo-linux-${TARGETARCH}.gz \
7 | && gunzip argo-linux-${TARGETARCH}.gz \
8 | && chmod +x argo-linux-${TARGETARCH} \
9 | && mv ./argo-linux-${TARGETARCH} /usr/local/bin/argo
10 |
--------------------------------------------------------------------------------
/workflows/argo-workflows/versions/0.0.4/images/argo-workflow-cli/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:3.15.0
2 |
3 | ARG ARGO_WORKFLOWS_CLI_VERSION=v3.2.6
4 | ARG TARGETARCH
5 |
6 | RUN wget https://github.com/argoproj/argo-workflows/releases/download/$ARGO_WORKFLOWS_CLI_VERSION/argo-linux-${TARGETARCH}.gz \
7 | && gunzip argo-linux-${TARGETARCH}.gz \
8 | && chmod +x argo-linux-${TARGETARCH} \
9 | && mv ./argo-linux-${TARGETARCH} /usr/local/bin/argo
10 |
--------------------------------------------------------------------------------
/workflows/argocd/versions/0.0.1/images/argocd-cli/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:3.15.0
2 |
3 | ARG ARGOCD_CLI_VERSION=v2.1.7
4 |
5 | RUN wget -O /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/$ARGOCD_CLI_VERSION/argocd-linux-amd64 \
6 | && chmod +x /usr/local/bin/argocd
7 |
--------------------------------------------------------------------------------
/workflows/codecov/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 8/10/2022
4 |
5 | Initial Codecov template that sends a code scan report to codecov
6 |
7 | Template includes:
8 |
9 | * codecov-report
10 |
--------------------------------------------------------------------------------
/workflows/codecov/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Starting-Template
2 |
3 | ## Summary
4 |
5 | A template that sends a code scan report to codecov
6 |
7 | ## Templates
8 |
9 |
10 | 1. [codecov-report](https://github.com/codefresh-io/argo-hub/blob/main/workflows/codecov/versions/0.0.1/docs/codecov-report.md)
11 |
12 |
13 | ## Security
14 |
15 | Minimal required permissions
16 |
17 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/codecov/versions/0.0.1/rbac.yaml)
18 |
--------------------------------------------------------------------------------
/workflows/codefresh-classic/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (1.12.2021)
4 |
5 | ### run-pipeline
6 |
7 | A wrapper on top of Codefresh cli run operation.
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-classic/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Codefresh Classic
2 |
3 | ## Summary
4 |
5 | A wrapper on top of the Codefresh CLI run operation. The template provides the easy ability to trigger pipelines.
6 |
7 | ## Templates
8 |
9 | 1. [run-pipeline](https://github.com/codefresh-io/argo-hub/blob/main/workflows/codefresh-classic/versions/0.0.1/docs/run-pipeline.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/codefresh-classic/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Codefresh CSDP
2 |
3 | ## Summary
4 |
5 | A set of templates to operate against Codefresh csdp platform
6 |
7 | ## Templates
8 |
9 | 1. [image-enricher-git](https://github.com/codefresh-io/argo-hub/blob/main/workflows/codefresh-csdp/versions/0.0.1/docs/image-enricher-git.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/codefresh-csp/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/.nvmrc:
--------------------------------------------------------------------------------
1 | 12.18.0
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/README.md:
--------------------------------------------------------------------------------
1 | # git-enricher
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | const prod = require('./prod');
2 | const test = require('./test');
3 |
4 | module.exports = process.env.NODE_ENV === 'test' ? test: prod;
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/pull-request/bitbucket/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Bitbucket {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Bitbucket currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Bitbucket();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/pull-request/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/pull-request/github/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/pull-request/gitlab/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Gitlab {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Gitlab currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Gitlab();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/pull-request/gitlab/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/pull-request/index.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | const strategy = require('./strategy');
4 |
5 | class PullRequest {
6 |
7 | async get() {
8 | const { api, file } = await strategy.getProvider();
9 | try {
10 | return await file.pullRequests();
11 | } catch(e) {
12 | console.log(chalk.yellow(`PRs in event file not found, reason ${e.message}, move to provider api call implementation`));
13 | return await api.pullRequests();
14 | }
15 | }
16 | }
17 | module.exports = new PullRequest();
18 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/util/file.util.js:
--------------------------------------------------------------------------------
1 | const Promise = require('bluebird');
2 | const fs = require('fs');
3 |
4 | class FileUtil {
5 |
6 | async fetchFile(path) {
7 | try {
8 | return JSON.parse(await Promise.fromCallback((cb) => fs.readFile(path, 'utf8', cb)));
9 | } catch(e) {
10 | throw new Error(`${path} file not found`);
11 | }
12 | }
13 |
14 | }
15 |
16 | module.exports = new FileUtil();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/src/variable-exporter.js:
--------------------------------------------------------------------------------
1 | const Exec = require('child_process').exec;
2 |
3 | class VariableExporter {
4 | export(key, value) {
5 | return new Promise((res, rej) => {
6 | Exec(`echo ${key}=${value} >> /codefresh/volume/env_vars_to_export`, (err) => {
7 | if (err) {
8 | rej(new Error(`Fail to set export variable, cause: ${err.message}`));
9 | }
10 |
11 | res();
12 | });
13 | });
14 | }
15 | }
16 | module.exports = new VariableExporter();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.1/images/image-enricher-git/tests/bitbucket.test.js:
--------------------------------------------------------------------------------
1 | const file = require('../src/pull-request/bitbucket/file');
2 |
3 | test('should be able retrieve prs from bitbucket event file', async () => {
4 | const prs = await file.pullRequests();
5 | const pr = {"number":3,"title":"v4","url":"https://bitbucket.org/vadpasseka/iremember/pull-requests/3"};
6 | expect(prs[0]).toStrictEqual(pr);
7 | });
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 12.18.0
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | const prod = require('./prod');
2 | const test = require('./test');
3 |
4 | module.exports = process.env.NODE_ENV === 'test' ? test: prod;
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/pull-request/bitbucket/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Bitbucket {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Bitbucket currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Bitbucket();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/pull-request/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/pull-request/github/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/pull-request/gitlab/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Gitlab {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Gitlab currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Gitlab();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/pull-request/gitlab/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/pull-request/index.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | const strategy = require('./strategy');
4 |
5 | class PullRequest {
6 |
7 | async get() {
8 | const { api, file } = await strategy.getProvider();
9 | try {
10 | return await file.pullRequests();
11 | } catch(e) {
12 | console.log(chalk.yellow(`PRs in event file not found, reason ${e.message}, move to provider api call implementation`));
13 | return await api.pullRequests();
14 | }
15 | }
16 | }
17 | module.exports = new PullRequest();
18 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/util/file.util.js:
--------------------------------------------------------------------------------
1 | const Promise = require('bluebird');
2 | const fs = require('fs');
3 |
4 | class FileUtil {
5 |
6 | async fetchFile(path) {
7 | try {
8 | return JSON.parse(await Promise.fromCallback((cb) => fs.readFile(path, 'utf8', cb)));
9 | } catch(e) {
10 | throw new Error(`${path} file not found`);
11 | }
12 | }
13 |
14 | }
15 |
16 | module.exports = new FileUtil();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/src/variable-exporter.js:
--------------------------------------------------------------------------------
1 | const Exec = require('child_process').exec;
2 |
3 | class VariableExporter {
4 | export(key, value) {
5 | return new Promise((res, rej) => {
6 | Exec(`echo ${key}=${value} >> /codefresh/volume/env_vars_to_export`, (err) => {
7 | if (err) {
8 | rej(new Error(`Fail to set export variable, cause: ${err.message}`));
9 | }
10 |
11 | res();
12 | });
13 | });
14 | }
15 | }
16 | module.exports = new VariableExporter();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-git-info/tests/bitbucket.test.js:
--------------------------------------------------------------------------------
1 | const file = require('../src/pull-request/bitbucket/file');
2 |
3 | test('should be able retrieve prs from bitbucket event file', async () => {
4 | const prs = await file.pullRequests();
5 | const pr = {"number":3,"title":"v4","url":"https://bitbucket.org/vadpasseka/iremember/pull-requests/3"};
6 | expect(prs[0]).toStrictEqual(pr);
7 | });
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.2/images/image-enricher-jira-info/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | apiToken: process.env.CF_API_KEY,
3 | host: process.env.CF_URL || 'https://g.codefresh.io',
4 | projectName: process.env.JIRA_PROJECT_PREFIX,
5 | message: process.env.MESSAGE,
6 | jira: {
7 | host: process.env.JIRA_HOST,
8 | basic_auth: {
9 | email: process.env.JIRA_EMAIL,
10 | api_token: process.env.JIRA_API_TOKEN
11 | },
12 | context: process.env.JIRA_CONTEXT,
13 | },
14 | image: process.env.IMAGE,
15 | failOnNotFound: process.env.FAIL_ON_NOT_FOUND
16 | };
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 12.18.0
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | const prod = require('./prod');
2 | const test = require('./test');
3 |
4 | module.exports = process.env.NODE_ENV === 'test' ? test: prod;
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/pull-request/bitbucket/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Bitbucket {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Bitbucket currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Bitbucket();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/pull-request/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/pull-request/github/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/pull-request/gitlab/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Gitlab {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Gitlab currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Gitlab();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/pull-request/gitlab/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/pull-request/index.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | const strategy = require('./strategy');
4 |
5 | class PullRequest {
6 |
7 | async get() {
8 | const { api, file } = await strategy.getProvider();
9 | try {
10 | return await file.pullRequests();
11 | } catch(e) {
12 | console.log(chalk.yellow(`PRs in event file not found, reason ${e.message}, move to provider api call implementation`));
13 | return await api.pullRequests();
14 | }
15 | }
16 | }
17 | module.exports = new PullRequest();
18 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/util/file.util.js:
--------------------------------------------------------------------------------
1 | const Promise = require('bluebird');
2 | const fs = require('fs');
3 |
4 | class FileUtil {
5 |
6 | async fetchFile(path) {
7 | try {
8 | return JSON.parse(await Promise.fromCallback((cb) => fs.readFile(path, 'utf8', cb)));
9 | } catch(e) {
10 | throw new Error(`${path} file not found`);
11 | }
12 | }
13 |
14 | }
15 |
16 | module.exports = new FileUtil();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/src/variable-exporter.js:
--------------------------------------------------------------------------------
1 | const Exec = require('child_process').exec;
2 |
3 | class VariableExporter {
4 | export(key, value) {
5 | return new Promise((res, rej) => {
6 | Exec(`echo ${key}=${value} >> /codefresh/volume/env_vars_to_export`, (err) => {
7 | if (err) {
8 | rej(new Error(`Fail to set export variable, cause: ${err.message}`));
9 | }
10 |
11 | res();
12 | });
13 | });
14 | }
15 | }
16 | module.exports = new VariableExporter();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-git-info/tests/bitbucket.test.js:
--------------------------------------------------------------------------------
1 | const file = require('../src/pull-request/bitbucket/file');
2 |
3 | test('should be able retrieve prs from bitbucket event file', async () => {
4 | const prs = await file.pullRequests();
5 | const pr = {"number":3,"title":"v4","url":"https://bitbucket.org/vadpasseka/iremember/pull-requests/3"};
6 | expect(prs[0]).toStrictEqual(pr);
7 | });
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/image-enricher-jira-info/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | apiToken: process.env.CF_API_KEY,
3 | host: process.env.CF_URL || 'https://g.codefresh.io',
4 | projectName: process.env.JIRA_PROJECT_PREFIX,
5 | message: process.env.MESSAGE,
6 | jira: {
7 | host: process.env.JIRA_HOST,
8 | basic_auth: {
9 | email: process.env.JIRA_EMAIL,
10 | api_token: process.env.JIRA_API_TOKEN
11 | },
12 | context: process.env.JIRA_CONTEXT,
13 | },
14 | image: process.env.IMAGE,
15 | failOnNotFound: process.env.FAIL_ON_NOT_FOUND
16 | };
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.3/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.0",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "devDependencies": {
7 | "lodash": "^4.17.21",
8 | "nodegistry": "^1.1.0",
9 | "graphql-request": "^3.7.0",
10 | "graphql": "^16.1.0"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 12.18.0
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | const prod = require('./prod');
2 | const test = require('./test');
3 |
4 | module.exports = process.env.NODE_ENV === 'test' ? test: prod;
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/pull-request/bitbucket/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Bitbucket {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Bitbucket currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Bitbucket();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/pull-request/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/pull-request/github/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/pull-request/gitlab/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Gitlab {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Gitlab currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Gitlab();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/pull-request/gitlab/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/pull-request/index.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | const strategy = require('./strategy');
4 |
5 | class PullRequest {
6 |
7 | async get() {
8 | const { api, file } = await strategy.getProvider();
9 | try {
10 | return await file.pullRequests();
11 | } catch(e) {
12 | console.log(chalk.yellow(`PRs in event file not found, reason ${e.message}, move to provider api call implementation`));
13 | return await api.pullRequests();
14 | }
15 | }
16 | }
17 | module.exports = new PullRequest();
18 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/util/file.util.js:
--------------------------------------------------------------------------------
1 | const Promise = require('bluebird');
2 | const fs = require('fs');
3 |
4 | class FileUtil {
5 |
6 | async fetchFile(path) {
7 | try {
8 | return JSON.parse(await Promise.fromCallback((cb) => fs.readFile(path, 'utf8', cb)));
9 | } catch(e) {
10 | throw new Error(`${path} file not found`);
11 | }
12 | }
13 |
14 | }
15 |
16 | module.exports = new FileUtil();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/src/variable-exporter.js:
--------------------------------------------------------------------------------
1 | const Exec = require('child_process').exec;
2 |
3 | class VariableExporter {
4 | export(key, value) {
5 | return new Promise((res, rej) => {
6 | Exec(`echo ${key}=${value} >> /codefresh/volume/env_vars_to_export`, (err) => {
7 | if (err) {
8 | rej(new Error(`Fail to set export variable, cause: ${err.message}`));
9 | }
10 |
11 | res();
12 | });
13 | });
14 | }
15 | }
16 | module.exports = new VariableExporter();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-git-info/tests/bitbucket.test.js:
--------------------------------------------------------------------------------
1 | const file = require('../src/pull-request/bitbucket/file');
2 |
3 | test('should be able retrieve prs from bitbucket event file', async () => {
4 | const prs = await file.pullRequests();
5 | const pr = {"number":3,"title":"v4","url":"https://bitbucket.org/vadpasseka/iremember/pull-requests/3"};
6 | expect(prs[0]).toStrictEqual(pr);
7 | });
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.4/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.1",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "devDependencies": {
7 | "lodash": "^4.17.21",
8 | "nodegistry": "^1.1.0",
9 | "graphql-request": "^3.7.0",
10 | "graphql": "^16.1.0"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 12.18.0
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | const prod = require('./prod');
2 | const test = require('./test');
3 |
4 | module.exports = process.env.NODE_ENV === 'test' ? test: prod;
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/pull-request/bitbucket/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Bitbucket {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Bitbucket currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Bitbucket();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/pull-request/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/pull-request/github/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/pull-request/gitlab/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Gitlab {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Gitlab currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Gitlab();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/pull-request/gitlab/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/pull-request/index.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | const strategy = require('./strategy');
4 |
5 | class PullRequest {
6 |
7 | async get() {
8 | const { api, file } = await strategy.getProvider();
9 | try {
10 | return await file.pullRequests();
11 | } catch(e) {
12 | console.log(chalk.yellow(`PRs in event file not found, reason ${e.message}, move to provider api call implementation`));
13 | return await api.pullRequests();
14 | }
15 | }
16 | }
17 | module.exports = new PullRequest();
18 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/util/file.util.js:
--------------------------------------------------------------------------------
1 | const Promise = require('bluebird');
2 | const fs = require('fs');
3 |
4 | class FileUtil {
5 |
6 | async fetchFile(path) {
7 | try {
8 | return JSON.parse(await Promise.fromCallback((cb) => fs.readFile(path, 'utf8', cb)));
9 | } catch(e) {
10 | throw new Error(`${path} file not found`);
11 | }
12 | }
13 |
14 | }
15 |
16 | module.exports = new FileUtil();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/src/variable-exporter.js:
--------------------------------------------------------------------------------
1 | const Exec = require('child_process').exec;
2 |
3 | class VariableExporter {
4 | export(key, value) {
5 | return new Promise((res, rej) => {
6 | Exec(`echo ${key}=${value} >> /codefresh/volume/env_vars_to_export`, (err) => {
7 | if (err) {
8 | rej(new Error(`Fail to set export variable, cause: ${err.message}`));
9 | }
10 |
11 | res();
12 | });
13 | });
14 | }
15 | }
16 | module.exports = new VariableExporter();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-git-info/tests/bitbucket.test.js:
--------------------------------------------------------------------------------
1 | const file = require('../src/pull-request/bitbucket/file');
2 |
3 | test('should be able retrieve prs from bitbucket event file', async () => {
4 | const prs = await file.pullRequests();
5 | const pr = {"number":3,"title":"v4","url":"https://bitbucket.org/vadpasseka/iremember/pull-requests/3"};
6 | expect(prs[0]).toStrictEqual(pr);
7 | });
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:12.18.0-stretch
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.5/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "devDependencies": {
7 | "lodash": "^4.17.21",
8 | "nodegistry": "^1.1.0",
9 | "graphql-request": "^3.7.0",
10 | "graphql": "^16.1.0"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 12.18.0
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/configuration/index.js:
--------------------------------------------------------------------------------
1 | const prod = require('./prod');
2 | const test = require('./test');
3 |
4 | module.exports = process.env.NODE_ENV === 'test' ? test: prod;
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/pull-request/bitbucket/api.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class Bitbucket {
4 |
5 | async pullRequests() {
6 | console.log(chalk.yellow(`Bitbucket currently not support for non pr merge event triggers. `));
7 | return [];
8 | }
9 | }
10 | module.exports = new Bitbucket();
11 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/pull-request/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/pull-request/github/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/pull-request/gitlab/index.js:
--------------------------------------------------------------------------------
1 | const api = require('./api');
2 | const file = require('./file');
3 |
4 | module.exports = { api, file };
5 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/pull-request/index.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | const strategy = require('./strategy');
4 |
5 | class PullRequest {
6 |
7 | async get() {
8 | const { api, file } = await strategy.getProvider();
9 | try {
10 | return await file.pullRequests();
11 | } catch(e) {
12 | console.log(chalk.yellow(`PRs in event file not found, reason ${e.message}, move to provider api call implementation`));
13 | return await api.pullRequests();
14 | }
15 | }
16 | }
17 | module.exports = new PullRequest();
18 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/util/file.util.js:
--------------------------------------------------------------------------------
1 | const Promise = require('bluebird');
2 | const fs = require('fs');
3 |
4 | class FileUtil {
5 |
6 | async fetchFile(path) {
7 | try {
8 | return JSON.parse(await Promise.fromCallback((cb) => fs.readFile(path, 'utf8', cb)));
9 | } catch(e) {
10 | throw new Error(`${path} file not found`);
11 | }
12 | }
13 |
14 | }
15 |
16 | module.exports = new FileUtil();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/src/variable-exporter.js:
--------------------------------------------------------------------------------
1 | const Exec = require('child_process').exec;
2 |
3 | class VariableExporter {
4 | export(key, value) {
5 | return new Promise((res, rej) => {
6 | Exec(`echo ${key}=${value} >> /codefresh/volume/env_vars_to_export`, (err) => {
7 | if (err) {
8 | rej(new Error(`Fail to set export variable, cause: ${err.message}`));
9 | }
10 |
11 | res();
12 | });
13 | });
14 | }
15 | }
16 | module.exports = new VariableExporter();
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-git-info/tests/bitbucket.test.js:
--------------------------------------------------------------------------------
1 | const file = require('../src/pull-request/bitbucket/file');
2 |
3 | test('should be able retrieve prs from bitbucket event file', async () => {
4 | const prs = await file.pullRequests();
5 | const pr = {"number":3,"title":"v4","url":"https://bitbucket.org/vadpasseka/iremember/pull-requests/3"};
6 | expect(prs[0]).toStrictEqual(pr);
7 | });
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/0.0.6/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "engines": {
7 | "node": "14.18.1"
8 | },
9 | "devDependencies": {
10 | "lodash": "^4.17.21",
11 | "nodegistry": "^1.1.0",
12 | "graphql-request": "^3.7.0",
13 | "graphql": "^16.1.0",
14 | "@codefresh-io/docker-reference": "^0.0.11"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 12.18.0
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/src/providers/bitbucket/bitbucker.api.js:
--------------------------------------------------------------------------------
1 | class BitbucketApi {
2 | async searchForPullRequests() {
3 | return [];
4 | }
5 | }
6 | module.exports = new BitbucketApi();
7 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/src/providers/bitbucket/bitbucker.service.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class BitbucketService {
4 |
5 | async getPullRequestsWithCommits() {
6 | console.log(chalk.yellow(`Bitbucket provider hasn't implemented yet`));
7 | return [];
8 | }
9 |
10 | async getBranch() {
11 | console.log(chalk.yellow(`Bitbucket provider hasn't implemented yet`));
12 | return null;
13 | }
14 | }
15 | module.exports = new BitbucketService();
16 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-git-info/tests/bitbucket.test.js:
--------------------------------------------------------------------------------
1 | const file = require('../src/pull-request/bitbucket/file');
2 |
3 | test('should be able retrieve prs from bitbucket event file', async () => {
4 | const prs = await file.pullRequests();
5 | const pr = {"number":3,"title":"v4","url":"https://bitbucket.org/vadpasseka/iremember/pull-requests/3"};
6 | expect(prs[0]).toStrictEqual(pr);
7 | });
8 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package*.json ./
6 |
7 | RUN npm install
8 |
9 | COPY . .
10 |
11 | CMD [ "node", "/app/src/index.js" ]
12 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/report-image-info/.yarnrc copy:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.0.0/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "engines": {
7 | "node": "14.18.1"
8 | },
9 | "devDependencies": {
10 | "@codefresh-io/docker-reference": "^0.0.11",
11 | "graphql": "^16.1.0",
12 | "graphql-request": "^3.7.0",
13 | "lodash": "^4.17.21",
14 | "nodegistry": "^1.1.0"
15 | },
16 | "dependencies": {
17 | "joi": "^17.6.0"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/src/providers/bitbucket/bitbucker.api.js:
--------------------------------------------------------------------------------
1 | class BitbucketApi {
2 | async searchForPullRequests() {
3 | return [];
4 | }
5 | }
6 | module.exports = new BitbucketApi();
7 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/src/providers/bitbucket/bitbucker.service.js:
--------------------------------------------------------------------------------
1 | const chalk = require('chalk');
2 |
3 | class BitbucketService {
4 |
5 | async getPullRequestsWithCommits() {
6 | console.log(chalk.yellow(`Bitbucket provider hasn't implemented yet`));
7 | return [];
8 | }
9 |
10 | async getBranch() {
11 | console.log(chalk.yellow(`Bitbucket provider hasn't implemented yet`));
12 | return null;
13 | }
14 | }
15 | module.exports = new BitbucketService();
16 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.0/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.1.0"
18 | },
19 | "dependencies": {
20 | "joi": "^17.6.0"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/src/providers/bitbucket-server/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucket-server.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.1/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.1.0"
18 | },
19 | "dependencies": {
20 | "joi": "^17.6.0"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-bullseye-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000
13 |
14 | COPY --chown=cfu --chmod=775 . .
15 |
16 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
17 |
18 | USER cfu
19 |
20 | CMD [ "node", "/app/src/index.js" ]
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-git-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-git-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "18.12.1"
10 | },
11 | "dependencies": {
12 | "@codefresh-io/cf-report-image-toolbox": "1.0.19",
13 | "joi": "^17.6.0",
14 | "lodash": "^4.17.21"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-git-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherGitInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting git enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 | if (validationError) {
13 | throw validationError
14 | }
15 |
16 | await imageEnricherGitInfo(inputs)
17 | }
18 |
19 | main();
20 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-bullseye-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000
13 |
14 | COPY --chown=cfu --chmod=775 . .
15 |
16 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
17 |
18 | USER cfu
19 |
20 | CMD [ "node", "/app/src/index.js" ]
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-jira-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-jira-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "18.12.1"
10 | },
11 | "dependencies": {
12 | "@codefresh-io/cf-report-image-toolbox": "1.0.19",
13 | "joi": "^17.6.0"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/image-enricher-jira-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherJiraInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting jira enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 |
13 | if (validationError) {
14 | throw validationError
15 | }
16 |
17 | await imageEnricherJiraInfo(inputs)
18 | }
19 |
20 | main();
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-bullseye-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000
13 |
14 | COPY --chown=cfu --chmod=775 . .
15 |
16 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
17 |
18 | USER cfu
19 |
20 | CMD [ "node", "/app/src/index.js" ]
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.10/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "18.12.1"
11 | },
12 | "dependencies": {
13 | "@codefresh-io/cf-report-image-toolbox": "1.0.19",
14 | "joi": "^17.6.0"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 20.15.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:20.15.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000
13 |
14 | COPY --chown=cfu --chmod=775 . .
15 |
16 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
17 |
18 | USER cfu
19 |
20 | CMD [ "node", "/app/src/index.js" ]
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-git-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-git-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "20.15.0"
10 | },
11 | "resolutions": {
12 | "re2": "1.21.4",
13 | "tough-cookie": "4.1.3",
14 | "semver": "7.5.2"
15 | },
16 | "dependencies": {
17 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
18 | "joi": "^17.6.0",
19 | "lodash": "^4.17.21"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-git-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherGitInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting git enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 | if (validationError) {
13 | throw validationError
14 | }
15 |
16 | await imageEnricherGitInfo(inputs)
17 | }
18 |
19 | main();
20 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 20.15.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:20.15.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000
13 |
14 | COPY --chown=cfu --chmod=775 . .
15 |
16 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
17 |
18 | USER cfu
19 |
20 | CMD [ "node", "/app/src/index.js" ]
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-jira-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-jira-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "20.15.0"
10 | },
11 | "resolutions": {
12 | "re2": "1.21.4",
13 | "tough-cookie": "4.1.3",
14 | "semver": "7.5.2"
15 | },
16 | "dependencies": {
17 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
18 | "joi": "^17.6.0"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/image-enricher-jira-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherJiraInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting jira enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 |
13 | if (validationError) {
14 | throw validationError
15 | }
16 |
17 | await imageEnricherJiraInfo(inputs)
18 | }
19 |
20 | main();
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 20.15.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:20.15.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000
13 |
14 | COPY --chown=cfu --chmod=775 . .
15 |
16 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
17 |
18 | USER cfu
19 |
20 | CMD [ "node", "/app/src/index.js" ]
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.11/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "20.15.0"
11 | },
12 | "resolutions": {
13 | "re2": "1.21.4",
14 | "tough-cookie": "4.1.3",
15 | "semver": "7.5.2"
16 | },
17 | "dependencies": {
18 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
19 | "joi": "^17.6.0"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 22.13.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:22.13.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000 && \
13 | yarn cache clean
14 |
15 | COPY --chown=cfu --chmod=775 . .
16 |
17 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
18 |
19 | USER cfu
20 |
21 | CMD [ "node", "/app/src/index.js" ]
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-git-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-git-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "22.13.0"
10 | },
11 | "resolutions": {
12 | "re2": "1.21.4",
13 | "tough-cookie": "4.1.3",
14 | "semver": "7.5.2"
15 | },
16 | "dependencies": {
17 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
18 | "joi": "^17.6.0",
19 | "lodash": "^4.17.21"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-git-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherGitInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting git enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 | if (validationError) {
13 | throw validationError
14 | }
15 |
16 | await imageEnricherGitInfo(inputs)
17 | }
18 |
19 | main();
20 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 22.13.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:22.13.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000 && \
13 | yarn cache clean
14 |
15 | COPY --chown=cfu --chmod=775 . .
16 |
17 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
18 |
19 | USER cfu
20 |
21 | CMD [ "node", "/app/src/index.js" ]
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-jira-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-jira-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "22.13.0"
10 | },
11 | "resolutions": {
12 | "re2": "1.21.4",
13 | "tough-cookie": "4.1.3",
14 | "semver": "7.5.2"
15 | },
16 | "dependencies": {
17 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
18 | "joi": "^17.6.0"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/image-enricher-jira-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherJiraInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting jira enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 |
13 | if (validationError) {
14 | throw validationError
15 | }
16 |
17 | await imageEnricherJiraInfo(inputs)
18 | }
19 |
20 | main();
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 22.13.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:22.13.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000 && \
13 | yarn cache clean
14 |
15 | COPY --chown=cfu --chmod=775 . .
16 |
17 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
18 |
19 | USER cfu
20 |
21 | CMD [ "node", "/app/src/index.js" ]
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.12/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "22.13.0"
11 | },
12 | "resolutions": {
13 | "re2": "1.21.4",
14 | "tough-cookie": "4.1.3",
15 | "semver": "7.5.2"
16 | },
17 | "dependencies": {
18 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
19 | "joi": "^17.6.0"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 22.14.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:22.14.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000 && \
13 | yarn cache clean
14 |
15 | COPY --chown=cfu --chmod=775 . .
16 |
17 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
18 |
19 | USER cfu
20 |
21 | CMD [ "node", "/app/src/index.js" ]
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-git-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-git-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "22.14.0"
10 | },
11 | "resolutions": {
12 | "re2": "1.21.4",
13 | "tough-cookie": "4.1.3",
14 | "semver": "7.5.2"
15 | },
16 | "dependencies": {
17 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
18 | "joi": "^17.6.0",
19 | "lodash": "^4.17.21"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-git-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherGitInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting git enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 | if (validationError) {
13 | throw validationError
14 | }
15 |
16 | await imageEnricherGitInfo(inputs)
17 | }
18 |
19 | main();
20 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 22.14.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:22.14.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000 && \
13 | yarn cache clean
14 |
15 | COPY --chown=cfu --chmod=775 . .
16 |
17 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
18 |
19 | USER cfu
20 |
21 | CMD [ "node", "/app/src/index.js" ]
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-jira-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-jira-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "22.14.0"
10 | },
11 | "resolutions": {
12 | "re2": "1.21.4",
13 | "tough-cookie": "4.1.3",
14 | "semver": "7.5.2"
15 | },
16 | "dependencies": {
17 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
18 | "joi": "^17.6.0"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/image-enricher-jira-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherJiraInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting jira enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 |
13 | if (validationError) {
14 | throw validationError
15 | }
16 |
17 | await imageEnricherJiraInfo(inputs)
18 | }
19 |
20 | main();
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 22.14.0
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:22.14.0-bookworm-slim
2 |
3 | RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
4 |
5 | WORKDIR /app/
6 |
7 | COPY package.json .
8 | COPY yarn.lock .
9 |
10 | RUN apt-get update && \
11 | apt-get install -y python3 make g++
12 | RUN yarn --prod --network-timeout 3000000 && \
13 | yarn cache clean
14 |
15 | COPY --chown=cfu --chmod=775 . .
16 |
17 | RUN mkdir /cf-outputs && chmod 775 /cf-outputs && chown cfu /cf-outputs
18 |
19 | USER cfu
20 |
21 | CMD [ "node", "/app/src/index.js" ]
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.13/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "22.14.0"
11 | },
12 | "resolutions": {
13 | "re2": "1.21.4",
14 | "tough-cookie": "4.1.3",
15 | "semver": "7.5.2"
16 | },
17 | "dependencies": {
18 | "@codefresh-io/cf-report-image-toolbox": "1.0.22",
19 | "joi": "^17.6.0"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/src/providers/bitbucket-server/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucket-server.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.2/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.1.0"
18 | },
19 | "dependencies": {
20 | "joi": "^17.6.0"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/src/providers/bitbucket-server/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucket-server.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.3/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.1.0"
18 | },
19 | "dependencies": {
20 | "joi": "^17.6.0"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/src/providers/bitbucket-server/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucket-server.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issue = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.4/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.2.4"
18 | },
19 | "dependencies": {
20 | "@aws-sdk/client-sts": "^3.231.0",
21 | "joi": "^17.6.0"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/src/providers/bitbucket-server/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucket-server.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issues = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueIdOrKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueIdOrKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.5/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.2.4"
18 | },
19 | "dependencies": {
20 | "@aws-sdk/client-sts": "^3.231.0",
21 | "joi": "^17.6.0"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/src/providers/bitbucket-server/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucket-server.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issues = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueIdOrKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueIdOrKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.6/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.2.4"
18 | },
19 | "dependencies": {
20 | "@aws-sdk/client-sts": "^3.231.0",
21 | "joi": "^17.6.0"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/src/providers/bitbucket-server/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucket-server.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/src/providers/bitbucket/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./bitbucker.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/src/providers/github/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./github.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-git-info/src/providers/gitlab/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./gitlab.service');
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/image-enricher-jira-info/src/CodefreshJiraClient.js:
--------------------------------------------------------------------------------
1 | const codefreshApi = require('./codefresh.api');
2 |
3 | class CodefreshJiraClient {
4 | constructor(context) {
5 | this.context = context;
6 | this.issues = {
7 | getIssue: this.getIssue.bind(this),
8 | };
9 | }
10 |
11 | async getIssue({ issueIdOrKey }) {
12 | return codefreshApi.getJiraIssue(this.context, issueIdOrKey);
13 | }
14 | }
15 |
16 | module.exports = CodefreshJiraClient;
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.18.1
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN yarn
9 |
10 | COPY . .
11 |
12 | CMD [ "node", "/app/src/index.js" ]
13 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.7/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "14.18.1"
11 | },
12 | "devDependencies": {
13 | "@codefresh-io/docker-reference": "^0.0.11",
14 | "graphql": "^16.1.0",
15 | "graphql-request": "^3.7.0",
16 | "lodash": "^4.17.21",
17 | "nodegistry": "^1.2.4"
18 | },
19 | "dependencies": {
20 | "@aws-sdk/client-sts": "^3.231.0",
21 | "joi": "^17.6.0"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN apk add --update python3 make g++ && \
9 | rm -rf /var/cache/apk/*
10 | RUN yarn --network-timeout 3000000
11 |
12 | COPY . .
13 |
14 | CMD [ "node", "/app/src/index.js" ]
15 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-git-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-git-info",
3 | "version": "0.0.2",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "18.12.1"
10 | },
11 | "dependencies": {
12 | "@codefresh-io/cf-report-image-toolbox": "1.0.5",
13 | "joi": "^17.6.0",
14 | "lodash": "^4.17.21"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-git-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherGitInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting git enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 | if (validationError) {
13 | throw validationError
14 | }
15 |
16 | await imageEnricherGitInfo(inputs)
17 | }
18 |
19 | main();
20 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN apk add --update python3 make g++ && \
9 | rm -rf /var/cache/apk/*
10 | RUN yarn --network-timeout 3000000
11 |
12 | COPY . .
13 |
14 | CMD [ "node", "/app/src/index.js" ]
15 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-jira-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-jira-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "18.12.1"
10 | },
11 | "dependencies": {
12 | "@codefresh-io/cf-report-image-toolbox": "1.0.5",
13 | "joi": "^17.6.0"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/image-enricher-jira-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherJiraInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting jira enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 |
13 | if (validationError) {
14 | throw validationError
15 | }
16 |
17 | await imageEnricherJiraInfo(inputs)
18 | }
19 |
20 | main();
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN apk add --update python3 make g++ && \
9 | rm -rf /var/cache/apk/*
10 | RUN yarn --network-timeout 3000000
11 |
12 | COPY . .
13 |
14 | CMD [ "node", "/app/src/index.js" ]
15 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.8/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "18.12.1"
11 | },
12 | "dependencies": {
13 | "@codefresh-io/cf-report-image-toolbox": "1.0.5",
14 | "joi": "^17.6.0"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-git-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-git-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-git-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN apk add --update python3 make g++ && \
9 | rm -rf /var/cache/apk/*
10 | RUN yarn --network-timeout 3000000
11 |
12 | COPY . .
13 |
14 | CMD [ "node", "/app/src/index.js" ]
15 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-git-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-git-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-git-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-git-info",
3 | "version": "0.0.2",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "18.12.1"
10 | },
11 | "dependencies": {
12 | "@codefresh-io/cf-report-image-toolbox": "1.0.7",
13 | "joi": "^17.6.0",
14 | "lodash": "^4.17.21"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-git-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherGitInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting git enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 | if (validationError) {
13 | throw validationError
14 | }
15 |
16 | await imageEnricherGitInfo(inputs)
17 | }
18 |
19 | main();
20 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-jira-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-jira-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-jira-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN apk add --update python3 make g++ && \
9 | rm -rf /var/cache/apk/*
10 | RUN yarn --network-timeout 3000000
11 |
12 | COPY . .
13 |
14 | CMD [ "node", "/app/src/index.js" ]
15 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-jira-info/README.md:
--------------------------------------------------------------------------------
1 | # image-enricher-jira-info
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-jira-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "image-enricher-jira-info",
3 | "version": "0.0.3",
4 | "private": true,
5 | "scripts": {
6 | "start": "node src/index.js"
7 | },
8 | "engines": {
9 | "node": "18.12.1"
10 | },
11 | "dependencies": {
12 | "@codefresh-io/cf-report-image-toolbox": "1.0.6",
13 | "joi": "^17.6.0"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/image-enricher-jira-info/src/index.js:
--------------------------------------------------------------------------------
1 | const { imageEnricherJiraInfo } = require('@codefresh-io/cf-report-image-toolbox')
2 |
3 | // registering error handler
4 | require('./outputs');
5 |
6 | const configuration = require('./configuration');
7 |
8 | async function main() {
9 | console.log('starting jira enricher')
10 |
11 | const [ validationError, inputs ] = configuration.validateInputs()
12 |
13 | if (validationError) {
14 | throw validationError
15 | }
16 |
17 | await imageEnricherJiraInfo(inputs)
18 | }
19 |
20 | main();
21 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/report-image-info/.nvmrc:
--------------------------------------------------------------------------------
1 | 18.12.1
2 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/report-image-info/.yarnrc:
--------------------------------------------------------------------------------
1 | network-timeout 3000000
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/report-image-info/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:18.12.1-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json .
6 | COPY yarn.lock .
7 |
8 | RUN apk add --update python3 make g++ && \
9 | rm -rf /var/cache/apk/*
10 | RUN yarn --network-timeout 3000000
11 |
12 | COPY . .
13 |
14 | CMD [ "node", "/app/src/index.js" ]
15 |
--------------------------------------------------------------------------------
/workflows/codefresh-csdp/versions/1.1.9/images/report-image-info/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "report-image-info",
3 | "version": "1.0.2",
4 | "main": "src/index.js",
5 | "license": "MIT",
6 | "scripts": {
7 | "start": "node src/index.js"
8 | },
9 | "engines": {
10 | "node": "18.12.1"
11 | },
12 | "dependencies": {
13 | "@codefresh-io/cf-report-image-toolbox": "1.0.5",
14 | "joi": "^17.6.0"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/workflows/cosign/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (9/19/2022)
4 |
5 | ### task
6 |
7 | Cosign sign will sign a referenced docker image and upload the signature to the artifact hub of choice. By default the variables match the ones used in the `kainko` build template.
8 |
--------------------------------------------------------------------------------
/workflows/datree/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 7/27/2022
4 |
5 | Initial Datree template that runs a policy check on a cloned repository
6 |
7 | Template includes:
8 |
9 | * datree-policy-check
10 |
--------------------------------------------------------------------------------
/workflows/datree/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Starting-Template
2 |
3 | ## Summary
4 |
5 | A template that runs a Datree policy check
6 |
7 | ## Templates
8 |
9 |
10 | 1. [datree-policy-check](https://github.com/codefresh-io/argo-hub/blob/main/workflows/datree/versions/0.0.1/docs/datree-policy-check.md)
11 |
12 |
13 | ## Security
14 |
15 | Minimal required permissions
16 |
17 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/datree/versions/0.0.1/rbac.yaml)
18 |
--------------------------------------------------------------------------------
/workflows/git/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (?)
4 | by Vadim Gusev
5 | ### clone-s3
6 | Clone git using argo workflow artifact
7 | ## v0.0.2 (2022-01-16)
8 | by Saffi Hartal
9 | ### clone
10 | Clone git using git cli and output artifact
11 | ### commit
12 | Commit git using git cli and input artifact
13 | ## v0.0.3 (2022-07-14)
14 | ### clone
15 | Add GIT_USERNAME parameter for git clone
16 |
--------------------------------------------------------------------------------
/workflows/git/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # git
2 |
3 | ## Summary
4 |
5 | A set of generics git operations
6 |
7 | ## Templates
8 |
9 | 1. [clone](https://github.com/codefresh-io/argo-hub/blob/main/workflows/git/versions/0.0.1/docs/clone-s3.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/git/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/workflows/github/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.3 (28.03.2022)
4 |
5 | - Add PR comment workflow
6 | - Add `serviceAccount` to all github workflows
7 | - Add example for `create-pr` workflow
8 |
9 | ## v0.0.2 (8.12.2021)
10 |
11 | ### extract-webhook-variables
12 |
13 | Parses the GitHub Event Payload (JSON) and output the most useful payload fields as artifact files.
14 |
15 | ## v0.0.1 (1.12.2021)
16 |
17 | ### commit-status
18 |
19 | Reports a commit status check.
20 |
21 | ### create-pr
22 |
23 | Creates a pull request.
24 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Github
2 |
3 | ## Summary
4 |
5 | A set of templates to perform operations against github
6 |
7 | ## Templates
8 |
9 | 1. [commit-status](https://github.com/codefresh-io/argo-hub/blob/main/workflows/github/versions/0.0.1/docs/commit-status.md)
10 | 2. [create-pr](https://github.com/codefresh-io/argo-hub/blob/main/workflows/github/versions/0.0.1/docs/create-pr.md)
11 |
12 | ## Security
13 |
14 | Minimal required permissions
15 |
16 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/github/versions/0.0.1/rbac.yaml)
17 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.1/images/commit-status/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.1/images/commit-status/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-commit-status",
3 | "version": "1.0.0",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "dependencies": {
7 | "@octokit/rest": "^18.10.0"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.1/images/create-pr/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM golang:alpine
2 |
3 | RUN apk update
4 | RUN apk add git curl
5 | RUN go install github.com/github/hub@latest
6 |
7 | ENTRYPOINT hub
8 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.2/images/commit-status/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.2/images/commit-status/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-commit-status",
3 | "version": "1.0.0",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "dependencies": {
7 | "@octokit/rest": "^18.10.0"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.2/images/create-pr/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM golang:alpine
2 |
3 | RUN apk update
4 | RUN apk add git curl
5 | RUN go install github.com/github/hub@latest
6 |
7 | ENTRYPOINT hub
8 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.2/images/extract-webhook-variables/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.9-slim
2 |
3 | COPY parse_github_payload.py /
4 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.3/images/commit-status/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.3/images/commit-status/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-commit-status",
3 | "version": "1.0.0",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "dependencies": {
7 | "@octokit/rest": "^18.10.0"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.3/images/create-pr-comment/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:3.15
2 |
3 | RUN apk add --no-cache github-cli
4 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.3/images/create-pr/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM golang:alpine
2 |
3 | RUN apk update
4 | RUN apk add git curl
5 | RUN go install github.com/github/hub@latest
6 |
7 | ENTRYPOINT hub
8 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.3/images/extract-webhook-variables/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.9-slim
2 |
3 | COPY parse_github_payload.py /
4 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/commit-status/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/commit-status/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-commit-status",
3 | "version": "1.0.0",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "dependencies": {
7 | "@octokit/rest": "^18.10.0"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/.gitignore:
--------------------------------------------------------------------------------
1 | mapping-definition.json
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/.nvmrc:
--------------------------------------------------------------------------------
1 | v16.13.2
2 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:16.13.2-alpine
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json ./
6 |
7 | COPY yarn.lock ./
8 |
9 | COPY . .
10 |
11 | RUN yarn install --frozen-lockfile
12 |
13 | RUN yarn build
14 |
15 | RUN yarn install --production
16 |
17 | CMD [ "yarn", "start" ]
18 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/constants/index.ts:
--------------------------------------------------------------------------------
1 | export const PR_WORKFLOW_LABEL = 'pr-workflow'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/providers/bitbucket/bitbucket.service.ts:
--------------------------------------------------------------------------------
1 | import { Provider } from '../interface'
2 |
3 | export class BitbucketService implements Provider {
4 |
5 | constructor() {
6 | }
7 |
8 | createPullRequest(): Promise {
9 | throw new Error(`Bitbucket is not supported`)
10 | }
11 |
12 |
13 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/providers/bitbucket/index.ts:
--------------------------------------------------------------------------------
1 | export * from './bitbucket.service'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/providers/github/index.ts:
--------------------------------------------------------------------------------
1 | export * from './github.service'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/providers/gitlab/gitlab.service.ts:
--------------------------------------------------------------------------------
1 | import { Provider } from '../interface'
2 |
3 | export class GitlabService implements Provider {
4 | constructor() {
5 |
6 | }
7 |
8 | createPullRequest(): Promise {
9 | throw new Error(`Gitlab is not supported`)
10 | }
11 |
12 |
13 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/providers/gitlab/index.ts:
--------------------------------------------------------------------------------
1 | export * from './gitlab.service'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/providers/index.ts:
--------------------------------------------------------------------------------
1 | export * from './github'
2 | export * from './gitlab'
3 | export * from './bitbucket'
4 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/providers/interface.ts:
--------------------------------------------------------------------------------
1 | export interface Provider {
2 |
3 | createPullRequest(): Promise
4 |
5 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/src/util/index.ts:
--------------------------------------------------------------------------------
1 | import { promises as fs } from 'fs'
2 | import chalk from 'chalk'
3 |
4 | import { config } from '../configuration'
5 |
6 | export async function writeResult(res: string) {
7 | if (config.outputFilePath) {
8 | await fs.writeFile(config.outputFilePath, res);
9 | console.log(chalk.green(`Pull request url stored successfully`));
10 | } else {
11 | console.log(chalk.yellow(`Output file path was not provided, skipping on store pull request url phase`));
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-codefresh/tsconfig.build.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "exclude": ["node_modules", "dist", "**/*spec.ts"]
4 | }
5 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr-comment/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:3.15
2 |
3 | RUN apk add --no-cache github-cli
4 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/create-pr/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM golang:alpine
2 |
3 | RUN apk update
4 | RUN apk add git curl
5 | RUN go install github.com/github/hub@latest
6 |
7 | ENTRYPOINT hub
8 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.4/images/extract-webhook-variables/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.9-slim
2 |
3 | COPY parse_github_payload.py /
4 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/commit-status/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:16.15.1-stretch-slim
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/commit-status/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "github-commit-status",
3 | "version": "1.0.0",
4 | "main": "diff.js",
5 | "license": "MIT",
6 | "dependencies": {
7 | "@octokit/rest": "^18.10.0"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/.gitignore:
--------------------------------------------------------------------------------
1 | mapping-definition.json
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/.nvmrc:
--------------------------------------------------------------------------------
1 | v16.13.2
2 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:16.15.1-stretch-slim
2 |
3 | WORKDIR /app/
4 |
5 | COPY package.json ./
6 |
7 | COPY yarn.lock ./
8 |
9 | COPY . .
10 |
11 | RUN yarn install --frozen-lockfile
12 |
13 | RUN yarn build
14 |
15 | RUN yarn install --production
16 |
17 | CMD [ "yarn", "start" ]
18 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/constants/index.ts:
--------------------------------------------------------------------------------
1 | export const PR_WORKFLOW_LABEL = 'pr-workflow'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/providers/bitbucket/bitbucket.service.ts:
--------------------------------------------------------------------------------
1 | import { Provider } from '../interface'
2 |
3 | export class BitbucketService implements Provider {
4 |
5 | constructor() {
6 | }
7 |
8 | createPullRequest(): Promise {
9 | throw new Error(`Bitbucket is not supported`)
10 | }
11 |
12 |
13 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/providers/bitbucket/index.ts:
--------------------------------------------------------------------------------
1 | export * from './bitbucket.service'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/providers/github/index.ts:
--------------------------------------------------------------------------------
1 | export * from './github.service'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/providers/gitlab/gitlab.service.ts:
--------------------------------------------------------------------------------
1 | import { Provider } from '../interface'
2 |
3 | export class GitlabService implements Provider {
4 | constructor() {
5 |
6 | }
7 |
8 | createPullRequest(): Promise {
9 | throw new Error(`Gitlab is not supported`)
10 | }
11 |
12 |
13 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/providers/gitlab/index.ts:
--------------------------------------------------------------------------------
1 | export * from './gitlab.service'
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/providers/index.ts:
--------------------------------------------------------------------------------
1 | export * from './github'
2 | export * from './gitlab'
3 | export * from './bitbucket'
4 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/providers/interface.ts:
--------------------------------------------------------------------------------
1 | export interface Provider {
2 |
3 | createPullRequest(): Promise
4 |
5 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/src/util/index.ts:
--------------------------------------------------------------------------------
1 | import { promises as fs } from 'fs'
2 | import chalk from 'chalk'
3 |
4 | import { config } from '../configuration'
5 |
6 | export async function writeResult(res: string) {
7 | if (config.outputFilePath) {
8 | await fs.writeFile(config.outputFilePath, res);
9 | console.log(chalk.green(`Pull request url stored successfully`));
10 | } else {
11 | console.log(chalk.yellow(`Output file path was not provided, skipping on store pull request url phase`));
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-codefresh/tsconfig.build.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "exclude": ["node_modules", "dist", "**/*spec.ts"]
4 | }
5 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr-comment/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM debian:stable-slim
2 |
3 | RUN apt update -y && apt install curl -y && \
4 | curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && \
5 | chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \
6 | apt update -y && apt install gh -y && \
7 | rm -rf /var/lib/apt/lists/*
8 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/create-pr/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM debian:stable-slim
2 | ARG TARGETARCH
3 | RUN apt update -y && apt install git curl -y && curl -L "https://github.com/mislav/hub/releases/download/v2.14.2/hub-linux-${TARGETARCH}-2.14.2.tgz" --output /tmp/hub.tar.gz && tar -xvf /tmp/hub.tar.gz -C /tmp && mv /tmp/hub-linux-${TARGETARCH}-2.14.2/bin/hub /usr/local/bin/ && rm -rf /tmp/hub* && rm -rf /var/lib/apt/lists/*
4 | ENTRYPOINT hub
5 |
--------------------------------------------------------------------------------
/workflows/github/versions/0.0.5/images/extract-webhook-variables/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.9-slim
2 |
3 | COPY parse_github_payload.py /
4 |
--------------------------------------------------------------------------------
/workflows/gitlab/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## v0.0.1 (27.5.2022)
2 |
3 | ### extract-webhook-variables
4 |
5 | Parses the GitLab Event Payload (JSON) and output the most useful payload fields as artifact files.
6 |
7 | ### create-pr-comment
8 |
9 | Create a comment on a pull request
10 |
11 | ### commit-status
12 |
13 | Reports a commit status check.
14 |
15 | ### create-pr
16 |
17 | Creates a pull request.
18 |
--------------------------------------------------------------------------------
/workflows/gitlab/versions/0.0.1/images/commit-status/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/gitlab/versions/0.0.1/images/commit-status/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "commit-status",
3 | "version": "1.0.0",
4 | "engines": {
5 | "node": "14.18.1"
6 | },
7 | "dependencies": {
8 | "@gitbeaker/node": "^35.6.0"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/workflows/gitlab/versions/0.0.1/images/create-pr-comment/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:3.15
2 |
3 | RUN apk add --no-cache glab
4 |
--------------------------------------------------------------------------------
/workflows/gitlab/versions/0.0.1/images/create-pr/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM alpine:3.15
2 |
3 | RUN apk update
4 | RUN apk add git curl
5 | RUN apk add --no-cache glab
6 |
--------------------------------------------------------------------------------
/workflows/gitlab/versions/0.0.1/images/extract-webhook-variables/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD [ "node", "index.js" ]
19 |
--------------------------------------------------------------------------------
/workflows/gitlab/versions/0.0.1/images/extract-webhook-variables/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "extract-webhook-variables",
3 | "version": "1.0.0",
4 | "engines": {
5 | "node": "14.18.1"
6 | },
7 | "dependencies": {
8 | "lodash": "4.17.21"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/workflows/gitops-promotion/versions/0.0.1/pull_request_template.md:
--------------------------------------------------------------------------------
1 | Fixes # .
2 |
3 | Changes proposed in this PR:
4 | -
5 | -
6 |
7 |
8 |
--------------------------------------------------------------------------------
/workflows/jira/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 6/16/2022
4 |
5 | Initial Jira template.
6 |
7 | Template includes:
8 |
9 | * create comment,
10 | * create issue,
11 | * issue transition status and update,
12 | * issue transition status,
13 | * issue verify status from JQL,
14 | * issue verify status,
15 | * update all from JQL,
16 | * update comment,
17 | * update issue.
18 |
--------------------------------------------------------------------------------
/workflows/jira/versions/0.0.1/images/jira-manager/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.11-rc-alpine3.16
2 |
3 | ENV LANG C.UTF-8
4 |
5 | RUN apk update
6 | RUN apk add gcc
7 | RUN apk add musl-dev
8 | RUN apk add --no-cache libffi libffi-dev
9 |
10 | RUN /usr/local/bin/python -m pip install --upgrade pip
11 | RUN pip3 install --no-cache-dir jira
12 |
13 | COPY lib/. /jira/
14 |
15 | ENTRYPOINT ["python", "/jira_issue_manager.py"]
16 | CMD [""]
17 |
--------------------------------------------------------------------------------
/workflows/kaniko/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (8.12.2021)
4 |
5 | ### build
6 |
7 | Add build docker image template
8 |
--------------------------------------------------------------------------------
/workflows/kaniko/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # kaniko
2 |
3 | ## Summary
4 |
5 | A wrapper on top of the kaniko CLI that allows you to build Docker images.
6 |
7 | ## Templates
8 |
9 | 1. [build](https://github.com/codefresh-io/argo-hub/blob/main/workflows/kaniko/versions/0.0.1/docs/build.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/kaniko/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/workflows/kics/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (09/08/2022)
4 |
5 | ### KICS scan
6 |
7 | Find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development cycle of your infrastructure-as-code with KICS by Checkmarx.
8 |
--------------------------------------------------------------------------------
/workflows/kics/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Starting-Template
2 |
3 | ## Summary
4 |
5 | A set of templates that will help you keep your Infrastructure as Code secure
6 |
7 | ## Templates
8 |
9 | 1. [kics-scan-report](https://github.com/codefresh-io/argo-hub/blob/main/workflows/kics/versions/0.0.1/docs/kics-scan-report.md)
10 | 1. [kics-scan](https://github.com/codefresh-io/argo-hub/blob/main/workflows/kics/versions/0.0.1/docs/kics-scan.md)
11 |
12 | ## Security
13 |
14 | Minimal required permissions
15 |
16 | [Full rbac permissions list](./rbac.yaml)
17 |
--------------------------------------------------------------------------------
/workflows/port/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v1.0.0 (21.12.2022)
4 |
5 | ### entity-get
6 |
7 | Initial commit
8 |
9 | ### entity-upsert
10 |
11 | Initial commit
12 |
13 | ## v1.1.0 (8.02.2022)
14 |
15 | ### entity-upsert
16 |
17 | Add support for team array
18 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/.dockerignore:
--------------------------------------------------------------------------------
1 | **/node_modules
2 | .yarn/*
3 | !.yarn/releases
4 | !.yarn/plugins
5 | **/.dockerignore
6 | **/.git
7 | **/.DS_Store
8 | **/.vscode
9 | **/README.md
10 | **/LICENSE
11 | **/npm-debug.log
12 | **/.env.*.local
13 | **/.editorconfig
14 | **/dist
15 | **/*.pem
16 | Dockerfile
17 | **/.env.test.local
18 | **/*.tsbuildinfo
19 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/.eslintignore:
--------------------------------------------------------------------------------
1 | dist/
2 | lib/
3 | node_modules/
4 | jest.config.ts
5 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/.prettierignore:
--------------------------------------------------------------------------------
1 | dist/
2 | lib/
3 | node_modules/
4 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/.prettierrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | printWidth: 125,
3 | useTabs: true,
4 | singleQuote: true,
5 | trailingComma: 'all',
6 | importOrder: ['', '^[./]'],
7 | importOrderSeparation: true,
8 | importOrderSortSpecifiers: true,
9 | importOrderParserPlugins: ['typescript', 'decorators-legacy'],
10 | };
11 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/src/clients/index.ts:
--------------------------------------------------------------------------------
1 | import port from './port';
2 |
3 | export default {
4 | port,
5 | };
6 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/src/consts.ts:
--------------------------------------------------------------------------------
1 | const API_BASE_URL = 'https://api.getport.io';
2 |
3 | export default API_BASE_URL;
4 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/src/index.ts:
--------------------------------------------------------------------------------
1 | import run from './main';
2 |
3 | run();
4 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/images/codefresh-port-entity/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "@tsconfig/node16/tsconfig.json",
3 | "compilerOptions": {
4 | "resolveJsonModule": true,
5 | "moduleResolution": "node",
6 | "experimentalDecorators": true,
7 | "emitDecoratorMetadata": true,
8 | "rootDir": "src",
9 | "outDir": "lib"
10 | },
11 | "exclude": ["./dist", "node_modules", "jest.config.ts", "./lib"]
12 | }
13 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.0.0/portCredentials.yml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: port-credentials
5 | type: Opaque
6 | data:
7 | PORT_CLIENT_ID: YOUR_CLIENT_ID_AFTER_BASE64_ENCODE
8 | PORT_CLIENT_SECRET: YOUR_CLIENT_SECRET_AFTER_BASE64_ENCODE
9 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/.dockerignore:
--------------------------------------------------------------------------------
1 | **/node_modules
2 | .yarn/*
3 | !.yarn/releases
4 | !.yarn/plugins
5 | **/.dockerignore
6 | **/.git
7 | **/.DS_Store
8 | **/.vscode
9 | **/README.md
10 | **/LICENSE
11 | **/npm-debug.log
12 | **/.env.*.local
13 | **/.editorconfig
14 | **/dist
15 | **/*.pem
16 | Dockerfile
17 | **/.env.test.local
18 | **/*.tsbuildinfo
19 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/.eslintignore:
--------------------------------------------------------------------------------
1 | dist/
2 | lib/
3 | node_modules/
4 | jest.config.ts
5 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/.prettierignore:
--------------------------------------------------------------------------------
1 | dist/
2 | lib/
3 | node_modules/
4 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/.prettierrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | printWidth: 125,
3 | useTabs: true,
4 | singleQuote: true,
5 | trailingComma: 'all',
6 | importOrder: ['', '^[./]'],
7 | importOrderSeparation: true,
8 | importOrderSortSpecifiers: true,
9 | importOrderParserPlugins: ['typescript', 'decorators-legacy'],
10 | };
11 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/src/clients/index.ts:
--------------------------------------------------------------------------------
1 | import port from './port';
2 |
3 | export default {
4 | port,
5 | };
6 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/src/consts.ts:
--------------------------------------------------------------------------------
1 | const API_BASE_URL = 'https://api.getport.io';
2 |
3 | export default API_BASE_URL;
4 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/src/index.ts:
--------------------------------------------------------------------------------
1 | import run from './main';
2 |
3 | run();
4 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/src/utils.ts:
--------------------------------------------------------------------------------
1 | // This function is used to maintain backwards compatibility with the older version of Port-API
2 | // and the Codefresh workflow template which supported a single team provided as a string
3 | function parseTeamInput(testString: string) {
4 | if (!testString.includes('[') && testString != '') {
5 | return [`"${testString}"`];
6 | }
7 | return testString === '' ? ['[', ']'].join('') : JSON.stringify(JSON.parse(testString)).split('\n').join('');
8 | }
9 |
10 | export default parseTeamInput;
11 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/images/codefresh-port-entity/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "@tsconfig/node16/tsconfig.json",
3 | "compilerOptions": {
4 | "resolveJsonModule": true,
5 | "moduleResolution": "node",
6 | "experimentalDecorators": true,
7 | "emitDecoratorMetadata": true,
8 | "rootDir": "src",
9 | "outDir": "lib"
10 | },
11 | "exclude": ["./dist", "node_modules", "jest.config.ts", "./lib"]
12 | }
13 |
--------------------------------------------------------------------------------
/workflows/port/versions/1.1.0/portCredentials.yml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: port-credentials
5 | type: Opaque
6 | data:
7 | PORT_CLIENT_ID: YOUR_CLIENT_ID_AFTER_BASE64_ENCODE
8 | PORT_CLIENT_SECRET: YOUR_CLIENT_SECRET_AFTER_BASE64_ENCODE
9 |
--------------------------------------------------------------------------------
/workflows/servicenow/assets/cf_token.yaml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: cf-api-key
5 | type: Opaque
6 | stringData:
7 | token: "642xxxxxxxxxxxxxxxxxdedc.584xxxxxxxxxxxxxxxxxxxxxxxxxefda"
8 |
--------------------------------------------------------------------------------
/workflows/servicenow/assets/sn_auth.yml:
--------------------------------------------------------------------------------
1 | apiVersion: v1
2 | kind: Secret
3 | metadata:
4 | name: sn-auth
5 | type: Opaque
6 | stringData:
7 | username:
8 | password:
9 |
--------------------------------------------------------------------------------
/workflows/servicenow/versions/1.0.0/images/integration/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.11.0a7-alpine3.15
2 | RUN pip3 install requests
3 |
4 | COPY ./snow.py /snow/snow.py
5 | ENTRYPOINT [ "python3", "/snow/snow.py" ]
6 |
--------------------------------------------------------------------------------
/workflows/servicenow/versions/1.3.0/images/integration/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.11.5-slim-bookworm
2 | RUN pip3 install requests
3 |
4 | COPY ./snow.py /snow/snow.py
5 | ENTRYPOINT [ "python3", "/snow/snow.py" ]
6 |
--------------------------------------------------------------------------------
/workflows/servicenow/versions/1.3.1/images/integration/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.11.5-slim-bookworm
2 | RUN pip3 install requests
3 |
4 | COPY ./snow.py /snow/snow.py
5 | ENTRYPOINT [ "python3", "/snow/snow.py" ]
6 |
--------------------------------------------------------------------------------
/workflows/servicenow/versions/1.4.0/images/integration/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.11.5-slim-bookworm
2 | RUN pip3 install requests
3 |
4 | COPY ./snow.py /snow/snow.py
5 | ENTRYPOINT [ "python3", "/snow/snow.py" ]
6 |
--------------------------------------------------------------------------------
/workflows/slack/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 (1.12.2021)
4 |
5 | ### send-message
6 |
7 | Send a message to a Slack channel using a hook url
8 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Slack
2 |
3 | ## Summary
4 |
5 | A template that enables you to send messages to a Slack channel using a webhook URL.
6 |
7 | ## Templates
8 |
9 | 1. [send-message](https://github.com/codefresh-io/argo-hub/blob/main/workflows/slack/versions/0.0.1/docs/send-message.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/slack/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.1/images/send-message/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "airbnb-base"
3 | }
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.1/images/send-message/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD ["node", "/usr/src/app/index.js"]
19 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.1/images/send-message/index.js:
--------------------------------------------------------------------------------
1 |
2 | const Mode = require('./src/mode');
3 |
4 | if (!process.env.SLACK_HOOK_URL) {
5 | console.error('SLACK_HOOK_URL env variable should be present');
6 | process.exit(1);
7 | }
8 |
9 | Mode.send(process.env.MODE);
10 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.1/images/send-message/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "slack-notifier",
3 | "version": "0.0.0",
4 | "private": true,
5 | "scripts": {
6 | "start": "node ./bin/www",
7 | "lint": "eslint"
8 | },
9 | "dependencies": {
10 | "lodash": "^4.17.21",
11 | "slack-webhook": "^1.0.0"
12 | },
13 | "devDependencies": {
14 | "eslint": "^4.18.2",
15 | "eslint-config-airbnb": "^17.1.0",
16 | "eslint-config-google": "^0.11.0",
17 | "eslint-plugin-import": "^2.14.0"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.1/images/send-message/src/mode/index.js:
--------------------------------------------------------------------------------
1 |
2 | const SimpleMode = require('./simple');
3 | const TemplateMode = require('./template');
4 | const DefaultTemplateMode = require('./default-template');
5 |
6 |
7 |
8 | class Mode {
9 |
10 | static send(type){
11 | let mode = SimpleMode;
12 | if(type === "template"){
13 | mode = TemplateMode;
14 | }
15 | else if(type === "default-template"){
16 | mode = DefaultTemplateMode;
17 | }
18 | mode.send();
19 | }
20 |
21 | }
22 |
23 | module.exports = Mode;
24 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.2/README.md:
--------------------------------------------------------------------------------
1 | # Slack
2 |
3 | ## Summary
4 |
5 | A template that enables you to send messages to a Slack channel using a webhook URL.
6 |
7 | ## Templates
8 |
9 | 1. [send-message](https://github.com/codefresh-io/argo-hub/blob/main/workflows/slack/versions/0.0.2/docs/send-message.md)
10 | 2. [post-to-channel](docs/post-to-channel.md)
11 |
12 | ## Security
13 |
14 | Minimal required permissions
15 |
16 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/slack/versions/0.0.2/rbac.yaml)
17 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.2/images/post-to-channel/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM python:3.11.0a7-alpine3.15
2 | RUN pip3 install slack_sdk
3 |
4 | COPY lib/slack.py /slack/slack.py
5 | ENTRYPOINT [ "python3", "/slack/slack.py" ]
6 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.2/images/send-message/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "airbnb-base"
3 | }
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.2/images/send-message/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:14.18.1-alpine
2 |
3 | # Create app directory
4 | WORKDIR /usr/src/app
5 |
6 | # Install app dependencies
7 | # A wildcard is used to ensure both package.json AND package-lock.json are copied
8 | # where available (npm@5+)
9 | COPY package*.json ./
10 |
11 | RUN npm install
12 | # If you are building your code for production
13 | # RUN npm ci --only=production
14 |
15 | # Bundle app source
16 | COPY . .
17 |
18 | CMD ["node", "/usr/src/app/index.js"]
19 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.2/images/send-message/index.js:
--------------------------------------------------------------------------------
1 |
2 | const Mode = require('./src/mode');
3 |
4 | if (!process.env.SLACK_HOOK_URL) {
5 | console.error('SLACK_HOOK_URL env variable should be present');
6 | process.exit(1);
7 | }
8 |
9 | Mode.send(process.env.MODE);
10 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.2/images/send-message/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "slack-notifier",
3 | "version": "0.0.0",
4 | "private": true,
5 | "scripts": {
6 | "start": "node ./bin/www",
7 | "lint": "eslint"
8 | },
9 | "dependencies": {
10 | "lodash": "^4.17.21",
11 | "slack-webhook": "^1.0.0"
12 | },
13 | "devDependencies": {
14 | "eslint": "^4.18.2",
15 | "eslint-config-airbnb": "^17.1.0",
16 | "eslint-config-google": "^0.11.0",
17 | "eslint-plugin-import": "^2.14.0"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/workflows/slack/versions/0.0.2/images/send-message/src/mode/index.js:
--------------------------------------------------------------------------------
1 |
2 | const SimpleMode = require('./simple');
3 | const TemplateMode = require('./template');
4 | const DefaultTemplateMode = require('./default-template');
5 |
6 |
7 |
8 | class Mode {
9 |
10 | static send(type){
11 | let mode = SimpleMode;
12 | if(type === "template"){
13 | mode = TemplateMode;
14 | }
15 | else if(type === "default-template"){
16 | mode = DefaultTemplateMode;
17 | }
18 | mode.send();
19 | }
20 |
21 | }
22 |
23 | module.exports = Mode;
24 |
--------------------------------------------------------------------------------
/workflows/sonar/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## v0.0.1 6/17/2022
4 |
5 | Intial commit for sonar template in CSDP.
6 |
7 | Templates include:
8 |
9 | * Sonar scanner
10 |
--------------------------------------------------------------------------------
/workflows/sonar/assets/icon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/workflows/sonar/versions/0.0.1/README.md:
--------------------------------------------------------------------------------
1 | # Starting-Template
2 |
3 | ## Summary
4 |
5 | A template that runs an instance of sonar scanner on a github repository
6 |
7 | ## Templates
8 |
9 | 1. [sonar-scanner](https://github.com/codefresh-io/argo-hub/blob/main/workflows/sonar/versions/0.0.1/docs/sonar-scanner.md)
10 |
11 | ## Security
12 |
13 | Minimal required permissions
14 |
15 | [Full rbac permissions list](https://github.com/codefresh-io/argo-hub/blob/main/workflows/sonar/versions/0.0.1/rbac.yaml)
16 |
--------------------------------------------------------------------------------