[NetworkManager-openvpn/lr/gtk-4.0: 9/19] gitlab-ci: correct timestamp on dist files




commit 2a119ca9d5b182560a42bc5bff0963f6c24f1ca0
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Wed Jan 26 14:22:30 2022 +0100

    gitlab-ci: correct timestamp on dist files
    
    Sometimes the builder that runs "make dist" has clock set in future.
    This baffles the builders that use the artifacts. Make sure the
    timestamps are a-okay.

 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0449d87..f2359d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,9 @@ fedora28_from_dist:
   script:
     - tar xJf NetworkManager-openvpn-*.tar.xz
     - cd NetworkManager-openvpn-*/
+    # Sometimes the CI builder clocks are skewed.
+    # Make sure the dst files are not from future.
+    - find |xargs touch
     - dnf -y install
       NetworkManager-devel
       NetworkManager-glib-devel
@@ -77,6 +80,9 @@ fedora_from_dist:
   script:
     - tar xJf NetworkManager-openvpn-*.tar.xz
     - cd NetworkManager-openvpn-*/
+    # Sometimes the CI builder clocks are skewed.
+    # Make sure the dst files are not from future.
+    - find |xargs touch
     - ./configure
       --disable-silent-rules
     - make -j


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