Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Use val.Namespace in place of instance.Namespace #1985

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

Use val.Namespace in place of instance.Namespace

f3933b8
Select commit
Loading
Failed to load commit list.
Open

Use val.Namespace in place of instance.Namespace #1985

Use val.Namespace in place of instance.Namespace
f3933b8
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Jan 23, 2024 in 7m 13s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the improvement/use-val.Namespace branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has seven jobs, running in parallel.

Job Go Node.js ENV OS State
7105.1 1.21.x Linux passed
7105.2 1.21.x Linux passed
7105.3 1.21.x Linux passed
7105.4 1.21.x Linux passed
7105.5 16.18 SETTINGS_PATH="$(pwd)/broker/config/settings.yml" Linux passed
7105.6 16.18 SETTINGS_PATH="$(pwd)/broker/config/settings.yml" Linux passed
7105.7 16.18 Linux passed

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Xenial)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "jobs": {
    "include": [
      {
        "language": "go",
        "os": "linux",
        "go": "1.21.x",
        "git": {
          "depth": 3
        },
        "install": [
          "cd interoperator",
          "env GO111MODULE=on go mod download",
          "cd .."
        ],
        "script": [
          "pushd interoperator",
          "./scripts/install_test.sh",
          "env GO111MODULE=on go test -v -coverprofile=coverage.txt ./...",
          "popd",
          "cat interoperator/coverage.txt webhooks/coverage.txt | grep -v \"/pkg/client/\" > coverage.txt"
        ],
        "after_success": [
          "bash <(curl -s https://codecov.io/bash)"
        ]
      },
      {
        "language": "go",
        "os": "linux",
        "go": "1.21.x",
        "git": {
          "depth": 3
        },
        "install": [
          "pushd interoperator",
          "./scripts/install_test.sh",
          "popd",
          "cd operator-apis",
          "env GO111MODULE=on go mod download",
          "cd .."
        ],
        "script": [
          "pushd operator-apis",
          "env GO111MODULE=on go test -v -coverprofile=coverage.txt ./...",
          "popd"
        ]
      },
      {
        "language": "go",
        "os": "linux",
        "go": "1.21.x",
        "git": {
          "depth": 3
        },
        "install": [
          "pushd interoperator",
          "./scripts/install_test.sh",
          "popd",
          "cd webhooks",
          "env GO111MODULE=on go mod download",
          "cd .."
        ],
        "script": [
          "pushd webhooks",
          "go test -v -coverpkg=./pkg/webhooks/... -coverprofile=coverage.txt ./pkg/webhooks/manager/...",
          "popd"
        ]
      },
      {
        "language": "go",
        "os": "linux",
        "go": "1.21.x",
        "git": {
          "depth": 3
        },
        "before_install": [
          "go get golang.org/x/lint/golint",
          "go install honnef.co/go/tools/cmd/staticcheck@latest"
        ],
        "install": [
          "cd interoperator",
          "env GO111MODULE=on go mod download",
          "cd ../webhooks",
          "env GO111MODULE=on go mod download",
          "cd ../operator-apis",
          "env GO111MODULE=on go mod download",
          "cd .."
        ],
        "script": [
          "pushd interoperator",
          "env GO111MODULE=on go fmt ./api/... ./controllers/... ./internal/... ./pkg/... ./",
          "env GO111MODULE=on go vet ./api/... ./controllers/... ./internal/... ./pkg/... ./",
          "env GO111MODULE=on golint ./api/... ./controllers/... ./internal/... ./pkg/... ./",
          "PKGS=$(go list ./... | grep -v /vendor/)",
          "staticcheck $PKGS",
          "popd",
          "pushd webhooks",
          "go fmt ./pkg/webhooks/manager/... ./pkg/apis/...",
          "go vet ./pkg/webhooks/manager/... ./pkg/apis/...",
          "golint ./pkg/webhooks/manager/... ./pkg/apis/...",
          "PKGS=$(go list ./... | grep -v /vendor/)",
          "staticcheck $PKGS",
          "popd",
          "pushd operator-apis",
          "go fmt ./internal/...",
          "go vet ./internal/...",
          "golint ./internal/...",
          "PKGS=$(go list ./... | grep -v /vendor/)",
          "staticcheck $PKGS",
          "popd"
        ]
      },
      {
        "language": "node_js",
        "node_js": "16.18",
        "env": [
          {
            "SETTINGS_PATH": "\"$(pwd)/broker/config/settings.yml\""
          }
        ],
        "script": [
          "pushd broker",
          "npm install -g yarn",
          "yarn set version 2.4.1",
          "yarn install",
          "npm run test-coverall",
          "popd"
        ]
      },
      {
        "language": "node_js",
        "node_js": "16.18",
        "env": [
          {
            "SETTINGS_PATH": "\"$(pwd)/broker/config/settings.yml\""
          }
        ],
        "script": [
          "pushd broker",
          "npm install -g yarn",
          "yarn set version 2.4.1",
          "yarn install",
          "yarn run eslint",
          "yarn run jsdoc",
          "yarn constraints",
          "popd"
        ]
      },
      {
        "language": "node_js",
        "node_js": "16.18",
        "before_install": [
          "pushd /tmp\ngit clone --depth 1 https://github.com/awslabs/git-secrets\ncd git-secrets\nsudo make install\npopd\n"
        ],
        "script": [
          "git secrets --install\ngit secrets --register-aws --global\ngit secrets --list\n",
          "git secrets --scan-history || exit 1\n",
          "# echo \"Full repo scan of truffleHog\"\n# truffleHog only scans git endpoints which have a ref.\n# truffleHog check fails to detect changed because travis merge creates a detached HEAD\n# Creating a branch to fix this issue\n# git checkout -b travis-merge\n# INITIAL_COMMIT=\"a1206f7a64978e70441460f9f907c2904909a531\"\n# high_entropy=$(trufflehog --json --entropy true --max_depth 1 --regex \"$TRAVIS_BUILD_DIR\")\n# echo \"Truffle hog output : $high_entropy\"\n# if [[ \"$high_entropy\" != \"\" ]] ; then exit 1; fi"
        ]
      }
    ]
  }
}