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.
Travis CI / Travis CI - Branch failed Oct 6, 2023 in 3m 10s

Build Failed

The build failed, just like the previous build.

Details

This is a normal build for the mfw-3456-golang branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

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

Stage 1: test

This stage failed.

Job ENV OS State
2451.1 DOCKER_PASSWORD=[secure] Linux failed
2451.2 DOCKER_PASSWORD=[secure] Linux failed

Stage 2: deploy

This stage canceled.

Job ENV OS State
2451.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"
              ]
            }
          }
        ]
      }
    ]
  }
}