Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S seismic-dms-service
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 55
    • Issues 55
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 16
    • Merge requests 16
  • 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
  • Domain Data Management Services
  • Seismic
  • Seismic DMS Suite
  • seismic-dms-service
  • Merge requests
  • !66

GONRG-2143. Add cloudbuild.yaml file for implementing multistage build for Seismic DDMS

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Maksimelyan Tamashevich (EPAM) requested to merge GONRG-2143_Implement_multistage_build_for_Seismic_DDMS into master Apr 16, 2021
  • Overview 3
  • Commits 3
  • Pipelines 6
  • Changes 1

Use gcloud command to start build process:

gcloud builds submit --config provider/seismic-store-gcp/cloudbuild/cloudbuild.yaml --substitutions=_GCP_SERVICE=$OSDU_GCP_SERVICE,_APPLICATION_NAME=$OSDU_GCP_APPLICATION_NAME,_PROVIDER_NAME=$OSDU_GCP_VENDOR,_SHORT_SHA=$CI_COMMIT_SHORT_SHA

Logs are available at the link.

  • On Step#0 - "builder" Cloudbuilder prepare an image for for building the artifact.
  • On Step#1 - "runtime" We use a multistage Docker file.
    • On the stage#0 Cloudbuilder uses the image from previous step and builds the artifact.
    • On the stage#1 Cloudbuilder copies the artifact from stage#0 to a new clean "node" image and builds a final image. Which then uploads to the GCR.
Edited Apr 16, 2021 by Maksimelyan Tamashevich (EPAM)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: GONRG-2143_Implement_multistage_build_for_Seismic_DDMS