Skip to content

Commit

Permalink
Decommission cmsmon intelligence service
Browse files Browse the repository at this point in the history
  • Loading branch information
nikodemas committed Jun 12, 2023
1 parent 6c1208c commit 241fb91
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 2,957 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/build-go-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
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
ggus_parser ssb_alerting 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 +70,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
Loading

0 comments on commit 241fb91

Please sign in to comment.