Skip to content

Latest commit

 

History

History
666 lines (517 loc) · 24 KB

File metadata and controls

666 lines (517 loc) · 24 KB

REES46 reusable Github Workflows

Deploy nodejs services

jobs:
  build:
    uses: rees46/workflow/.github/workflows/deploy-node-trigger.yaml@master
    with:
      # ...
name required default description
job_name yes `` Jenkins job name
image_tag yes `` Docker image tag
git_branch_name yes `` Git branch name
git_commit yes `` Git commit hash
git_commit_msg yes `` Git commit message
git_commit_author yes `` Git commit author
git_commit_url yes `` Git commit url

Deploy NodeJS services

jobs:
  build:
    uses: rees46/workflow/.github/workflows/deploy-node.yaml@master
    with:
      # ...
name required default description
changeLookUpPath no `` Which service to look for changes and deploy
branch yes `` Git branch name

Deploy PHP services

jobs:
  build:
    uses: rees46/workflow/.github/workflows/deploy-php.yaml@master
    with:
      # ...
name required default description
changeLookUpPath no `` Which service to look for changes and deploy
branch yes `` Git branch name

Deploy Ruby services

jobs:
  build:
    uses: rees46/workflow/.github/workflows/deploy-ruby.yaml@master
    with:
      # ...
name required default description
branch yes `` Git branch name
job_name yes `` Jenkins job name
commit_hash yes `` Github commit hash

Reusable docker publish

jobs:
  build:
    uses: rees46/workflow/.github/workflows/docker-publish.yaml@master
    with:
      # ...
name required default description
packageName no `` Name of the package to publish

Repository synchronization

jobs:
  build:
    uses: rees46/workflow/.github/workflows/repo-sync.yaml@master
    with:
      # ...

Reusable Android SDK publish to Sona

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-android-checks.yaml@master
    with:
      # ...
name required default description
PROPERTIES_FILE no gradle.properties Relative file path for putting in secrets
SIGNING_SECRET_KEY_RING_FILE no com.rees46.key.gpg Location and name for signature file
SIGNING_SECRET_KEY_RING_FILE_LOCATION yes ./personalization-sdk Location and name for signature file
GOOGLE_SERVICES_FILE_LOCATION no sample Location for google services file
GOOGLE_SERVICES_FILE_NAME no google-services.json Name for google services file
GRADLE_VERSION no ``
VARIANT_NAME yes `` REES46 or PersonaClick
URL yes `` GitHub repo URL
MAVEN_REPOSITORY_URL yes `` Maven repository publish to
OSSRH_USERNAME no github-bot@rees46.com

Reusable Android Demo Shop Publish

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-android-google-play-publish.yaml@master
    with:
      # ...
name required default description
githubAppId yes ``
packageName yes ``
aabReleasePath yes ``
propertiesFilePath yes ``

Reusable Android SDK publish to Sona

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-android-publish.yaml@master
    with:
      # ...
name required default description
appId yes `` App ID for committing and pushing
PROPERTIES_FILE no gradle.properties Relative file path for putting in secrets
SIGNING_SECRET_KEY_RING_FILE no com.rees46.key.gpg Location and name for signature file
SIGNING_SECRET_KEY_RING_FILE_LOCATION no ./personalization-sdk Location and name for signature file
GRADLE_VERSION no ``
VARIANT_NAME yes `` REES46 or PersonaClick
URL yes `` GitHub repo URL
MAVEN_REPOSITORY_URL yes `` Maven repository publish to
OSSRH_USERNAME no github-bot@rees46.com

Reusable Android SDK publish to Sona

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-android-release-apk.yaml@master
    with:
      # ...
name required default description
appId yes `` App ID for committing and pushing

Reusable Ruby publish migrated DB

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-auto-merge-pr.yaml@master
    with:
      # ...
name required default description
appId yes `` App token for committing changes

Start Jenkins

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-deploy-docker.yaml@master
    with:
      # ...
name required default description
branch no `` Git branch name
packages yes `` List of packages
tag no `` Docker image tag

Build and Publish Docker Images

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-docker-publish-infrastructure.yaml@master
    with:
      # ...

Reusable docker publish

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-docker-publish.yaml@master
    with:
      # ...
name required default description
node-version no 18 Node version to run this workflow. Default: 18 as it is in action cache
changeLookUpPath no `` Which folder to look for changes and publish
branch yes `` Git branch name

Reusable infrastructure checks ansible

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-checks-ansible.yaml@master
    with:
      # ...
name required default description
ANSIBLE_PATH no ansible

Reusable infrastructure checks elasticsearch

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-checks-elasticsearch.yaml@master
    with:
      # ...

Reusable infrastructure checks HAProxy

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-checks-haproxy.yaml@master
    with:
      # ...

Reusable infrastructure checks k8s

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-checks-k8s.yaml@master
    with:
      # ...
name required default description
PATH yes specs

Reusable infrastructure checks NGINX

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-checks-nginx.yaml@master
    with:
      # ...

Reusable infrastructure checks PGBouncer

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-checks-pgbouncer.yaml@master
    with:
      # ...

Reusable Ansible playbook dry-run

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-manual-ansible-check.yaml@master
    with:
      # ...
name required default description
PLAYBOOK_NAME yes ``
FOLDER yes ``
PLAYBOOKS_PATH yes ``

Reusable Ansible playbook run

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-infrastructure-manual-ansible-run.yaml@master
    with:
      # ...
name required default description
PLAYBOOK_NAME yes ``
FOLDER yes ``
PLAYBOOKS_PATH yes ``

iOS checks

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-ios-checks.yaml@master
    with:
      # ...
name required default description
googleServicesFileLocation no ./DemoApp/REES46Demo/Supporting Files/
googleServicesFileName no GoogleService-Info.plist

iOS publish Swift pacakge and Cocoapods

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-ios-publish.yaml@master
    with:
      # ...
name required default description
appId yes `` App token for committing changes

iOS create release

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-ios-release.yaml@master
    with:
      # ...
name required default description
podSpecFilePath no REES46.podspec File path to podspec file
appId yes `` App token for committing changes

Reusable iOS TestFlight Publish

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-ios-testflight-publish.yaml@master
    with:
      # ...
name required default description
xcworkspace yes ``
scheme yes ``
codeSignIdentity yes ``
developmentTeam yes ``
provisioningProfileSpecifier yes ``

iOS bump version

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-ios-version.yaml@master
    with:
      # ...
name required default description
podSpecFilePath no REES46.podspec File path to podspec file
appId yes `` App token for committing changes

Resuable issue management

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-issue-management.yaml@master
    with:
      # ...
name required default description
retries no 3
projectNumber yes ``
appId yes ``

Reusable JS/TS PR checks

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-js-checks.yaml@master
    with:
      # ...
name required default description
app-id yes `` github app id
node-version no 22 Node version to run this workflow. Default: 19 as it is in action cache
workingDirectory no ./ Working direction for action

Reusable JS/TS Docker

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-js-docker.yaml@master
    with:
      # ...
name required default description
branch no master Working branch
nodeVersion no 20 Node version to run this workflow. Default 20 as it is in action cache
workingDirectory no ./ Where the script should execute
tag no latest Docker tag

Reusable JS/TS version bump & create PR

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-js-publish.yaml@master
    with:
      # ...
name required default description
appId yes `` github app id
node-version no 22 Node version to run this workflow. Default: 19 as it is in action cache
workingDirectory no ./ Working direction for action
exclude no nothing Which workspaces to exclude

Reusable JS/TS version bump & create PR

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-js-version.yaml@master
    with:
      # ...
name required default description
appId yes `` github app id
node-version no 22 Node version to run this workflow. Default: 19 as it is in action cache
workingDirectory no ./ Working direction for action
reviewerUsername no ./ Working direction for action
exclude no . Exclude to bump
checkChanges no true Should run 'yarn --since'?
private no false Should apply only to private?

Reusable version bump

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-multiplatform-version-bump.yaml@master
    with:
      # ...
name required default description
appId yes `` App token for committing changes
reviewerUsername no TorinAsakura Pull request reviewer

Reusable PHP PR checks

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-php-checks.yaml@master
    with:
      # ...

Reusable PHP docker publish

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-php-docker-publish.yaml@master
    with:
      # ...
name required default description
branch yes `` Git branch name

Enforce merge source rule

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-pr-check-only-from-branch.yaml@master
    with:
      # ...
name required default description
allowedBranch yes stage Which branch is allowed to be merged from
allowedTarget no master Which target branch is allowed

Release commit finder

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-release-commit-finder.yaml@master
    with:
      # ...
name required default description
fetchDepth no 2 Checkout fetch depth
commitMessage no feat(release): version Commit message to find
cancelRunIfFound no True Abort workflow execution when the target commit is missing

Reusable Ruby PR checks

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-ruby-checks.yaml@master
    with:
      # ...
name required default description
workingDirectory no ./ Working direction for action
rubyVersion no 2.7.5 Ruby version to use
nodeVersion no 20 Node version to use

Reusable Ruby publish migrated DB

jobs:
  build:
    uses: rees46/workflow/.github/workflows/reusable-ruby-publish-migrated-db.yaml@master
    with:
      # ...
name required default description
workingDirectory no ./ Working direction for action
rubyVersion no 2.7.5 Ruby version to use
nodeVersion no 20 Node version to use