Compare commits

..

No commits in common. '4597e2d55b0887ccfb03547447ba7c738ab7657d' and 'f07e8a837fac272fdb5d5322753b04daafd4adf9' have entirely different histories.

  1. 10
      README.md
  2. 28
      pipeline/pipeline.yaml

10
README.md

@ -1,9 +1,3 @@ @@ -1,9 +1,3 @@
# Redis clean trigger
Will clean the Redis Stream and leave only the specified amount of posts
## By number and not by time
Redis can't remove old post by date, only by how many you want to be left. Not optimal.
# alarmlist_trigger
Microservice trigger of larmlist updates

28
pipeline/pipeline.yaml

@ -64,19 +64,6 @@ resources: @@ -64,19 +64,6 @@ resources:
admin_cert: ((demo_kube_admin_cert))
resource_type: cronjob
resource_name: redis-clean-trigger
- name: pull_image
type: docker-image-resource
source:
repository: 935062023832.dkr.ecr.eu-west-1.amazonaws.com/redis_clean_trigger
aws_access_key_id: ((aws_access_key_ecr))
aws_secret_access_key: ((aws_secret_key_ecr))
- name: push_image
type: docker-image-resource
source:
repository: smartenergi/redis_clean_trigger
username: ((dockerhub_user))
password: ((dockerhub_password))
jobs:
- name: "Build"
@ -163,18 +150,3 @@ jobs: @@ -163,18 +150,3 @@ jobs:
*Build Pipeline Name*: $BUILD_PIPELINE_NAME
*Job*: Deploy to demo
*URL*: http://pipeline.smartenergi.io:8080/builds/$BUILD_ID
- name: Pull_and_push_2_hub
public: true
serial: false
plan:
- get: version
trigger: true
passed: ["Build"]
- get: pull_image
params:
save: true
- put: push_image
params:
load: pull_image
tag_file: version/number
get_params: { skip_download: true }

Loading…
Cancel
Save