Skip to content

Commit

Permalink
Use Latest to automatically inventory, which can be cloned later for …
Browse files Browse the repository at this point in the history
…the release version

- rename the concourse pipeline
- remove slack notifications

Co-authored-by: Priya Selvaganesan <pselvaganesa@vmware.com>
  • Loading branch information
LukeWinikates and priyaselvaganesan committed Sep 8, 2023
1 parent 44c43ec commit 3126796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
19 changes: 0 additions & 19 deletions ci/pipelines/osspi-wavefront-sdk-go/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
---
resource_types:
- name: slack-alert
type: docker-image
source:
repository: harbor-repo.vmware.com/dockerhub-proxy-cache/arbourd/concourse-slack-alert-resource

resources:
- name: osspi-tool
type: git
Expand All @@ -13,11 +7,6 @@ resources:
uri: git@gitlab.eng.vmware.com:source-insight-tooling/norsk-to-osspi.git
private_key: ((tas2to-osspi.norsk-to-osspi-private-key))
branch: main
- name: slack-notify
type: slack-alert
source:
url: ((tas2to-osspi.slack-webhook))
channel: tas2to-build-alerts
- name: wavefront-sdk-go
type: git
source:
Expand All @@ -27,14 +16,6 @@ resources:

jobs:
- name: wavefront-sdk-go-scan
on_failure:
put: slack-notify
params:
alert_type: failed
on_error:
put: slack-notify
params:
alert_type: errored
serial: true
plan:
- in_parallel:
Expand Down
4 changes: 2 additions & 2 deletions ci/pipelines/osspi-wavefront-sdk-go/set_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ fly -t runway sync || (
)

pipeline_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
VERSION=${VERSION:-"0.14.0"}
VERSION=${VERSION:-"Latest"}
OSM_ENVIRONMENT=${OSM_ENVIRONMENT:-"production"}
echo "using OSM_ENVIRONMENT: ${OSM_ENVIRONMENT}. Valid environments are beta and production"

fly --target runway set-pipeline \
--pipeline "osspi-wavefront-sdk-go-${VERSION}" \
--pipeline "osspi-wavefront-sdk-go" \
--config "${pipeline_dir}/pipeline.yml" \
--var osm-environment="${OSM_ENVIRONMENT}" \
--var version="${VERSION}"
Expand Down

0 comments on commit 3126796

Please sign in to comment.