...

/

Exploring Quickstart Project Files

Exploring Quickstart Project Files

This lesson explores the various files inside the jx-go repository.

Exploring the Github repository

Let’s see what Jenkins X created and pushed to GitHub.

⚠️ Please replace [...] with your GitHub username before executing the commands that follow.

Press + to interact
GH_USER=[...]
open "https://github.com/$GH_USER/jx-go"

We can see that Jenkins X created quite a few files.

GitHub repository with a newly created Jenkins X quickstart project
GitHub repository with a newly created Jenkins X quickstart project

Exploring the local project repository

The repository was also created locally, so let’s take a closer look at the generated files.

Press + to interact
cd jx-go
ls -1

The output is as follows:

Press + to interact
Dockerfile
Makefile
OWNERS
OWNERS_ALIASES
README.md
charts
curlloop.sh
jenkins-x.yml
main.go
skaffold.yaml
watch.sh

The Makefile

Let’s go through each of those files and directories and explore what we got. The first in line is Makefile.

Press + to interact
cat Makefile

I won’t go into much detail about the Makefile since it is made specifically for Go applications, and that might not be your favorite language. Not all quickstart packs use Makefile. Instead, each tends to leverage methods appropriate ...