๐Ÿ’พ Archived View for source.community โ€บ jeffdecola โ€บ my-go-tools โ€บ blob โ€บ develop โ€บ ci โ€บ pipeline.yml captured on 2024-02-05 at 10:00:15. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-07-10)

๐Ÿšง View Differences

-=-=-=-=-=-=-

                                                         .
,-. ,-. . . ,-. ,-. ,-.    ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . .
`-. | | | | |   |   |-'    |   | | | | | | | | | | | | | |  | |
`-' `-' `-^ '   `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-|
                                                             /|
                                                            `-'

Profile for jeffdecola

jeffdecola / my-go-tools

git clone https://source.community/jeffdecola/my-go-tools.git

Branches

Log

Tree

/ci/pipeline.yml (develop)

โ†‘ /ci

blob

View raw contents of /ci/pipeline.yml (develop)

โ”€โ”€โ”€โ”€โ•ฎ
   1โ”‚ # my-go-tools pipeline.yml
   2โ”‚ 
   3โ”‚ jobs:
   4โ”‚ 
   5โ”‚ - name: job-readme-github-pages
   6โ”‚   plan:
   7โ”‚   - get: my-go-tools
   8โ”‚     trigger: true
   9โ”‚   - put: resource-slack-alert
  10โ”‚     params:
  11โ”‚       channel: '#jeff-builds'
  12โ”‚       text: "From my-go-tools: STARTED job-readme-github-pages in concourse ci."
  13โ”‚   - put: resource-repo-status
  14โ”‚     params: { state: "pending", description: "STARTED job-readme-github-pages in concourse ci.", commit: "my-go-tools" }
  15โ”‚   - task: task-readme-github-pages
  16โ”‚     file: my-go-tools/ci/tasks/task-readme-github-pages.yml
  17โ”‚     on_success:
  18โ”‚       do:
  19โ”‚       - put: my-go-tools
  20โ”‚         params:
  21โ”‚           repository: my-go-tools-updated  
  22โ”‚       - put: resource-slack-alert
  23โ”‚         params:
  24โ”‚           channel: '#jeff-builds'
  25โ”‚           text: "From my-go-tools: PASSED job-readme-github-pages in concourse ci."
  26โ”‚       - put: resource-repo-status
  27โ”‚         params: { state: "success", description: "PASSED job-readme-github-pages in concourse ci", commit: "my-go-tools" }
  28โ”‚     on_failure:
  29โ”‚       do:
  30โ”‚       - put: resource-slack-alert
  31โ”‚         params:
  32โ”‚           channel: '#jeff-builds'
  33โ”‚           text: "From my-go-tools: FAILED job-readme-github-pages in concourse ci."
  34โ”‚       - put: resource-repo-status
  35โ”‚         params: { state: "failure", description: "FAILED job-readme-github-pages in concourse ci", commit: "my-go-tools" }
  36โ”‚ 
  37โ”‚ - name: job-unit-tests
  38โ”‚   plan:
  39โ”‚   - get: my-go-tools
  40โ”‚     trigger: true
  41โ”‚     passed: [job-readme-github-pages]
  42โ”‚   - put: resource-slack-alert
  43โ”‚     params:
  44โ”‚       channel: '#jeff-builds'
  45โ”‚       text: "From my-go-tools: STARTED job-unit-tests in concourse ci."
  46โ”‚   - put: resource-repo-status
  47โ”‚     params: { state: "pending", description: "STARTED job-unit-tests in concourse ci.", commit: "my-go-tools" }
  48โ”‚   - task: task-unit-tests
  49โ”‚     file: my-go-tools/ci/tasks/task-unit-tests.yml
  50โ”‚     on_success:
  51โ”‚       do:
  52โ”‚       - put: my-go-tools
  53โ”‚         params:
  54โ”‚           repository: my-go-tools  
  55โ”‚       - put: resource-slack-alert
  56โ”‚         params:
  57โ”‚           channel: '#jeff-builds'
  58โ”‚           text_file: coverage-results/test_coverage.txt
  59โ”‚           text: |
  60โ”‚             From my-go-tools: PASSED job-unit-tests in concourse ci. 
  61โ”‚             $TEXT_FILE_CONTENT
  62โ”‚       - put: resource-repo-status
  63โ”‚         params: { state: "success", description: "PASSED job-unit-tests in concourse ci", commit: "my-go-tools" }
  64โ”‚     on_failure:
  65โ”‚       do:
  66โ”‚       - put: resource-slack-alert
  67โ”‚         params:
  68โ”‚           channel: '#jeff-builds'
  69โ”‚           text: "From my-go-tools: FAILED job-unit-tests in concourse ci."
  70โ”‚       - put: resource-repo-status
  71โ”‚         params: { state: "failure", description: "FAILED job-unit-tests in concourse ci.", commit: "my-go-tools" }
  72โ”‚ 
  73โ”‚ resource_types:
  74โ”‚ 
  75โ”‚ - name: slack-notification
  76โ”‚   type: docker-image
  77โ”‚   source:
  78โ”‚     repository: cfcommunity/slack-notification-resource
  79โ”‚     tag: latest
  80โ”‚ - name: github-status
  81โ”‚   type: docker-image
  82โ”‚   source:
  83โ”‚     repository: dpb587/github-status-resource
  84โ”‚     tag: master
  85โ”‚ 
  86โ”‚ resources:
  87โ”‚ 
  88โ”‚ - name: my-go-tools
  89โ”‚   type: git
  90โ”‚   source:
  91โ”‚     #uri: https://github.com/jeffdecola/my-go-tools
  92โ”‚     uri: git@github.com:jeffdecola/my-go-tools.git
  93โ”‚     branch: master
  94โ”‚     private_key: {{git_private_key}}
  95โ”‚ - name: resource-slack-alert
  96โ”‚   type: slack-notification
  97โ”‚   source:
  98โ”‚     url: {{slack_url}} 
  99โ”‚ - name: resource-repo-status 
 100โ”‚   type: github-status
 101โ”‚   source:
 102โ”‚     repository: jeffdecola/my-go-tools 
 103โ”‚     access_token: {{repo_github_token}}
โ”€โ”€โ”€โ”€โ•ฏ

ยท ยท ยท

๐Ÿก Home

FAQs

Privacy Policy

Terms & Conditions

Official Gemlog

info@source.community

ยฉ 2024 source.community