-
Notifications
You must be signed in to change notification settings - Fork 4
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
PP-12385: Add github action to comment on the PR with diffs of YML #1091
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YAML diff vs master for `detect-secrets.yml`:--- master/ci/pkl-pipelines/detect-secrets.yml 1970-01-01 00:00:00.000000000 +0000
+++ pr/ci/pkl-pipelines/detect-secrets.yml 2024-03-07 18:11:43.362214922 +0000
@@ -0,0 +1,96 @@
+jobs:
+- name: update-pipeline
+ plan:
+ - get: pipeline-source
+ trigger: true
+ - task: generate-yaml-from-pkl
+ config:
+ platform: linux
+ image_resource:
+ type: registry-image
+ source:
+ repository: governmentdigitalservice/pay-concourse-runner
+ tag: latest
+ inputs:
+ - name: pipeline-source
+ outputs:
+ - name: pipeline-source
+ run:
+ path: ash
+ args:
+ - -c
+ - pkl eval 'detect-secrets.pkl' > 'detect-secrets.yaml'
+ dir: pipeline-source/ci/pkl-pipelines/
+ - set_pipeline: detect-secrets-test
+ file: pipeline-source/ci/pkl-pipelines/detect-secrets.yaml
+- name: build-and-push-detect-secrets
+ plan:
+ - in_parallel:
+ - get: detect-secrets-src
+ trigger: true
+ - get: pay-ci
+ - task: generate-docker-creds-config
+ file: pay-ci/ci/tasks/generate-docker-config-file.yml
+ params:
+ USERNAME: ((docker-username))
+ PASSWORD: ((docker-password))
+ EMAIL: ((docker-email))
+ - task: build
+ config:
+ platform: linux
+ image_resource:
+ type: registry-image
+ source:
+ repository: concourse/oci-build-task
+ inputs:
+ - name: detect-secrets-src
+ outputs:
+ - name: image
+ run:
+ path: build
+ privileged: true
+ params:
+ CONTEXT: detect-secrets-src/ci/docker/detect-secrets
+ DOCKER_CONFIG: docker_creds
+ - put: detect-secrets-registry-image
+ params:
+ image: image/image.tar
+resources:
+- name: pipeline-source
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: pp-12343/example-pr-adding-new-pipeline
+ paths:
+ - ci/pkl-pipelines/detect-secrets.pkl
+ - ci/pkl-pipelines/common/**
+ icon: github
+- name: pay-ci
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ icon: github
+- name: detect-secrets-src
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ paths:
+ - ci/docker/detect-secrets/*
+ icon: github
+- name: detect-secrets-registry-image
+ type: registry-image
+ source:
+ repository: governmentdigitalservice/pay-detect-secrets
+ tag: latest
+ username: ((dockerhub-username))
+ password: ((dockerhub-password))
+ icon: docker
+groups:
+- name: detect-secrets
+ jobs:
+ - build-and-push-detect-secrets
+- name: update-pipeline
+ jobs:
+ - update-pipeline
|
No YAML differences detected between PR and master pkl files |
Diff of ./pkl-pipeline-changes.yml--- pay-ci/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
+++ pkl-pipeline-pr/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
@@ -0,0 +1,63 @@
+jobs:
+- name: comment-pipeline-changes-on-pr
+ plan:
+ - in_parallel:
+ - get: pkl-pipeline-pr
+ trigger: true
+ version: every
+ - get: pay-ci
+ - put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: pending
+ context: test
+ get_params:
+ skip_download: true
+ - on_success:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: success
+ context: test
+ get_params:
+ skip_download: true
+ on_failure:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: failed
+ context: test
+ get_params:
+ skip_download: true
+ task: comment-on-pr-with-yml-and-concourse-diffs
+ file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ params:
+ GITHUB_TOKEN: ((github-access-token))
+ CONCOURSE_TEAM: pay-dev
+ FLY_PASSWORD: ((readonly_local_user_password))
+resources:
+- name: pay-ci
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ icon: github
+- name: pkl-pipeline-pr
+ type: git
+ source:
+ disable_forks: true
+ repository: alphagov/pay-ci
+ access-token: ((github-access-token))
+ paths:
+ - ci/pkl-pipelines/
+ icon: github
+resource_types:
+- name: pull-request
+ type: registry-image
+ source:
+ respository: teliaoss/github-pr-resource
+ tag: v0.23.0
+groups:
+- name: comment-pipeline-changes-on-pr
+ jobs:
+ - comment-pipeline-changes-on-pr Concourse set-pipeline dry-run for `./pkl-pipeline-changes.yml`resources:
resource pkl-pipeline-pr has changed:
icon: github
name: pkl-pipeline-pr
source:
��- access_token: ((github-access-token))
��+ access-token: ((github-access-token))
disable_forks: true
paths:
��- - ci/pkl-pipelines/**/*.pkl
��+ - ci/pkl-pipelines/
repository: alphagov/pay-ci
��- type: pull-request
��+ type: git
resource types:
resource type pull-request has changed:
name: pull-request
source:
��- repository: teliaoss/github-pr-resource
��+ respository: teliaoss/github-pr-resource
tag: v0.23.0
type: registry-image
jobs:
job comment-pipeline-changes-on-pr has changed:
name: comment-pipeline-changes-on-pr
plan:
- in_parallel:
steps:
- get: pkl-pipeline-pr
trigger: true
version: every
- get: pay-ci
��- - params:
��+ - get_params:
��+ skip_download: true
��+ params:
context: test
path: pkl-pipeline-pr
status: pending
put: pkl-pipeline-pr
��- - file: pkl-pipeline-pr/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
��+ - file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
on_failure:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: failed
put: pkl-pipeline-pr
on_success:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: success
put: pkl-pipeline-pr
params:
CONCOURSE_TEAM: pay-dev
FLY_PASSWORD: ((readonly_local_user_password))
GITHUB_TOKEN: ((github-access-token))
task: comment-on-pr-with-yml-and-concourse-diffs
�[1mpipeline name: �[0mpkl-pipeline-changes
Dry-run mode was set, exiting. |
Diff of ./pkl-pipeline-changes.yml--- pay-ci/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
+++ pkl-pipeline-pr/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
@@ -0,0 +1,63 @@
+jobs:
+- name: comment-pipeline-changes-on-pr
+ plan:
+ - in_parallel:
+ - get: pkl-pipeline-pr
+ trigger: true
+ version: every
+ - get: pay-ci
+ - put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: pending
+ context: test
+ get_params:
+ skip_download: true
+ - on_success:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: success
+ context: test
+ get_params:
+ skip_download: true
+ on_failure:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: failed
+ context: test
+ get_params:
+ skip_download: true
+ task: comment-on-pr-with-yml-and-concourse-diffs
+ file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ params:
+ GITHUB_TOKEN: ((github-access-token))
+ CONCOURSE_TEAM: pay-dev
+ FLY_PASSWORD: ((readonly_local_user_password))
+resources:
+- name: pay-ci
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ icon: github
+- name: pkl-pipeline-pr
+ type: git
+ source:
+ disable_forks: true
+ repository: alphagov/pay-ci
+ access-token: ((github-access-token))
+ paths:
+ - ci/pkl-pipelines/
+ icon: github
+resource_types:
+- name: pull-request
+ type: registry-image
+ source:
+ respository: teliaoss/github-pr-resource
+ tag: v0.23.0
+groups:
+- name: comment-pipeline-changes-on-pr
+ jobs:
+ - comment-pipeline-changes-on-pr Concourse set-pipeline dry-run for `./pkl-pipeline-changes.yml`resources:
resource pkl-pipeline-pr has changed:
icon: github
name: pkl-pipeline-pr
source:
- access_token: ((github-access-token))
+ access-token: ((github-access-token))
disable_forks: true
paths:
- - ci/pkl-pipelines/**/*.pkl
+ - ci/pkl-pipelines/
repository: alphagov/pay-ci
- type: pull-request
+ type: git
resource types:
resource type pull-request has changed:
name: pull-request
source:
- repository: teliaoss/github-pr-resource
+ respository: teliaoss/github-pr-resource
tag: v0.23.0
type: registry-image
jobs:
job comment-pipeline-changes-on-pr has changed:
name: comment-pipeline-changes-on-pr
plan:
- in_parallel:
steps:
- get: pkl-pipeline-pr
trigger: true
version: every
- get: pay-ci
- - params:
+ - get_params:
+ skip_download: true
+ params:
context: test
path: pkl-pipeline-pr
status: pending
put: pkl-pipeline-pr
- - file: pkl-pipeline-pr/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ - file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
on_failure:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: failed
put: pkl-pipeline-pr
on_success:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: success
put: pkl-pipeline-pr
params:
CONCOURSE_TEAM: pay-dev
FLY_PASSWORD: ((readonly_local_user_password))
GITHUB_TOKEN: ((github-access-token))
task: comment-on-pr-with-yml-and-concourse-diffs
pipeline name: pkl-pipeline-changes
Dry-run mode was set, exiting. |
jfharden
force-pushed
the
pp-12343/example-pr-adding-new-pipeline
branch
from
March 11, 2024 09:32
f0c6778
to
7f92c4b
Compare
jfharden
force-pushed
the
pp-12385/pkl-dev-process
branch
2 times, most recently
from
March 11, 2024 09:36
3ffc543
to
22852df
Compare
Diff of ./pkl-pipeline-changes.yml--- pay-ci/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
+++ pkl-pipeline-pr/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
@@ -0,0 +1,63 @@
+jobs:
+- name: comment-pipeline-changes-on-pr
+ plan:
+ - in_parallel:
+ - get: pkl-pipeline-pr
+ trigger: true
+ version: every
+ - get: pay-ci
+ - put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: pending
+ context: test
+ get_params:
+ skip_download: true
+ - on_success:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: success
+ context: test
+ get_params:
+ skip_download: true
+ on_failure:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: failed
+ context: test
+ get_params:
+ skip_download: true
+ task: comment-on-pr-with-yml-and-concourse-diffs
+ file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ params:
+ GITHUB_TOKEN: ((github-access-token))
+ CONCOURSE_TEAM: pay-dev
+ FLY_PASSWORD: ((readonly_local_user_password))
+resources:
+- name: pay-ci
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ icon: github
+- name: pkl-pipeline-pr
+ type: git
+ source:
+ disable_forks: true
+ repository: alphagov/pay-ci
+ access-token: ((github-access-token))
+ paths:
+ - ci/pkl-pipelines/
+ icon: github
+resource_types:
+- name: pull-request
+ type: registry-image
+ source:
+ respository: teliaoss/github-pr-resource
+ tag: v0.23.0
+groups:
+- name: comment-pipeline-changes-on-pr
+ jobs:
+ - comment-pipeline-changes-on-pr Concourse set-pipeline dry-run for `./pkl-pipeline-changes.yml`resources:
resource pkl-pipeline-pr has changed:
icon: github
name: pkl-pipeline-pr
source:
- access_token: ((github-access-token))
+ access-token: ((github-access-token))
disable_forks: true
paths:
- - ci/pkl-pipelines/**/*.pkl
+ - ci/pkl-pipelines/
repository: alphagov/pay-ci
- type: pull-request
+ type: git
resource types:
resource type pull-request has changed:
name: pull-request
source:
- repository: teliaoss/github-pr-resource
+ respository: teliaoss/github-pr-resource
tag: v0.23.0
type: registry-image
jobs:
job comment-pipeline-changes-on-pr has changed:
name: comment-pipeline-changes-on-pr
plan:
- in_parallel:
steps:
- get: pkl-pipeline-pr
trigger: true
version: every
- get: pay-ci
- - params:
+ - get_params:
+ skip_download: true
+ params:
context: test
path: pkl-pipeline-pr
status: pending
put: pkl-pipeline-pr
- - file: pkl-pipeline-pr/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ - file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
on_failure:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: failed
put: pkl-pipeline-pr
on_success:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: success
put: pkl-pipeline-pr
params:
CONCOURSE_TEAM: pay-dev
FLY_PASSWORD: ((readonly_local_user_password))
GITHUB_TOKEN: ((github-access-token))
task: comment-on-pr-with-yml-and-concourse-diffs
pipeline name: pkl-pipeline-changes
Dry-run mode was set, exiting. |
2 similar comments
Diff of ./pkl-pipeline-changes.yml--- pay-ci/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
+++ pkl-pipeline-pr/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
@@ -0,0 +1,63 @@
+jobs:
+- name: comment-pipeline-changes-on-pr
+ plan:
+ - in_parallel:
+ - get: pkl-pipeline-pr
+ trigger: true
+ version: every
+ - get: pay-ci
+ - put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: pending
+ context: test
+ get_params:
+ skip_download: true
+ - on_success:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: success
+ context: test
+ get_params:
+ skip_download: true
+ on_failure:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: failed
+ context: test
+ get_params:
+ skip_download: true
+ task: comment-on-pr-with-yml-and-concourse-diffs
+ file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ params:
+ GITHUB_TOKEN: ((github-access-token))
+ CONCOURSE_TEAM: pay-dev
+ FLY_PASSWORD: ((readonly_local_user_password))
+resources:
+- name: pay-ci
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ icon: github
+- name: pkl-pipeline-pr
+ type: git
+ source:
+ disable_forks: true
+ repository: alphagov/pay-ci
+ access-token: ((github-access-token))
+ paths:
+ - ci/pkl-pipelines/
+ icon: github
+resource_types:
+- name: pull-request
+ type: registry-image
+ source:
+ respository: teliaoss/github-pr-resource
+ tag: v0.23.0
+groups:
+- name: comment-pipeline-changes-on-pr
+ jobs:
+ - comment-pipeline-changes-on-pr Concourse set-pipeline dry-run for `./pkl-pipeline-changes.yml`resources:
resource pkl-pipeline-pr has changed:
icon: github
name: pkl-pipeline-pr
source:
- access_token: ((github-access-token))
+ access-token: ((github-access-token))
disable_forks: true
paths:
- - ci/pkl-pipelines/**/*.pkl
+ - ci/pkl-pipelines/
repository: alphagov/pay-ci
- type: pull-request
+ type: git
resource types:
resource type pull-request has changed:
name: pull-request
source:
- repository: teliaoss/github-pr-resource
+ respository: teliaoss/github-pr-resource
tag: v0.23.0
type: registry-image
jobs:
job comment-pipeline-changes-on-pr has changed:
name: comment-pipeline-changes-on-pr
plan:
- in_parallel:
steps:
- get: pkl-pipeline-pr
trigger: true
version: every
- get: pay-ci
- - params:
+ - get_params:
+ skip_download: true
+ params:
context: test
path: pkl-pipeline-pr
status: pending
put: pkl-pipeline-pr
- - file: pkl-pipeline-pr/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ - file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
on_failure:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: failed
put: pkl-pipeline-pr
on_success:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: success
put: pkl-pipeline-pr
params:
CONCOURSE_TEAM: pay-dev
FLY_PASSWORD: ((readonly_local_user_password))
GITHUB_TOKEN: ((github-access-token))
task: comment-on-pr-with-yml-and-concourse-diffs
pipeline name: pkl-pipeline-changes
Dry-run mode was set, exiting. |
Diff of ./pkl-pipeline-changes.yml--- pay-ci/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
+++ pkl-pipeline-pr/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
@@ -0,0 +1,63 @@
+jobs:
+- name: comment-pipeline-changes-on-pr
+ plan:
+ - in_parallel:
+ - get: pkl-pipeline-pr
+ trigger: true
+ version: every
+ - get: pay-ci
+ - put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: pending
+ context: test
+ get_params:
+ skip_download: true
+ - on_success:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: success
+ context: test
+ get_params:
+ skip_download: true
+ on_failure:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: failed
+ context: test
+ get_params:
+ skip_download: true
+ task: comment-on-pr-with-yml-and-concourse-diffs
+ file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ params:
+ GITHUB_TOKEN: ((github-access-token))
+ CONCOURSE_TEAM: pay-dev
+ FLY_PASSWORD: ((readonly_local_user_password))
+resources:
+- name: pay-ci
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ icon: github
+- name: pkl-pipeline-pr
+ type: git
+ source:
+ disable_forks: true
+ repository: alphagov/pay-ci
+ access-token: ((github-access-token))
+ paths:
+ - ci/pkl-pipelines/
+ icon: github
+resource_types:
+- name: pull-request
+ type: registry-image
+ source:
+ respository: teliaoss/github-pr-resource
+ tag: v0.23.0
+groups:
+- name: comment-pipeline-changes-on-pr
+ jobs:
+ - comment-pipeline-changes-on-pr Concourse set-pipeline dry-run for `./pkl-pipeline-changes.yml`resources:
resource pkl-pipeline-pr has changed:
icon: github
name: pkl-pipeline-pr
source:
- access_token: ((github-access-token))
+ access-token: ((github-access-token))
disable_forks: true
paths:
- - ci/pkl-pipelines/**/*.pkl
+ - ci/pkl-pipelines/
repository: alphagov/pay-ci
- type: pull-request
+ type: git
resource types:
resource type pull-request has changed:
name: pull-request
source:
- repository: teliaoss/github-pr-resource
+ respository: teliaoss/github-pr-resource
tag: v0.23.0
type: registry-image
jobs:
job comment-pipeline-changes-on-pr has changed:
name: comment-pipeline-changes-on-pr
plan:
- in_parallel:
steps:
- get: pkl-pipeline-pr
trigger: true
version: every
- get: pay-ci
- - params:
+ - get_params:
+ skip_download: true
+ params:
context: test
path: pkl-pipeline-pr
status: pending
put: pkl-pipeline-pr
- - file: pkl-pipeline-pr/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ - file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
on_failure:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: failed
put: pkl-pipeline-pr
on_success:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: success
put: pkl-pipeline-pr
params:
CONCOURSE_TEAM: pay-dev
FLY_PASSWORD: ((readonly_local_user_password))
GITHUB_TOKEN: ((github-access-token))
task: comment-on-pr-with-yml-and-concourse-diffs
pipeline name: pkl-pipeline-changes
Dry-run mode was set, exiting. |
jfharden
force-pushed
the
pp-12343/example-pr-adding-new-pipeline
branch
2 times, most recently
from
March 11, 2024 10:23
e236a67
to
1274e84
Compare
…nal YAML generated from the Pkl
…course task for it
…ith error if any fail
jfharden
force-pushed
the
pp-12385/pkl-dev-process
branch
from
March 11, 2024 10:25
b6a888d
to
3f0e073
Compare
Diff of ./pkl-pipeline-changes.yml--- pay-ci/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
+++ pkl-pipeline-pr/ci/pkl-pipelines/pay-dev/pkl-pipeline-changes.yml
@@ -0,0 +1,63 @@
+jobs:
+- name: comment-pipeline-changes-on-pr
+ plan:
+ - in_parallel:
+ - get: pkl-pipeline-pr
+ trigger: true
+ version: every
+ - get: pay-ci
+ - put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: pending
+ context: test
+ get_params:
+ skip_download: true
+ - on_success:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: success
+ context: test
+ get_params:
+ skip_download: true
+ on_failure:
+ put: pkl-pipeline-pr
+ params:
+ path: pkl-pipeline-pr
+ status: failed
+ context: test
+ get_params:
+ skip_download: true
+ task: comment-on-pr-with-yml-and-concourse-diffs
+ file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ params:
+ GITHUB_TOKEN: ((github-access-token))
+ CONCOURSE_TEAM: pay-dev
+ FLY_PASSWORD: ((readonly_local_user_password))
+resources:
+- name: pay-ci
+ type: git
+ source:
+ uri: https://github.com/alphagov/pay-ci
+ branch: master
+ icon: github
+- name: pkl-pipeline-pr
+ type: git
+ source:
+ disable_forks: true
+ repository: alphagov/pay-ci
+ access-token: ((github-access-token))
+ paths:
+ - ci/pkl-pipelines/
+ icon: github
+resource_types:
+- name: pull-request
+ type: registry-image
+ source:
+ respository: teliaoss/github-pr-resource
+ tag: v0.23.0
+groups:
+- name: comment-pipeline-changes-on-pr
+ jobs:
+ - comment-pipeline-changes-on-pr Concourse set-pipeline dry-run for `./pkl-pipeline-changes.yml`resources:
resource pkl-pipeline-pr has changed:
icon: github
name: pkl-pipeline-pr
source:
- access_token: ((github-access-token))
+ access-token: ((github-access-token))
disable_forks: true
paths:
- - ci/pkl-pipelines/**/*.pkl
+ - ci/pkl-pipelines/
repository: alphagov/pay-ci
- type: pull-request
+ type: git
resource types:
resource type pull-request has changed:
name: pull-request
source:
- repository: teliaoss/github-pr-resource
+ respository: teliaoss/github-pr-resource
tag: v0.23.0
type: registry-image
jobs:
job comment-pipeline-changes-on-pr has changed:
name: comment-pipeline-changes-on-pr
plan:
- in_parallel:
steps:
- get: pkl-pipeline-pr
trigger: true
version: every
- get: pay-ci
- - params:
+ - get_params:
+ skip_download: true
+ params:
context: test
path: pkl-pipeline-pr
status: pending
put: pkl-pipeline-pr
- - file: pkl-pipeline-pr/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
+ - file: pay-ci/ci/tasks/comment-on-pr-with-pkl-pipeline-diffs.yml
on_failure:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: failed
put: pkl-pipeline-pr
on_success:
get_params:
skip_download: true
params:
context: test
path: pkl-pipeline-pr
status: success
put: pkl-pipeline-pr
params:
CONCOURSE_TEAM: pay-dev
FLY_PASSWORD: ((readonly_local_user_password))
GITHUB_TOKEN: ((github-access-token))
task: comment-on-pr-with-yml-and-concourse-diffs
pipeline name: pkl-pipeline-changes
Dry-run mode was set, exiting. |
Base automatically changed from
pp-12343/example-pr-adding-new-pipeline
to
master
March 11, 2024 10:58
This PR ended up with too many painful conflicts, so it's easier to do a new PR completely based on all the previously merged stuff #1099 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.