Projects STRLCPY routeros-scanner Commits 658e5a1a
🤬
  • ■ ■ ■ ■ ■ ■
    .pipelines/pipeline.user.linux.official.yml
     1 +environment:
     2 + host:
     3 + os: "linux"
     4 + flavor: "ubuntu"
     5 + version: "20.04"
     6 + runtime:
     7 + provider: "appcontainer"
     8 + image: "onebranch.azurecr.io/linux/ubuntu-2004:latest"
     9 + source_mode: "link"
     10 + 
     11 +version:
     12 + name: "Main"
     13 + major: 1
     14 + minor: 0
     15 + tag: "alpha"
     16 + system: "patch"
     17 + 
     18 +signing_options:
     19 + profile: 'internal_azure_service'
     20 +
     21 +static_analysis_options:
     22 + binskim_options:
     23 + files_to_scan:
     24 + fxcop_options:
     25 + files_to_scan:
     26 + moderncop_options:
     27 + fail_on_error: false
     28 + files_to_scan:
     29 + policheck_options:
     30 + disable_tool_scan: true
     31 + fail_on_error: false
     32 + files_to_scan:
     33 + - from: 'src'
     34 + include:
     35 + - '**/*.py'
     36 + 
     37 +restore:
     38 + commands:
     39 + - !!defaultcommand
     40 + name: "pip install"
     41 + command: "restore.sh"
     42 + 
     43 +build:
     44 + commands:
     45 + 
     46 +package:
     47 + commands:
     48 + 
     49 +test:
     50 + commands:
     51 + 
     52 +publish:
     53 + commands:
     54 + 
     55 +user_cleanup:
     56 + commands:
  • ■ ■ ■ ■ ■ ■
    azure-pipelines.yml
    1  -trigger:
    2  - batch: true
    3  - branches:
    4  - include:
    5  - - main
    6  - 
    7  -parameters: # parameters are shown up in ADO UI in a build queue time
    8  -- name: 'debug'
    9  - displayName: 'Enable debug output'
    10  - type: boolean
    11  - default: false
    12  - 
    13  -variables:
    14  - CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
    15  - system.debug: ${{ parameters.debug }}
    16  - ENABLE_PRS_DELAYSIGN: 1
    17  - ROOT: $(Build.SourcesDirectory)
    18  - REPOROOT: $(Build.SourcesDirectory)
    19  - OUTPUTROOT: $(REPOROOT)\out
    20  - NUGET_XMLDOC_MODE: none
    21  - 
    22  - LinuxContainerImage: 'ubuntu-latest'
    23  - 
    24  -resources:
    25  - repositories:
    26  - - repository: templates
    27  - type: git
    28  - name: OneBranch.Pipelines/GovernedTemplates
    29  - ref: refs/heads/main
    30  - 
    31  -extends:
    32  - template: v2/OneBranch.Official.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
    33  - parameters:
    34  - cloudvault: # https://aka.ms/obpipelines/cloudvault
    35  - enabled: false
    36  - globalSdl: # https://aka.ms/obpipelines/sdl
    37  - tsa:
    38  - enabled: false # onebranch publish all sdl results to TSA. If TSA is disabled all SDL tools will forced into 'break' build mode.
    39  - # credscan:
    40  - # suppressionsFile: $(Build.SourcesDirectory)\.config\CredScanSuppressions.json
    41  - binskim:
    42  - break: true # always break the build on binskim issues in addition to TSA upload
    43  - policheck:
    44  - break: true # always break the build on policheck issues. You can disable it by setting to 'false'
    45  - suppression:
    46  - suppressionFile: $(Build.SourcesDirectory)\.azure\openssl.gdnsuppress
    47  - featureFlags:
    48  - linuxEsrpSigningPreview: true
    49  - 
  • ■ ■ ■ ■ ■ ■
    restore.sh
     1 +#!/bin/bash
     2 + 
     3 +# exit immediately when one publish failed
     4 +set -e
     5 + 
     6 +ROOT_DIR="$(dirname $0)"
     7 + 
     8 +pip install -r "$ROOT_DIR/requirements.txt"
Please wait...
Page is in error, reload to recover