Skip to content
Duty Free is for resources (NOT LIVE YET!)
HTML Go CSS Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci Remove team alias Jul 16, 2019
dev Add version to resource tile Jul 2, 2019
matchers Add description to index.html Jun 18, 2019
sitegenerator List of categories shown in a stable way Jul 9, 2019
static Add some spacing to the bottom of the tags, needed when example is no… Jul 4, 2019
.gitignore .gitignore Jun 4, 2019
LICENSE Initial commit May 27, 2019
README.md Update README.md Jul 4, 2019
dutyfree_suite_test.go
dutyfree_test.go Add github icon linking to resource repository Jun 20, 2019
go.mod Bump github.com/otiai10/copy from 1.0.1 to 1.0.2 Sep 16, 2019
go.sum
main.go Adding logs for page generation Jul 4, 2019
resources.yml Add concourse-opsman-installations-resource Aug 14, 2019

README.md

DutyFree

Duty Free is a website for showcasing re-usable components of Concourse. With DutyFree, Concourse users can explore and discover resources written by the community

Duty Free website

  • Duty Free is hosted on github pages https://concourse.github.io/dutyfree
  • To generate the Duty Free html files locally, the main.go file is executed, passing a destination folder for the html files and resources.yml as arguments, e.g. go run main.go /tmp/folder resources.yml
  • a Concourse pipeline for running tests and deploying to Github pages is available in the ci folder; it requires
    • ssh key (as ci.private) for pushing to the gh-pages branch
    • Github token (as github_token) to retrieve the ReadMe of the resources from Github
    • Slack hook, to notify about a new push deployment of the website
  • The website is rebuilt every day (9am UTC) to refresh the content of ReadMe of the resources

Run a development server

go run dev/dev.go

Mock resources are defined in dev.go. A mock server is used instead of connecting to Github to download the ReadMes.

Tests

ginkgo -r or go test ./...

You can’t perform that action at this time.