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

Bump tox from 4.11.2 to 4.11.3 #3211

Merged
merged 1 commit into from
Sep 11, 2023

Bump tox from 4.11.2 to 4.11.3

e145688
Select commit
Loading
Failed to load commit list.
Merged

Bump tox from 4.11.2 to 4.11.3 #3211

Bump tox from 4.11.2 to 4.11.3
e145688
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Sep 11, 2023 in 7m 53s

Build Passed

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

Details

This is a pull request build.

It is running a build against the merge commit, after merging #3211 Bump tox from 4.11.2 to 4.11.3.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has nine jobs, running in parallel.

Stage 1: test

This stage passed.

Job Python ENV OS State
9175.1 2.7 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.2 3.6 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.3 3.7 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.4 3.8 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.5 3.9 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.6 3.10 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.7 lint 3.10 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.8 docs 3.10 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed
9175.9 build standalone 3.10 LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so Linux passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Python Versions 2.7, 3.6, 3.7, 3.8, 3.9, 3.10
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "version": "~> 1.0",
  "git": {
    "depth": false
  },
  "stages": [
    {
      "name": "test"
    },
    {
      "name": "deploy"
    }
  ],
  "env": [
    "global={:LD_PRELOAD=>\"/lib/x86_64-linux-gnu/libSegFault.so\"}={:SEGFAULT_SIGNALS=>\"all\"}={:RELEASE_VERSION=>\"$(grep -E '^current_version' $TRAVIS_BUILD_DIR/.bumpversion.cfg | sed 's/^.*= //')\"}={:PRIOR_VERSION=>\"$(git describe --abbrev=0 --tags)\"}"
  ],
  "python": [
    "2.7",
    "3.6",
    "3.7",
    "3.8",
    "3.9",
    "3.10"
  ],
  "if": "branch = main OR type = pull_request OR tag is present",
  "before_install": [
    "export TOXENV=\"${TOXENV:-${TRAVIS_PYTHON_VERSION%-dev}-codecov}\"",
    "echo $TOXENV",
    "python --version",
    "uname -a",
    "lsb_release -a"
  ],
  "install": [
    "pip install -r requirements/pip.txt",
    "pip install -r requirements/tox.txt",
    "curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import",
    "curl -Os https://uploader.codecov.io/latest/linux/codecov",
    "curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM",
    "curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig",
    "gpgv codecov.SHA256SUM.sig codecov.SHA256SUM",
    "shasum -a 256 -c codecov.SHA256SUM",
    "chmod +x codecov",
    "sudo mv codecov /usr/local/bin",
    "virtualenv --version",
    "pip --version",
    "tox --version",
    "codecov --version"
  ],
  "script": [
    "tox -v"
  ],
  "before_script": [
    "if [[ \"$TRAVIS_BRANCH\" = \"main\" && \"$PRIOR_VERSION\" = \"$RELEASE_VERSION\" ]]; then\n  # not a release, so need to set the dev version for test pypi and standalones\n  # whether setup.cfg version has \"dev\" or not, it is added but not duplicated\n  ver=$(git show -s --format=%cd --date=format:'%Y%m%d%H%M%S')\n  sed -i -E \"s/^(version = )([0-9]+\\.[0-9]+\\.[0-9]+).*$/\\1\\2.dev$ver/\" setup.cfg\nfi\n",
    "grep \"version = \" setup.cfg"
  ],
  "after_failure": [
    "more .tox/log/* | cat",
    "more .tox/*/log/* | cat"
  ],
  "notifications": {
    "email": [
      {
        "on_success": "never",
        "on_failure": "always"
      }
    ],
    "slack": [
      {
        "rooms": [
          {
            "secure": "nsbTI19SAiog6V6OnN1diYU2V3RIwtmY+IqV4uAvki87dQZteWU22/kQ0wI0OZAOzvEG3lLrc7ZGnbKh+IiH3QJkAwwHgtgC2zdzy6EGkjyEQpeAFUujaEHcRKEIpeAdtNpSUTrPsywdbnT6sO4XN/S7ZhSxS3TRmL2Wi399i36/D0T7gt/GAcPdxrFKwZ20PN20By+5j54FO6/X7y0IVcoUgKdYIvP5NGILRyo+tlWP6dJKFeuxT7lU3FV6W7J7DQs/2yjwH1naBmulxWp22+wNopJ1loW9PHtsJzlN0kUp1Up/+pwHvr7bVbZBzXSZZ5V7j+Xi7uh0de8GYckg0ATJTvrB5c1KZaG9p2unhyMlVAyDfNez3LtgUERnd7S1YXxz8JwbyWlEodzKO/dcnA1PkzcPECEbeXQJtxdhXuz+8pVqIAkDejCv4bhZVUtC4beeQFjxTrqKewxMNpTKKCacIWEBLrCUzr4y15qy7ziRU8CPvFkaUYBkPSWIOp2Xv7FOBwlEhR8d5P6P2eJ7P1vbYVB1vvrYgo0Z4pQkaM02E2/YgSoEfpWsgrSNS+9W0aQtAxcIg6ilY4ZcY83xAmwa8W7uILygqqK0Q7m+UiirIePMWXJ3r9MNkpHHlEr+WebFQYYNhOqVDJ5oX1+KKZY91bJl0ozqUvy4KSlBPO8="
          }
        ],
        "on_success": "never",
        "on_failure": "always"
      }
    ]
  },
  "jobs": {
    "include": [
      {
        "stage": "test",
        "name": "lint",
        "python": "3.10",
        "env": [
          {
            "TOXENV": "check"
          }
        ]
      },
      {
        "stage": "test",
        "name": "docs",
        "python": "3.10",
        "env": [
          {
            "TOXENV": "docs"
          }
        ]
      },
      {
        "stage": "test",
        "name": "build standalone",
        "python": "3.10",
        "install": [
          "docker --version",
          "chmod +x ci/prep_docker.sh"
        ],
        "script": [
          "ci/prep_docker.sh"
        ],
        "before_deploy": [
          "export APP_VERSION=\"$(grep \"version =\" setup.cfg | sed 's/^.*= //')\"",
          "export APP_NAME=\"watchmaker\"",
          "export STAGING_DIR=\".pyinstaller/dist\"",
          "export SATS_SLUG=\"plus3it/watchmaker\"",
          "export SATS_TAG=\"$APP_VERSION\"",
          "export SATS_COMMITTISH=\"$TRAVIS_COMMIT\"",
          "export SATS_BODY=\"$(echo -e '* ['$APP_NAME' v'$APP_VERSION' CHANGELOG](https://github.com/plus3it/'$APP_NAME'/blob/'$APP_VERSION'/CHANGELOG.md)\\n* ['$APP_NAME' v'$APP_VERSION' SCAP REPORTS](https://watchmaker.cloudarmor.io/list.html#releases/'$APP_VERSION'/scans/)')\"",
          "export SATS_REL_NAME=\"Release v$APP_VERSION\"",
          "export SATS_FILES_FILE=\".pyinstaller/satsuki-files.json\"",
          "echo Tag name is \"$SATS_TAG\"",
          "pip install -r requirements/deploy.txt",
          "echo Deploying \"$(grep 'version = ' setup.cfg)\""
        ],
        "after_deploy": [
          "echo Deployed \"$(grep 'version = ' setup.cfg)\""
        ],
        "deploy": [
          {
            "provider": "script",
            "script": "satsuki",
            "skip_cleanup": true,
            "on": {
              "branch": [
                "main"
              ],
              "condition": [
                "\"$PRIOR_VERSION\" != \"$RELEASE_VERSION\""
              ]
            }
          },
          {
            "provider": "s3",
            "bucket": "$DEV_BUCKET",
            "upload_dir": "$S3_KEYFIX",
            "local_dir": "$STAGING_DIR",
            "skip_cleanup": true,
            "on": {
              "branch": [
                "main"
              ]
            }
          },
          {
            "provider": "s3",
            "bucket": "$RELEASE_BUCKET",
            "upload_dir": "$S3_KEYFIX",
            "local_dir": "$STAGING_DIR",
            "skip_cleanup": true,
            "on": {
              "tags": true
            }
          },
          {
            "provider": "script",
            "script": "bash ci/codebuild_start_wait.sh $CODEBUILD_PROJECT s3://$DEV_BUCKET/$S3_KEYFIX/$APP_VERSION/scans",
            "skip_cleanup": true,
            "on": {
              "branch": [
                "main"
              ]
            }
          },
          {
            "provider": "script",
            "script": "bash ci/codebuild_start_wait.sh $CODEBUILD_PROJECT s3://$RELEASE_BUCKET/$S3_KEYFIX/$APP_VERSION/scans",
            "skip_cleanup": true,
            "on": {
              "tags": true
            }
          }
        ]
      },
      {
        "stage": "deploy",
        "name": "deploy to pypi",
        "if": "type != pull_request AND (branch = main OR tag is present)",
        "python": "3.10",
        "install": [
          "skip"
        ],
        "script": [
          "skip"
        ],
        "before_deploy": [
          "echo Deploying \"$(grep 'version = ' setup.cfg)\""
        ],
        "after_deploy": [
          "echo Deployed \"$(grep 'version = ' setup.cfg)\""
        ],
        "deploy": [
          {
            "provider": "pypi",
            "server": "https://test.pypi.org/legacy/",
            "distributions": "sdist bdist_wheel",
            "username": "plus3it",
            "password": "$PYPI_TEST_PASSWORD",
            "skip_cleanup": true,
            "skip_upload_docs": true,
            "on": {
              "branch": [
                "main"
              ]
            }
          },
          {
            "provider": "pypi",
            "distributions": "sdist bdist_wheel",
            "username": "plus3it",
            "password": "$PYPI_PASSWORD",
            "skip_cleanup": true,
            "skip_upload_docs": true,
            "on": {
              "tags": true
            }
          }
        ]
      }
    ]
  }
}