github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/jenkins-x.yml (about)

     1  chat:
     2    kind: slack
     3    url: http://kubernetes.slack.com/
     4    developerChannel: '#jenkins-x-dev'
     5    userChannel: '#jenkins-x-user'
     6  buildPack: none
     7  pipelineConfig:
     8    pipelines:
     9      release:
    10        pipeline:
    11          agent:
    12            image: gcr.io/kaniko-project/executor:9912ccbf8d22bbafbf971124600fbb0b13b9cbd6
    13          stages:
    14            - name: release
    15              environment:
    16                - name: GIT_COMMITTER_EMAIL
    17                  value: jenkins-x@googlegroups.com
    18                - name: GIT_AUTHOR_EMAIL
    19                  value: jenkins-x@googlegroups.com
    20                - name: GIT_AUTHOR_NAME
    21                  value: jenkins-x-bot
    22                - name: GIT_COMMITTER_NAME
    23                  value: jenkins-x-bot
    24                - name: BASE_WORKSPACE
    25                  value: /workspace/source
    26                - name: HELM_HOME
    27                  value: /tekton/home/.helm
    28                - name: GOPATH
    29                  value: /workspace/go
    30                - name: GOPROXY
    31                  value: http://jenkins-x-athens-proxy
    32                - name: PARALLEL_BUILDS
    33                  value: "2"
    34                - name: DISABLE_TEST_CACHING
    35                  value: "true"
    36                - name: GOOGLE_APPLICATION_CREDENTIALS
    37                  value: /secrets/kaniko/kaniko-secret.json
    38                - name: CHARTMUSEUM_USER
    39                  valueFrom:
    40                    secretKeyRef:
    41                      name: jenkins-x-chartmuseum
    42                      key: BASIC_AUTH_USER
    43                - name: CHARTMUSEUM_PASS
    44                  valueFrom:
    45                    secretKeyRef:
    46                      name: jenkins-x-chartmuseum
    47                      key: BASIC_AUTH_PASS
    48                - name: GITHUB_ACCESS_TOKEN 
    49                  valueFrom:
    50                    secretKeyRef:
    51                      name: knative-git-user-pass
    52                      key: password
    53              options:
    54                volumes:
    55                  - name: kaniko-secret
    56                    secret:
    57                      secretName: kaniko-secret
    58                      items:
    59                        - key: kaniko-secret
    60                          path: kaniko/kaniko-secret.json
    61                containerOptions:
    62                  volumeMounts:
    63                    - name: kaniko-secret
    64                      mountPath: /secrets
    65                  resources:
    66                    limits:
    67                      cpu: 4
    68                      memory: 8Gi
    69                    requests:
    70                      cpu: 1
    71                      memory: 3072Mi
    72              steps:
    73                - name: init-helm
    74                  image: gcr.io/jenkinsxio/builder-go:helm-v2.17.0-V
    75                  command: helm
    76                  args: ['init','--client-only']
    77  
    78                - name: release
    79                  #image: docker.io/golang:1.11.5
    80                  # needs helm in the image for install_gitops_integration_test.go
    81                  image: gcr.io/jenkinsxio/builder-go-maven
    82                  command: make
    83                  args: ['release']
    84  
    85  
    86                - name: build-and-push-image
    87                  image: gcr.io/kaniko-project/executor:9912ccbf8d22bbafbf971124600fbb0b13b9cbd6
    88                  command: /kaniko/executor
    89                  args: ['--dockerfile=/workspace/source/Dockerfile','--destination=gcr.io/jenkinsxio/jx:$(inputs.params.version)','--destination=gcr.io/jenkinsxio/jx:latest','--context=/workspace/source','--cache-dir=/workspace']
    90  
    91                - name: release-charts
    92                  image: gcr.io/jenkinsxio/builder-go
    93                  command: make
    94                  args:
    95                  - "release"
    96                  - -f
    97                  - /workspace/source/charts/jx/Makefile
    98  
    99                - name: update-builders
   100                  image: gcr.io/jenkinsxio/builder-go
   101                  command: jx
   102                  args:
   103                  - step
   104                  - create
   105                  - pr
   106                  - docker
   107                  - --name
   108                  - JX_VERSION
   109                  - --version
   110                  - $VERSION
   111                  - --repo
   112                  - https://github.com/jenkins-x/jenkins-x-builders.git
   113                  - --repo
   114                  - https://github.com/jenkins-x/jenkins-x-builders-ml.git
   115  
   116                - name: update-lighthouse-jx
   117                  image: gcr.io/jenkinsxio/builder-go
   118                  command: jx
   119                  args:
   120                  - step
   121                  - create
   122                  - pr
   123                  - go
   124                  - --name
   125                  - github.com/jenkins-x/jx/v2
   126                  - --version
   127                  - $VERSION
   128                  - --build
   129                  - "\"make mod\""
   130                  - --repo
   131                  - https://github.com/jenkins-x/lighthouse-jx-controller.git
   132                  # Disable GOPROXY for go module updates to deal with go 1.13 semver resolution issue
   133                  env:
   134                  - name: GOPROXY
   135                    value: ""
   136  
   137                - name: update-jxui-backend
   138                  image: gcr.io/jenkinsxio/builder-go
   139                  command: jx
   140                  args:
   141                  - step
   142                  - create
   143                  - pr
   144                  - go
   145                  - --name
   146                  - github.com/jenkins-x/jx/v2
   147                  - --version
   148                  - $VERSION
   149                  - --build
   150                  - "\"make build\""
   151                  - --repo
   152                  - https://github.com/cloudbees/jxui-backend.git
   153                  # Disable GOPROXY for go module updates to deal with go 1.13 semver resolution issue
   154                  env:
   155                    - name: GOPROXY
   156                      value: ""