-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: upgrading the examples to the newest hugo version * chore: updating the default values in the descriptions of the html-proofer * fix: removing trailling spaces * chore: updating the hugo orb to match orb-tools-orb latest version * chore: upgrade the hugo orb to follow orb-tools-orb version 12 * chore: updating the test-deploy yaml to be compatible with orb tools orb 12 * fix: fixing the way publish is called in the test yaml * fix: checking which command is being run to debug * fix: debugging bash script * fix: debugging using echo * fix: updating hugo version for tests * fix: fixing the way hugo is being called * fix: fixing the hugo executor with a newer version of both go and hugo * fix: fixing bad reference for cimg/go version tag * fix: fixing the way the hugo/executor is being called * fix: using shallow clones * fix: update macos test * fix: updating the resource class given that the job seems to need more memory * fix: updating resource class to medium+ * fix: upgrading the resource class to large * fix: xlarge resource * fix: updating executor to entrypoint instead of command * fix: removed hugo specified version * fix: changing the way to install hugo * fix: updating the docker image to be used which already has a hugo binary installed * fix: fixing the hugo executor * fix: typo in the name of the excutor docker image
- Loading branch information
1 parent
440d0c6
commit 48c070d
Showing
9 changed files
with
40 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
version: 2.1 | ||
orbs: | ||
hugo: circleci/hugo@dev:<<pipeline.git.revision>> | ||
orb-tools: circleci/[email protected] | ||
hugo: {} | ||
orb-tools: circleci/[email protected] | ||
|
||
filters: &filters | ||
tags: | ||
only: /.*/ | ||
|
||
release-filters: &release-filters | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ | ||
|
||
jobs: | ||
integration-test-hugo: | ||
executor: | ||
name: hugo/default | ||
tag: "0.120.4" | ||
steps: | ||
- run: | ||
name: "Check out Hugo Docs as a sample project." | ||
command: | | ||
git clone "https://github.com/gohugoio/hugoDocs.git" ~/project | ||
git clone --depth=1 "https://github.com/gohugoio/hugoDocs.git" ~/project | ||
rm ~/project/content/en/content-management/related.md | ||
- hugo/hugo-build | ||
- run: | ||
|
@@ -27,25 +34,25 @@ jobs: | |
- run: | ||
name: "Check out Hugo Docs as a sample project." | ||
command: | | ||
git clone "https://github.com/gohugoio/hugoDocs.git" ~/project | ||
git clone --depth=1 "https://github.com/gohugoio/hugoDocs.git" ~/project | ||
rm ~/project/content/en/content-management/related.md | ||
- hugo/install: | ||
version: "0.120.4" | ||
version: "0.142.0" | ||
- hugo/hugo-build | ||
- run: | ||
name: "Basic Test" | ||
command: hugo version | ||
integration-test-macos: | ||
macos: | ||
xcode: 14.1.0 | ||
xcode: 16.2.0 | ||
steps: | ||
- run: | ||
name: "Check out Hugo Docs as a sample project." | ||
command: | | ||
git clone "https://github.com/gohugoio/hugoDocs.git" ~/project | ||
git clone --depth=1 "https://github.com/gohugoio/hugoDocs.git" ~/project | ||
rm ~/project/content/en/content-management/related.md | ||
- hugo/install: | ||
version: "0.120.4" | ||
version: "0.142.0" | ||
- hugo/hugo-build | ||
- run: | ||
name: "Basic Test" | ||
|
@@ -63,9 +70,9 @@ workflows: | |
- orb-tools/pack: | ||
filters: *filters | ||
- orb-tools/publish: | ||
orb-name: circleci/hugo | ||
vcs-type: << pipeline.project.type >> | ||
pub-type: production | ||
orb_name: circleci/hugo | ||
vcs_type: << pipeline.project.type >> | ||
pub_type: production | ||
requires: | ||
- orb-tools/pack | ||
- integration-test-hugo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ display: | |
home_url: "https://gohugo.io/" | ||
|
||
orbs: | ||
detect: circleci/os-detect@0.2 | ||
detect: circleci/os-detect@0.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
description: "The cibuilds/hugo Docker image." | ||
parameters: | ||
tag: | ||
description: "The `cibuilds/hugo` Docker image version tag." | ||
hugo_version: | ||
description: "Specifies the hugo version to install" | ||
type: string | ||
default: "latest" | ||
default: "0.142.0" | ||
docker: | ||
- image: cibuilds/hugo:<< parameters.tag >> | ||
- image: cibuilds/hugo:<< parameters.hugo_version >> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters