From d5994793910ab92e4b8e003ce8452749a9c7befe Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 16:23:22 +0000 Subject: [PATCH 01/16] test: install git before hugo --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb0d1f9..a60ed1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: publysher/hugo pages: script: + - apt-get install git - hugo artifacts: paths: From 99315ef3a13b3d0f58655668633fc85ce940314b Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 16:26:28 +0000 Subject: [PATCH 02/16] test1: install git --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a60ed1a..b517586 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: publysher/hugo pages: script: - - apt-get install git + - sudo apt-get install git-all - hugo artifacts: paths: From cac38c21b6c1ca6736c2d5b804ba2f4dffdd90a4 Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 16:28:11 +0000 Subject: [PATCH 03/16] test2: install git --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b517586..d002dde 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: publysher/hugo pages: script: - - sudo apt-get install git-all + - apt-get install git-all - hugo artifacts: paths: From ed91faff5df3836b12c5e9fb94d9db0edd9292f1 Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 16:30:32 +0000 Subject: [PATCH 04/16] removing test: apt-get did not work --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d002dde..fb0d1f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ image: publysher/hugo pages: script: - - apt-get install git-all - hugo artifacts: paths: From 36a5e0d5ab1d37a11f7847e06c45b180d00f6565 Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 19:49:31 +0000 Subject: [PATCH 05/16] update config - custom domain --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 448c565..4a02a9d 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,7 @@ contentdir = "content" layoutdir = "layouts" publishdir = "public" -baseurl = "https://pages.gitlab.io/hugo/" +baseurl = "http://hugo.ramosmd.ml" title = "Hugo Blog Template for GitLab Pages" canonifyurls = true theme = "Lanyon" From ac5838a462e6423ceb8a0b0e0cf0a7d8253bd0e7 Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 21:51:16 +0000 Subject: [PATCH 06/16] test4: apt-get -qq + cache --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb0d1f9..5f19ee2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,12 @@ image: publysher/hugo +cache: + paths: + - /var/cache/apt/archives/ + +before_script: + - noninteractive apt-get -qq install -y --no-install-recommends git-all + pages: script: - hugo From d635249096a439b03ab44d9bf8881c0f41436fdd Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 21:52:52 +0000 Subject: [PATCH 07/16] test5: apt-get git-all + cache --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f19ee2..1f27abc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ cache: - /var/cache/apt/archives/ before_script: - - noninteractive apt-get -qq install -y --no-install-recommends git-all + - apt-get -qq install -y git-all pages: script: From 1dc9690f6ebfda6480732d6aaead4b9a3d4a57ed Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 21:54:47 +0000 Subject: [PATCH 08/16] test6: apt-get git --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f27abc..c885e6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ cache: - /var/cache/apt/archives/ before_script: - - apt-get -qq install -y git-all + - apt-get -qq install -y git pages: script: From ca07445538a5ce276f7ec644b0713d863070bf0b Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 22:01:48 +0000 Subject: [PATCH 09/16] test6: apt-get git-core --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c885e6b..5351b5b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ cache: - /var/cache/apt/archives/ before_script: - - apt-get -qq install -y git + - apt-get install git-core pages: script: From a93b5e4071c606c084653b58ff73ee7b142b2eaa Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 22:06:05 +0000 Subject: [PATCH 10/16] test7: apt-get install git from the source --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5351b5b..e4d5d82 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,13 @@ cache: - /var/cache/apt/archives/ before_script: - - apt-get install git-core + - apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev build-essential + - wget https://github.com/git/git/archive/v1.9.4.tar.gz + - tar -zxf v1.9.4.tar.gz + - cd git-1.9.4 + - git config --global user.name "NewUser" + - git config --global user.email newuser@example.com + - git config --list pages: script: From dee98808dcd84c3ea5516a756791c8cb78d0948f Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 22:09:46 +0000 Subject: [PATCH 11/16] test8: list packages --- .gitlab-ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4d5d82..fa9f3a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,13 +5,7 @@ cache: - /var/cache/apt/archives/ before_script: - - apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev build-essential - - wget https://github.com/git/git/archive/v1.9.4.tar.gz - - tar -zxf v1.9.4.tar.gz - - cd git-1.9.4 - - git config --global user.name "NewUser" - - git config --global user.email newuser@example.com - - git config --list + - dpkg -l pages: script: From 7510c8fb32bc2cc2b0d07c78437dcea8043f4980 Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 22:16:55 +0000 Subject: [PATCH 12/16] test9: apt-get update before apt-get git-core --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa9f3a6..e630362 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,11 @@ cache: - /var/cache/apt/archives/ before_script: - - dpkg -l + - apt-get update + - apt-get install git-core + - git config --global user.name "User Name" + - git config --global user.email "user@example.com" + - git config --list pages: script: From 7924d270887619f7c8c24406ed01cca93c71e9a9 Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 22:19:35 +0000 Subject: [PATCH 13/16] test10: -qq --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e630362..57f002a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ cache: before_script: - apt-get update - - apt-get install git-core + - apt-get -qq install git-core - git config --global user.name "User Name" - git config --global user.email "user@example.com" - git config --list From 36156ff4cf5baec61ea058a94562106181e3c07c Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 22:26:00 +0000 Subject: [PATCH 14/16] test build after test10 --- content/posts/newest.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/posts/newest.md b/content/posts/newest.md index 033e12f..e2798fc 100644 --- a/content/posts/newest.md +++ b/content/posts/newest.md @@ -10,6 +10,8 @@ categories: ## First Heading +### HELLO WORLD! + Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus, consequatur aspernatur omnis iste. Voluptates, id inventore ea natus ab sed amet ipsa ratione sunt dignissimos. Soluta illum aliquid repellendus recusandae. ### Sub From b4178e4531623a06feb68684f174140a53570df9 Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 22:27:40 +0000 Subject: [PATCH 15/16] test11: remove cache --- .gitlab-ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 57f002a..83abfca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,5 @@ image: publysher/hugo -cache: - paths: - - /var/cache/apt/archives/ - before_script: - apt-get update - apt-get -qq install git-core From e8f5c3be1fc7ed7245a69d50e08025320aeece6a Mon Sep 17 00:00:00 2001 From: Virtua Creative Date: Tue, 19 Apr 2016 23:32:56 +0000 Subject: [PATCH 16/16] Revert "test11: remove cache" This reverts commit b4178e4531623a06feb68684f174140a53570df9 --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83abfca..57f002a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,9 @@ image: publysher/hugo +cache: + paths: + - /var/cache/apt/archives/ + before_script: - apt-get update - apt-get -qq install git-core