github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/cmd/upgrade/test_data/upgrade_boot_builders/jenkins-x-boot-config/jenkins-x.yml (about)

     1  buildPack: none
     2  pipelineConfig:
     3    pipelines:
     4      pullRequest:
     5        pipeline:
     6          agent:
     7            image: gcr.io/jenkinsxio/builder-go:0.1.760
     8          environment:
     9            - name: DEPLOY_NAMESPACE
    10              value: jx
    11          stages:
    12            - name: release
    13              steps:
    14                - name: validate-git
    15                  dir: /workspace/source/env
    16                  command: jx
    17                  args: ['step','git','validate']
    18                - name: verify-preinstall
    19                  dir: /workspace/source/env
    20                  command: jx
    21                  args: ['step','verify','preinstall']
    22                - name: install-jx-crds
    23                  command: jx
    24                  args: ['upgrade','crd']
    25                - name: install-nginx
    26                  dir: /workspace/source/systems/jxing
    27                  command: jx
    28                  args: ['step','helm','apply', '--boot', '--remote', '--no-vault', '--name', 'jxing']
    29                  env:
    30                    - name: DEPLOY_NAMESPACE
    31                      value: kube-system
    32                - name: create-install-values
    33                  dir: /workspace/source/env
    34                  command: jx
    35                  args: ['step','create','install', 'values', '-b']
    36                - name: install-external-dns
    37                  dir: /workspace/source/systems/external-dns
    38                  command: jx
    39                  args: ['step','helm','apply', '--boot', '--remote', '--no-vault', '--name', 'jx']
    40                - name: install-cert-manager-crds
    41                  dir: /workspace/source
    42                  command: kubectl
    43                  args: ['apply', '--wait', '--validate=true', '-f', 'https://raw.githubusercontent.com/jetstack/cert-manager/release-0.8/deploy/manifests/00-crds.yaml']
    44                  env:
    45                    - name: DEPLOY_NAMESPACE
    46                      value: cert-manager
    47                - name: install-cert-manager
    48                  dir: /workspace/source/systems/cm
    49                  command: jx
    50                  args: ['step','helm','apply', '--boot', '--remote', '--no-vault', '--name', 'jx']
    51                  env:
    52                    - name: DEPLOY_NAMESPACE
    53                      value: cert-manager
    54                - name: install-acme-issuer-and-certificate
    55                  dir: /workspace/source/systems/acme
    56                  command: jx
    57                  args: ['step','helm','apply', '--boot', '--remote', '--no-vault', '--name', 'jx']
    58                - name: install-vault
    59                  dir: /workspace/source/systems/vault
    60                  command: jx
    61                  args: ['step', 'boot','vault']
    62                - name: helm-populate-params
    63                  dir: /workspace/source/env
    64                  command: jx
    65                  args: ['step', 'create', 'values', '--name', 'parameters']
    66                - name: install-env
    67                  dir: /workspace/source/env
    68                  command: jx
    69                  args: ['step','helm','apply', '--boot', '--remote', '--name', 'jenkins-x', '--provider-values-dir', '../kubeProviders']
    70                - name: verify-env
    71                  dir: /workspace/source
    72                  command: if kubectl config current-context; then $(jx step verify env); else echo "Running in cluster, skipping"; fi
    73                - name: log-repos
    74                  dir: /workspace/source/repositories
    75                  command: echo
    76                  args:
    77                    - ""
    78                    - ""
    79                    - "now populating projects...."
    80                    - ""
    81                    - ""
    82                - name: apply-repositories
    83                  dir: /workspace/source/repositories
    84                  command: jx
    85                  args: ['step','helm','apply', '--boot', '--name', 'repos']
    86                - name: apply-pipeline-schedulers
    87                  dir: /workspace/source/prowConfig
    88                  command: jx
    89                  args: ['step','scheduler','config', 'apply', '--direct=true']
    90                - name: update-webhooks
    91                  dir: /workspace/source/repositories
    92                  command: jx
    93                  args: ['update','webhooks','--verbose', '--warn-on-fail']
    94                - name: verify-install
    95                  dir: /workspace/source/env
    96                  command: jx
    97                  args: ['step','verify','install', '--pod-wait-time', '30m']
    98      pullRequest:
    99        pipeline:
   100          agent:
   101            image: gcr.io/jenkinsxio/builder-go:0.1.760
   102          stages:
   103            - name: release
   104              steps:
   105                - args:
   106                    - step
   107                    - git
   108                    - validate
   109                  command: jx
   110                  dir: /workspace/source/env
   111                  name: validate-git
   112                - args:
   113                    - step
   114                    - verify
   115                    - preinstall
   116                  command: jx
   117                  dir: /workspace/source/env
   118                  name: verify-preinstall
   119                - args:
   120                    - upgrade
   121                    - crd
   122                  command: jx
   123                  name: install-jx-crds
   124                - args:
   125                    - step
   126                    - helm
   127                    - apply
   128                    - --boot
   129                    - --remote
   130                    - --no-vault
   131                    - --name
   132                    - jxing
   133                  command: jx
   134                  dir: /workspace/source/systems/jxing
   135                  env:
   136                    - name: DEPLOY_NAMESPACE
   137                      value: kube-system
   138                  name: install-nginx
   139                - args:
   140                    - step
   141                    - create
   142                    - install
   143                    - values
   144                    - -b
   145                  command: jx
   146                  dir: /workspace/source/env
   147                  name: create-install-values
   148                - args:
   149                    - step
   150                    - helm
   151                    - apply
   152                    - --boot
   153                    - --remote
   154                    - --no-vault
   155                    - --name
   156                    - jx
   157                  command: jx
   158                  dir: /workspace/source/systems/external-dns
   159                  name: install-external-dns
   160                - args:
   161                    - apply
   162                    - --wait
   163                    - --validate=true
   164                    - -f
   165                    - https://raw.githubusercontent.com/jetstack/cert-manager/release-0.8/deploy/manifests/00-crds.yaml
   166                  command: kubectl
   167                  dir: /workspace/source
   168                  env:
   169                    - name: DEPLOY_NAMESPACE
   170                      value: cert-manager
   171                  name: install-cert-manager-crds
   172                - args:
   173                    - step
   174                    - helm
   175                    - apply
   176                    - --boot
   177                    - --remote
   178                    - --no-vault
   179                    - --name
   180                    - jx
   181                  command: jx
   182                  dir: /workspace/source/systems/cm
   183                  env:
   184                    - name: DEPLOY_NAMESPACE
   185                      value: cert-manager
   186                  name: install-cert-manager
   187                - args:
   188                    - step
   189                    - helm
   190                    - apply
   191                    - --boot
   192                    - --remote
   193                    - --no-vault
   194                    - --name
   195                    - jx
   196                  command: jx
   197                  dir: /workspace/source/systems/acme
   198                  name: install-acme-issuer-and-certificate
   199                - args:
   200                    - step
   201                    - boot
   202                    - vault
   203                  command: jx
   204                  dir: /workspace/source/systems/vault
   205                  name: install-vault
   206                - args:
   207                    - step
   208                    - create
   209                    - values
   210                    - --name
   211                    - parameters
   212                  command: jx
   213                  dir: /workspace/source/env
   214                  name: helm-populate-params
   215                - args:
   216                    - step
   217                    - helm
   218                    - apply
   219                    - --boot
   220                    - --remote
   221                    - --name
   222                    - jenkins-x
   223                    - --provider-values-dir
   224                    - ../kubeProviders
   225                  command: jx
   226                  dir: /workspace/source/env
   227                  name: install-env
   228                - args:
   229                    - step
   230                    - verify
   231                    - env
   232                  command: jx
   233                  dir: /workspace/source
   234                  name: verify-env
   235                - args:
   236                    - ""
   237                    - ""
   238                    - now populating projects....
   239                    - ""
   240                    - ""
   241                  command: echo
   242                  dir: /workspace/source/repositories
   243                  name: log-repos
   244                - args:
   245                    - step
   246                    - helm
   247                    - apply
   248                    - --boot
   249                    - --name
   250                    - repos
   251                  command: jx
   252                  dir: /workspace/source/repositories
   253                  name: apply-repositories
   254                - args:
   255                    - step
   256                    - scheduler
   257                    - config
   258                    - apply
   259                    - --direct=true
   260                  command: jx
   261                  dir: /workspace/source/prowConfig
   262                  name: apply-pipeline-schedulers
   263                - args:
   264                    - update
   265                    - webhooks
   266                    - --verbose
   267                    - --warn-on-fail
   268                  command: jx
   269                  dir: /workspace/source/repositories
   270                  name: update-webhooks
   271                - args:
   272                    - step
   273                    - verify
   274                    - install
   275                    - --pod-wait-time
   276                    - 30m
   277                  command: jx
   278                  dir: /workspace/source/env
   279                  name: verify-install