Skip to content

Commit

Permalink
Merge pull request #231 from nikodemas/decommission_cmsmon_intelligence
Browse files Browse the repository at this point in the history
Decommission cmsmon intelligence service
  • Loading branch information
nikodemas authored Aug 9, 2023
2 parents b59a407 + 637f14f commit 052bad9
Show file tree
Hide file tree
Showing 32 changed files with 1 addition and 4,520 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/build-go-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,8 @@ jobs:
go build -o alert alert.go
go build -o annotationManager annotationManager.go
go build -o datasources datasources.go
go build -o ggus_alerting ggus_alerting.go
go build -o ggus_parser ggus_parser.go
go build -o intelligence intelligence.go
go build -o ssb_alerting ssb_alerting.go
go build -o es_exporter es_exporter.go
mv monit alert annotationManager datasources ggus_alerting \
ggus_parser intelligence ssb_alerting es_exporter ../../../cmsmon-tools
mv monit alert annotationManager datasources es_exporter ../../../cmsmon-tools
cd ../NATS
go build -o dbs_vm dbs_vm.go
go build -o nats-pub nats-pub.go
Expand Down Expand Up @@ -71,30 +66,6 @@ jobs:
id: get_tag
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}

- name: Build cmsmon-int image
run: |
echo Image tag: ${{ steps.get_tag.outputs.tag }}
curl -ksLO https://raw.githubusercontent.com/dmwm/CMSKubernetes/master/docker/cmsmon-intelligence/Dockerfile
sed -i -e "s,ENV CMSMON_TAG=.*,ENV CMSMON_TAG=${{steps.get_tag.outputs.tag}},g" Dockerfile
docker build . --tag docker.pkg.github.com/dmwm/cmsmon-int/cmsmon-int
docker tag docker.pkg.github.com/dmwm/cmsmon-int/cmsmon-int registry.cern.ch/cmsmonitoring/cmsmon-int
- name: Login to registry.cern.ch
uses: docker/[email protected]
with:
registry: registry.cern.ch
username: ${{ secrets.CERN_LOGIN }}
password: ${{ secrets.CERN_TOKEN }}

- name: Publish cmsmon-int image to registry.cern.ch
uses: docker/build-push-action@v1
with:
username: ${{ secrets.CERN_LOGIN }}
password: ${{ secrets.CERN_TOKEN }}
registry: registry.cern.ch
repository: cmsmonitoring/cmsmon-int
tag_with_ref: true

- name: Build cmsmon-alerts image
run: |
echo Image tag: ${{ steps.get_tag.outputs.tag }}
Expand Down
43 changes: 0 additions & 43 deletions scripts/ggus_alert.sh

This file was deleted.

125 changes: 0 additions & 125 deletions scripts/ggus_alert_manage

This file was deleted.

36 changes: 0 additions & 36 deletions scripts/ssb_alert.sh

This file was deleted.

141 changes: 0 additions & 141 deletions scripts/ssb_alert_manage

This file was deleted.

Loading

0 comments on commit 052bad9

Please sign in to comment.