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

3456 Golang changes #255

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

3456 Golang changes

b027294
Select commit
Loading
Failed to load commit list.
Open

3456 Golang changes #255

3456 Golang changes
b027294
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Travis CI / Travis CI - Pull Request failed Oct 6, 2023 in 6m 15s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #255 3456 Golang changes.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

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

Stage 1: test

This stage failed.

Job ENV OS State
2452.1 DOCKER_PASSWORD=[secure] Linux failed
2452.2 DOCKER_PASSWORD=[secure] Linux failed

Stage 2: deploy

This stage canceled.

Job ENV OS State
2452.3 DOCKER_PASSWORD=[secure] Linux canceled

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Focal)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "sudo": true,
  "env": [
    "global=DOCKER_PASSWORD=[secure]={:DOCKER_USERNAME=>\"untangleengineering\"}={:GOPATH=>\"\\\"${HOME}/go\\\"\"}={:DIR=>\"\\\"${GOPATH}/src/github.com/untangle\\\"\"}=UNTANGLE_BOT_OATH_TOKEN=[secure] jobs={:TARGET=>\"glibc\"}={:TARGET=>\"musl\"}"
  ],
  "services": [
    "docker"
  ],
  "before_install": [
    "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
    "mkdir -p \"$DIR\"",
    "cp -R \"$TRAVIS_BUILD_DIR\" \"${DIR}/golang-shared\""
  ],
  "script": [
    "pushd \"${DIR}/golang-shared\"",
    "docker-compose -f build/docker-compose.build.yml up --abort-on-container-exit --build ${TARGET}-local || travis_terminate 1",
    "popd"
  ],
  "jobs": {
    "include": [
      {
        "stage": "deploy",
        "env": [
          {
            "TARGET": "musl"
          }
        ],
        "before_deploy": [
          "git config --local user.name \"Travis CI\"",
          "git config --local user.email \"travis@travis-ci.org\"",
          "export TRAVIS_TAG=$(python3 version.py --fetch <<< \"$TRAVIS_COMMIT_MESSAGE\")",
          "if [ -n \"$TRAVIS_TAG\" ] && [ ! $(git tag -l \"$TRAVIS_TAG\") ]; then git tag $TRAVIS_TAG; else echo \"Uh-oh, tag $TRAVIS_TAG already exists!\"; fi",
          "RELEASE_NOTES=${TRAVIS_COMMIT_MESSAGE//$'\\n'/ }"
        ],
        "script": [
          "/bin/true"
        ],
        "deploy": [
          {
            "provider": "releases",
            "skip_cleanup": true,
            "token": "$UNTANGLE_BOT_OATH_TOKEN",
            "name": "$TRAVIS_TAG",
            "release_notes": "$RELEASE_NOTES",
            "on": {
              "branch": [
                "master"
              ]
            }
          }
        ]
      }
    ]
  }
}