In the Waypoint web ui, I create a new project, and am greeted with a page that says:
There are no applications in this project yet
To create your first application, run waypoint init from the CLI
Makes sense. Then I head over to “Manage settings”. I fill out the “Git settings” and then go down to the “Waypoint.hcl settings”, select Waypoint server and paste the following into the text area:
project = "test-project"
runner {
enabled = true
poll {
enabled = true
}
data_source "git" {
url = "git@bitbucket.org:sunsparc/test-project-for-waypoint.git"
path = ""
key = <<EOF
-----BEGIN OPENSSH PRIVATE KEY-----
<snip>
VGhpcyBpcyB0aGUgbnVueWEgYml6bmlzcyBwcml2YXRlIGtleS4=
<snip>
-----END OPENSSH PRIVATE KEY-----
EOF
}
}
app "webapp" {
build {
use "docker" {}
}
deploy {
use "docker" {}
}
}
Finally, I click “Apply” and am taken right back to the initial project page with the same message:
There are no applications in this project yet
To create your first application, run waypoint init from the CLI
The waypoint.hcl
that I just submitted in the settings obviously had an app
block. Yet the server tells me that there is no project. The documentation indicates that the only required sub-stanzas are: build
and deploy
. Both of those stanzas only require the use
parameter. The Docker plugin has no required parameters. So my waypoint.hcl
configuration seems like it should be completely legitimate for setting up a basic project for taking the system for test drive.
What did I miss?