Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • I infra-gcp-provisioning
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Deployment and Operations
  • infra-gcp-provisioning
  • Merge requests
  • !888

[GONRG-6174] DF Release Pipeline improvement

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Danylo Vanin (EPAM) requested to merge GONRG-6174-DF-Release-Pipeline-Improvement into master Feb 04, 2023
  • Overview 2
  • Commits 36
  • Pipelines 53
  • Changes 39

Sample pipeline: https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-gcp-provisioning/-/pipelines/167209

Refactoring of release pipeline that is used for partially automating DF release.

Conditions to run:

  • Running on release branch with SHORT_TAG variable (e.g. 0.19)

How it works:

  1. gather-release-information job uses python script to gather information about release status and artifact versions for each service

The output of the job is json with the following format:

...
    {
        "last_release_branch": "release/0.19",
        "last_release_tag": "-",
        "image_tag": "bd27a5fa",
        "helm_version": "0.19.0-release",
        "is_released": true,
        "has_release_tag": false,
        "type": "service",
        "service_name": "indexer"
    },
...
  1. modify-release-files job takes output as previous job as its input and modifies release files for both DF

Files modified:

  OUTPUT_TF_DAG_VERSIONS_FILE: "./modules/osdu/inputs_dag_versions.tf"
  OUTPUT_TF_HELM_VERSIONS_FILE: "./modules/osdu/inputs_helm_versions.tf"
  OUTPUT_CHART_FILE: "./helm/osdu-infra-onprem/Chart.yaml"
  1. make-release-merge-request job creates MR for release branch with changes to files made by previous job
Edited Feb 16, 2023 by Danylo Vanin (EPAM)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: GONRG-6174-DF-Release-Pipeline-Improvement