8db0260e493d4ec6cee69c9b7db6ba6576001b76
[osm/devops.git] / installers / test_track.sh
1 #!/bin/bash
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15
16 source ../common/track
17
18 RELEASE="ReleaseTEN"
19 OSM_DOCKER_TAG=latest
20 OSM_TRACK_INSTALLATION_ID="$(date +%s)-$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16)"
21
22 track
23 track start
24 sleep 1
25 track start release $RELEASE
26 sleep 1
27 track start docker_tag $OSM_DOCKER_TAG none none
28 sleep 1
29 track start release $RELEASE none none docker_tag $OSM_DOCKER_TAG none none
30 sleep 1
31 track my-event my-op my-value "My comment" "tag1,tag2"
32 sleep 1
33 track my-second-event op1 value1 "My comment1 on second event" none op2 value2 "My comment2 on second event" none
34