[gimp-web/oscp] README: update.



commit 7020840cda31288f52f4a554feabae2cfa51e492
Author: Jehan <jehan girinstud io>
Date:   Fri Feb 25 20:58:48 2022 +0100

    README: update.

 README | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/README b/README
index 344cc773..d1322c68 100644
--- a/README
+++ b/README
@@ -112,4 +112,23 @@ oc get pods
 oc logs -f regenerate-manual-2022-02-25-jehan-1-qj2wm
 ```
 
-  More commands may be available if you look at `oc` help docs.
+- The pod is automatically restarted and sometimes the logs simply
+  restart. By the time you realize it, if you start `oc logs` after the
+  job restart, you'll get logs of the new run, so you'd miss the error.
+  Since you don't want to waste time waiting a full new build, the
+  command to see the previous logs is:
+
+```
+oc logs --previous regenerate-manual-2022-02-25-jehan-1-qj2wm
+```
+
+- If you want to delete the job after you fixed the scripts, rather than
+  seeing it restart (and obviously always fail) several times, run:
+
+```
+oc delete job regenerate-manual-2022-02-25-jehan-1
+```
+
+- Then create a new job as shown above.
+
+- More commands may be available if you look at `oc` help docs.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]