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

MFW-6184 golang-shared publisher for events and alerts #469

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

MFW-6184 golang-shared publisher for events and alerts

dc15d29
Select commit
Loading
Failed to load commit list.
Draft

MFW-6184 golang-shared publisher for events and alerts #469

MFW-6184 golang-shared publisher for events and alerts
dc15d29
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Feb 10, 2025 in 6m 28s

Build Passed

The build passed.

Details

This is a normal build for the MFW-6184-v2 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 passed.

Job ENV OS State
4415.1 DOCKER_PASSWORD=[secure] Linux passed
4415.2 DOCKER_PASSWORD=[secure] Linux passed

Stage 2: deploy

This stage passed.

Job ENV OS State
4415.3 DOCKER_PASSWORD=[secure] Linux passed

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": [
          "yes | gem update --system --force",
          "gem install bundler",
          "gem install faraday-net_http -v '3.3.0'",
          "gem install uri",
          "gem install logger",
          "git config --local user.name \"Travis CI\"",
          "git config --local user.email \"[email protected]\"",
          "export TRAVIS_TAG=$(python3 version.py --fetch --branch $TRAVIS_BRANCH <<< \"$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"
              ]
            }
          },
          {
            "provider": "releases",
            "skip_cleanup": true,
            "token": "$UNTANGLE_BOT_OATH_TOKEN",
            "name": "$TRAVIS_TAG",
            "release_notes": "$RELEASE_NOTES",
            "on": {
              "branch": [
                "eft"
              ]
            }
          },
          {
            "provider": "releases",
            "skip_cleanup": true,
            "token": "$UNTANGLE_BOT_OATH_TOKEN",
            "name": "$TRAVIS_TAG",
            "release_notes": "$RELEASE_NOTES",
            "on": {
              "branch": [
                "mfw-release-6.1"
              ]
            }
          }
        ]
      }
    ]
  }
}