Skip to contentSkip to conversation

utilities/gitlab-ci: Fully update system before building

PATCH In review Leonardo Bras 3 participants 5 messages Aug 4, 2023 – Aug 6, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utilities/gitlab-ci: Fully update system before building

Some recent CI errors come from the incompatibility between packages pre-installed in the docker image and the ones installed via pacman.

To avoid this, make a full system upgrade when installing the needed packages.

---
 utilities/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utilities/gitlab-ci.yml +2 -2
index 544b9373..bcda8712 100644
@@ -9,7 +9,7 @@ test_codesamples:
     stage: test
 
     before_script:
-        - pacman --noconfirm -Sy make gcc liburcu
+        - pacman --noconfirm -Syu make gcc liburcu
 
     script:
         - make -C CodeSamples/
@@ -19,7 +19,7 @@ generate_pdfs:
     stage: build
 
     before_script:
-        - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
+        - pacman --noconfirm -Syu texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
 
     script:
Signature · 1 line
2.41.0
#1 lore raw
Quoted 25 lines · Leonardo Bras

Some recent CI errors come from the incompatibility between packages pre-installed in the docker image and the ones installed via pacman.

To avoid this, make a full system upgrade when installing the needed packages.

---
 utilities/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utilities/gitlab-ci.yml +1 -1
index 544b9373..bcda8712 100644
@@ -9,7 +9,7 @@ test_codesamples:
     stage: test
 
     before_script:
-        - pacman --noconfirm -Sy make gcc liburcu
+        - pacman --noconfirm -Syu make gcc liburcu
 
     script:
         - make -C CodeSamples/

utilities/gitlab-ci.yml generate_pdfs: · line 25

Quoted 8 lines
utilities/gitlab-ci.yml +1 -1
@@ -19,7 +19,7 @@ generate_pdfs:
     stage: build
 
     before_script:
-        - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
+        - pacman --noconfirm -Syu texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
 
     script:

Sorry about resending.
I had an issue with credentials, please ignore the ones sent from my employer
account: the gmail is the correct one.

#2 lore raw
Quoted 33 lines · Leonardo Brás
Quoted 32 lines · Leonardo Bras

Some recent CI errors come from the incompatibility between packages pre-installed in the docker image and the ones installed via pacman.

To avoid this, make a full system upgrade when installing the needed packages.

---
 utilities/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utilities/gitlab-ci.yml +2 -2
index 544b9373..bcda8712 100644
@@ -9,7 +9,7 @@ test_codesamples:
     stage: test
 
     before_script:
-        - pacman --noconfirm -Sy make gcc liburcu
+        - pacman --noconfirm -Syu make gcc liburcu
 
     script:
         - make -C CodeSamples/
@@ -19,7 +19,7 @@ generate_pdfs:
     stage: build
 
     before_script:
-        - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
+        - pacman --noconfirm -Syu texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
 
Quoted 5 lines

utilities/gitlab-ci.yml generate_pdfs: · line 25

Quoted 1 line
utilities/gitlab-ci.yml +0 -0
     script:

Sorry about resending.
I had an issue with credentials, please ignore the ones sent from my employer
account: the gmail is the correct one.

Ah, I queued the wrong one. I updated it and pushed it out, could you please double check?

Thanx, Paul

#3 lore raw
Quoted 34 lines · Paul E. McKenney
Quoted 33 lines · Leonardo Brás
Quoted 32 lines · Leonardo Bras

Some recent CI errors come from the incompatibility between packages pre-installed in the docker image and the ones installed via pacman.

To avoid this, make a full system upgrade when installing the needed packages.

---
 utilities/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utilities/gitlab-ci.yml +2 -2
index 544b9373..bcda8712 100644
@@ -9,7 +9,7 @@ test_codesamples:
     stage: test
 
     before_script:
-        - pacman --noconfirm -Sy make gcc liburcu
+        - pacman --noconfirm -Syu make gcc liburcu
 
     script:
         - make -C CodeSamples/
@@ -19,7 +19,7 @@ generate_pdfs:
     stage: build
 
     before_script:
-        - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
+        - pacman --noconfirm -Syu texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
 
Quoted 8 lines
Quoted 5 lines

utilities/gitlab-ci.yml generate_pdfs: · line 25

Quoted 1 line
utilities/gitlab-ci.yml +0 -0
     script:

Sorry about resending.
I had an issue with credentials, please ignore the ones sent from my employer
account: the gmail is the correct one.

Ah, I queued the wrong one. I updated it and pushed it out, could you please double check?

Yeap, it's correct. Thanks!

(Sorry about the overhead)

Leo

Quoted 2 lines

Thanx, Paul

#4 lore raw
Quoted 41 lines · Leonardo Brás
Quoted 40 lines · Paul E. McKenney
Quoted 38 lines · Leonardo Brás
Quoted 25 lines · Leonardo Bras

Some recent CI errors come from the incompatibility between packages pre-installed in the docker image and the ones installed via pacman.

To avoid this, make a full system upgrade when installing the needed packages.

---
 utilities/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utilities/gitlab-ci.yml +1 -1
index 544b9373..bcda8712 100644
@@ -9,7 +9,7 @@ test_codesamples:
     stage: test
 
     before_script:
-        - pacman --noconfirm -Sy make gcc liburcu
+        - pacman --noconfirm -Syu make gcc liburcu
 
     script:
         - make -C CodeSamples/

utilities/gitlab-ci.yml generate_pdfs: · line 25

Quoted 8 lines
utilities/gitlab-ci.yml +1 -1
@@ -19,7 +19,7 @@ generate_pdfs:
     stage: build
 
     before_script:
-        - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
+        - pacman --noconfirm -Syu texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
 
     script:

Sorry about resending.
I had an issue with credentials, please ignore the ones sent from my employer
account: the gmail is the correct one.

Quoted 6 lines
Quoted 2 lines

Ah, I queued the wrong one. I updated it and pushed it out, could you please double check?

Yeap, it's correct. Thanks!

(Sorry about the overhead)

No problem, as long as we have it set up correctly. ;-)

Thanx, Paul