-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decommission cmsmon intelligence service
- Loading branch information
Showing
25 changed files
with
1 addition
and
2,957 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
Oops, something went wrong.