Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OADP-1833: Cleanup completed VSBs in backup finalize phase #271

Merged

OADP-1833: Cleanup completed VSBs in backup finalize phase

ae5e2e3
Select commit
Failed to load commit list.
Merged

OADP-1833: Cleanup completed VSBs in backup finalize phase #271

OADP-1833: Cleanup completed VSBs in backup finalize phase
ae5e2e3
Select commit
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded May 17, 2023 in 17m 8s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #271 OADP-1833: Cleanup completed VSBs in backup finalize phase.
Any changes that have been made to the oadp-1.2 branch before the build ran are also included.

Jobs and Stages

This build has five jobs, running in two sequential stages.

Stage 1: build images

This stage passed.

Job Go ENV OS State
648.1 stable IMAGE1=quay.io/konveyor/velero Linux passed
648.2 stable IMAGE1=quay.io/konveyor/velero Linux passed
648.3 stable IMAGE1=quay.io/konveyor/velero Linux passed
648.4 stable IMAGE1=quay.io/konveyor/velero Linux passed

Stage 2: push manifest

This stage passed.

Job ENV OS State
648.5 IMAGE1=quay.io/konveyor/velero Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Focal)
Go Version stable
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "services": [
    "docker"
  ],
  "go": [
    "stable"
  ],
  "env": [
    "global={:IMAGE1=>\"quay.io/konveyor/velero\"}={:IMAGE2=>\"quay.io/konveyor/velero-restore-helper\"}={:DEFAULT_BRANCH=>\"konveyor-dev\"}={:DOCKERFILE1=>\"Dockerfile.ubi\"}={:DOCKERFILE2=>\"Dockerfile-velero-restore-helper.ubi\"}={:DOCKER_CLI_EXPERIMENTAL=>\"enabled\"}={:GOPROXY=>\"https://goproxy.io,direct\"}"
  ],
  "before_install": [
    "if [ \"${TRAVIS_BRANCH}\" == \"${DEFAULT_BRANCH}\" ]; then\n  export TAG=latest\nelse\n  export TAG=\"${TRAVIS_BRANCH}\"\nfi\n"
  ],
  "before_script": [
    "go mod vendor -v",
    "git clone https://github.com/konveyor/restic -b ${TRAVIS_BRANCH}",
    "pushd restic; go mod vendor -v; popd",
    "sed -i 's|-mod=mod|-mod=vendor|g' ${DOCKERFILE1}",
    "sed -i 's|-mod=mod|-mod=vendor|g' ${DOCKERFILE2}",
    "sed -i 's|go build|go build -v|g' ${DOCKERFILE1}",
    "sed -i 's|go build|go build -v|g' ${DOCKERFILE2}",
    "sed -i 's|^RUN mkdir -p \\$APP_ROOT/src/github.com/restic \\\\$|COPY --chown=1001 restic/ $APP_ROOT/src/github.com/restic/restic|g' ${DOCKERFILE1}",
    "sed -i 's|&& cd \\$APP_ROOT/src/github.com/restic \\\\$||g' ${DOCKERFILE1}",
    "sed -i 's|&& git clone https://github.com/konveyor/restic -b .*$||g' ${DOCKERFILE1}"
  ],
  "script": [
    "docker build -t ${IMAGE1}:${TAG}-${TRAVIS_ARCH} -f ${DOCKERFILE1} .",
    "docker build -t ${IMAGE2}:${TAG}-${TRAVIS_ARCH} -f ${DOCKERFILE2} .",
    "if [ -n \"${QUAY_ROBOT}\" ]; then docker login quay.io -u \"${QUAY_ROBOT}\" -p ${QUAY_TOKEN}; fi",
    "if [ -n \"${QUAY_ROBOT}\" ]; then docker push ${IMAGE1}:${TAG}-${TRAVIS_ARCH}; fi",
    "if [ -n \"${QUAY_ROBOT}\" ]; then docker push ${IMAGE2}:${TAG}-${TRAVIS_ARCH}; fi"
  ],
  "jobs": {
    "include": [
      {
        "stage": "build images",
        "arch": "ppc64le"
      },
      {
        "arch": "s390x"
      },
      {
        "arch": "arm64-graviton2",
        "virt": "vm",
        "group": "edge"
      },
      {
        "arch": "amd64"
      },
      {
        "stage": "push manifest",
        "language": "shell",
        "arch": "amd64",
        "before_script": [
    ],
    "script": [
      "if [ -n \"${QUAY_ROBOT}\" ]; then\n  docker login quay.io -u \"${QUAY_ROBOT}\" -p ${QUAY_TOKEN}\n  docker manifest create \\\n    ${IMAGE1}:${TAG} \\\n    ${IMAGE1}:${TAG}-amd64 \\\n    ${IMAGE1}:${TAG}-ppc64le \\\n    ${IMAGE1}:${TAG}-s390x \\\n    ${IMAGE1}:${TAG}-aarch64\n  docker manifest create \\\n    ${IMAGE2}:${TAG} \\\n    ${IMAGE2}:${TAG}-amd64 \\\n    ${IMAGE2}:${TAG}-ppc64le \\\n    ${IMAGE2}:${TAG}-s390x \\\n    ${IMAGE2}:${TAG}-aarch64\n  docker manifest push ${IMAGE1}:${TAG}\n  docker manifest push ${IMAGE2}:${TAG}\nfi"
    ]
  }
]

}
}