-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a40277
commit 42398d4
Showing
3 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...s/twitter-analytics-with-concourse-ci/twitter-analytics-git-repo/pipeline-apply-rules.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
jobs: | ||
- name: apply-rules | ||
public: true | ||
plan: | ||
- get: gitrepo | ||
trigger: true | ||
- task: apply-rules | ||
file: gitrepo/aptomi-task.yml | ||
input_mapping: | ||
repo: gitrepo | ||
params: | ||
ACTION: apply | ||
FILEPATH: repo/((rules-policy)) | ||
|
||
resources: | ||
- name: gitrepo | ||
type: git | ||
source: | ||
uri: ((repo)) | ||
|
54 changes: 54 additions & 0 deletions
54
...tter-analytics-with-concourse-ci/twitter-analytics-git-repo/pipeline-dev-test-changes.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
jobs: | ||
- name: deploy-dev | ||
public: true | ||
plan: | ||
- get: gitrepo | ||
trigger: false | ||
- task: deploy-dev | ||
file: gitrepo/aptomi-task.yml | ||
input_mapping: | ||
repo: gitrepo | ||
params: | ||
ACTION: apply | ||
FILEPATH: repo/((dev-policy)) | ||
|
||
- name: run-tests | ||
public: true | ||
plan: | ||
- get: gitrepo | ||
trigger: false | ||
passed: | ||
- deploy-dev | ||
- task: run-tests | ||
config: | ||
platform: linux | ||
image_resource: | ||
type: docker-image | ||
source: {repository: busybox} | ||
run: | ||
path: echo | ||
args: | ||
- Tests Passed! | ||
|
||
- name: destroy-dev | ||
public: true | ||
plan: | ||
- get: gitrepo | ||
trigger: false | ||
passed: | ||
- run-tests | ||
- task: destroy-dev | ||
file: gitrepo/aptomi-task.yml | ||
input_mapping: | ||
repo: gitrepo | ||
params: | ||
ACTION: delete | ||
FILEPATH: repo/((dev-policy)) | ||
|
||
resources: | ||
- name: gitrepo | ||
type: git | ||
source: | ||
uri: ((repo)) | ||
|
21 changes: 21 additions & 0 deletions
21
...s/twitter-analytics-with-concourse-ci/twitter-analytics-git-repo/pipeline-update-prod.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
jobs: | ||
- name: update-prod | ||
public: true | ||
plan: | ||
- get: gitrepo | ||
trigger: false | ||
- task: update-prod | ||
file: gitrepo/aptomi-task.yml | ||
input_mapping: | ||
repo: gitrepo | ||
params: | ||
ACTION: apply | ||
FILEPATH: repo/((prod-policy)) | ||
|
||
resources: | ||
- name: gitrepo | ||
type: git | ||
source: | ||
uri: ((repo)) | ||
|