You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2017/06/07 18:41:17 UTC
[1/2] incubator-trafficcontrol git commit: This closes #653
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/master d22097612 -> f0f3758c5
This closes #653
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/f0f3758c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/f0f3758c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/f0f3758c
Branch: refs/heads/master
Commit: f0f3758c582a580030c3f340a29a800d1d71bed2
Parents: 5a8540a
Author: Dewayne Richardson <de...@apache.org>
Authored: Wed Jun 7 12:41:12 2017 -0600
Committer: Dewayne Richardson <de...@apache.org>
Committed: Wed Jun 7 12:41:12 2017 -0600
----------------------------------------------------------------------
----------------------------------------------------------------------
[2/2] incubator-trafficcontrol git commit: stop tp before clean. also,
remember to remove container first.
Posted by de...@apache.org.
stop tp before clean. also, remember to remove container first.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/5a8540ab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/5a8540ab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/5a8540ab
Branch: refs/heads/master
Commit: 5a8540abb56a4328add3f0fdca49a151bf423fec
Parents: d220976
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Wed Jun 7 12:39:40 2017 -0600
Committer: Dewayne Richardson <de...@apache.org>
Committed: Wed Jun 7 12:41:12 2017 -0600
----------------------------------------------------------------------
traffic_ops/experimental/ui/docker/clean.sh | 22 -------------------
traffic_ops/experimental/ui/docker/reset.sh | 28 ++++++++++++++++++++++++
2 files changed, 28 insertions(+), 22 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5a8540ab/traffic_ops/experimental/ui/docker/clean.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/docker/clean.sh b/traffic_ops/experimental/ui/docker/clean.sh
deleted file mode 100755
index b63afa2..0000000
--- a/traffic_ops/experimental/ui/docker/clean.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env bash
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#docker-compose -p trafficops build
-
-docker rmi traffic_portal
-docker ps -a
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5a8540ab/traffic_ops/experimental/ui/docker/reset.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/docker/reset.sh b/traffic_ops/experimental/ui/docker/reset.sh
new file mode 100755
index 0000000..91be282
--- /dev/null
+++ b/traffic_ops/experimental/ui/docker/reset.sh
@@ -0,0 +1,28 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+sudo systemctl stop traffic_portal
+
+docker rm traffic_portal_1 #remove container
+docker rmi traffic_portal #remove image
+docker ps -a
+
+sudo systemctl start traffic_portal
+
+
+