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

update Interoperator metrics doc #1981

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

update Interoperator metrics doc

2cd8141
Select commit
Loading
Failed to load commit list.
Open

update Interoperator metrics doc #1981

update Interoperator metrics doc
2cd8141
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 27, 2023 in 9m 3s

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 #1981 update Interoperator metrics doc.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has seven jobs, running in parallel.

Job Go Node.js ENV OS State
6916.1 1.21.x Linux passed
6916.2 1.21.x Linux passed
6916.3 1.21.x Linux passed
6916.4 1.21.x Linux passed
6916.5 16.18 SETTINGS_PATH="$(pwd)/broker/config/settings.yml" Linux passed
6916.6 16.18 SETTINGS_PATH="$(pwd)/broker/config/settings.yml" Linux passed
6916.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"
        ]
      }
    ]
  }
}