* Use Nginx + Basic Auth to secure OSS Airbyte * use local passwords * Use gradle builds * K8s setup and source values from ENV * note about disabling * add back defaults * custom 401 page * update http message * update docs * remove kube files * additional doc updates * Add a test suite * fix failure exit codes * doc updates * Add docs * bump to re-test * add more sleep in tests for CI * better sleep in test * Update docs/operator-guides/security.md Co-authored-by: Davin Chia <davinchia@gmail.com> * PR updates * test comment * change test host on CI * update tests and nginx to boot without backend * proxy updates for docker DNS * simpler test for uptime * acceptance test skips PWs * remove resolver madness * fixup tests * more proxy_pass revert * update acceptance test exit codes * relax test expectations * add temporal mount back for testing * Update docs/operator-guides/security.md Co-authored-by: swyx <shawnthe1@gmail.com> * Update airbyte-proxy/401.html Co-authored-by: swyx <shawnthe1@gmail.com> * more doc updates * Octavia CLI uses Basic Auth (#17982) * [WIP] Octavia CLI uses Basic Auth * readme * augustin: add basic auth headers to clien * augustin: add basic auth headers to client * tests passing * lint * docs * Move monkey patch to test * coerce headers into strings * monkey patch get_basic_auth_token Co-authored-by: alafanechere <augustin.lafanechere@gmail.com> * fix launch permissions * Keep worker port internal * more readme Co-authored-by: Davin Chia <davinchia@gmail.com> Co-authored-by: swyx <shawnthe1@gmail.com> Co-authored-by: alafanechere <augustin.lafanechere@gmail.com>
22 lines
615 B
Groovy
22 lines
615 B
Groovy
task prepareBuild(type: Copy) {
|
|
from layout.projectDirectory.file("nginx-auth.conf.template")
|
|
from layout.projectDirectory.file("nginx-no-auth.conf.template")
|
|
from layout.projectDirectory.file("run.sh")
|
|
from layout.projectDirectory.file("401.html")
|
|
|
|
into layout.buildDirectory.dir("docker")
|
|
}
|
|
|
|
tasks.named("buildDockerImage") {
|
|
dependsOn prepareBuild
|
|
dependsOn copyDocker
|
|
}
|
|
|
|
task bashTest(type: Exec) {
|
|
dependsOn buildDockerImage
|
|
commandLine "./test.sh"
|
|
}
|
|
|
|
// we can't override the 'test' command, so we can make our bash test a dependency
|
|
test.dependsOn(project.tasks.bashTest)
|