mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-05-17 12:03:09 +00:00
test: add robots.txt pass to tekton
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -72,7 +72,7 @@ spec:
|
|||||||
name: kaniko
|
name: kaniko
|
||||||
params:
|
params:
|
||||||
- name: IMAGE
|
- name: IMAGE
|
||||||
value: registry.int.xeserv.us/xeiaso.net/site/ci:$(tasks.clone-repo.results.version)
|
value: $(params.docker-image-base)/anubis/ci:$(tasks.clone-repo.results.version)
|
||||||
- name: DOCKERFILE
|
- name: DOCKERFILE
|
||||||
value: ./test/ssh-ci/Dockerfile
|
value: ./test/ssh-ci/Dockerfile
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
@@ -166,24 +166,32 @@ spec:
|
|||||||
value:
|
value:
|
||||||
- ./cmd/anubis
|
- ./cmd/anubis
|
||||||
- name: integration
|
- name: integration
|
||||||
runAfter: ["provision-test-cluster", "go-test"]
|
runAfter:
|
||||||
|
- "provision-test-cluster"
|
||||||
|
- "build-assets"
|
||||||
|
- "test-anubis"
|
||||||
matrix:
|
matrix:
|
||||||
params:
|
params:
|
||||||
- name: test-case
|
- name: test-case
|
||||||
value:
|
value:
|
||||||
- default-config-macro
|
- default-config-macro
|
||||||
|
- robots_txt
|
||||||
taskSpec:
|
taskSpec:
|
||||||
|
params:
|
||||||
|
- name: test-case
|
||||||
|
type: string
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: repo
|
- name: repo
|
||||||
mountPath: /src
|
mountPath: /src
|
||||||
env:
|
|
||||||
- name: KUBECONFIG
|
|
||||||
value: "$(workspaces.repo.path)/kube/config"
|
|
||||||
steps:
|
steps:
|
||||||
- name: default-config-macro
|
- name: exec
|
||||||
image: $(tasks.docker-build-ci.results.IMAGE_URL)@$(tasks.docker-build-ci.results.IMAGE_DIGEST)
|
image: $(tasks.docker-build-ci.results.IMAGE_URL)@$(tasks.docker-build-ci.results.IMAGE_DIGEST)
|
||||||
workingDir: $(workspaces.repo.path)/repo/test/$(params.test-case)
|
workingDir: $(workspaces.repo.path)/repo/test/$(params.test-case)
|
||||||
script: ./tekton.sh
|
script: |
|
||||||
|
./tekton.sh
|
||||||
|
env:
|
||||||
|
- name: KUBECONFIG
|
||||||
|
value: "$(workspaces.repo.path)/kube/config"
|
||||||
- name: teardown-cluster
|
- name: teardown-cluster
|
||||||
runAfter: ["provision-test-cluster", "go-test", "integration"]
|
runAfter: ["provision-test-cluster", "go-test", "integration"]
|
||||||
taskSpec:
|
taskSpec:
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
exec ./test.sh
|
||||||
Reference in New Issue
Block a user