-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP. e2e flow to test the generated pipelineruns
Signed-off-by: cmoulliard <[email protected]>
- Loading branch information
1 parent
b1b29eb
commit cbc2db4
Showing
4 changed files
with
3,654 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Install-tekton-test-pipelineruns | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
IDPBUILDER_VERSION: v0.6.0 | ||
|
||
TEKTON_VERSION: v0.60.1 | ||
TEKTON_CLIENT_VERSION: 0.37.0 | ||
|
||
jobs: | ||
setup-idp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install idpbuilder | ||
run: | | ||
version=${IDPBUILDER_VERSION} | ||
curl -L -o ./idpbuilder.tar.gz "https://github.com/cnoe-io/idpbuilder/releases/download/${version}/idpbuilder-$(uname | awk '{print tolower($0)}')-$(uname -m | sed 's/x86_64/amd64/').tar.gz" | ||
tar xzf idpbuilder.tar.gz | ||
sudo mv ./idpbuilder /usr/local/bin/ | ||
|
||
idpbuilder version | ||
|
||
- name: Install tekton client | ||
run: | | ||
curl -sSL "https://github.com/tektoncd/cli/releases/download/v{$TEKTON_CLIENT_VERSION}/tkn_${TEKTON_CLIENT_VERSION}_Linux_x86_64.tar.gz" -o tkn.tar.gz | ||
sudo tar xvzf tkn.tar.gz -C /usr/local/bin/ tkn | ||
tkn version | ||
|
||
- name: Create an IDP cluster and install the packages | ||
run: | | ||
PACKAGES_DIR=manifests/idp/packages | ||
idpbuilder create \ | ||
-p $PACKAGES_DIR/tekton \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: tekton | ||
namespace: argocd | ||
labels: | ||
app.kubernetes.io/name: tekton | ||
spec: | ||
destination: | ||
namespace: tekton-pipelines | ||
server: "https://kubernetes.default.svc" | ||
source: | ||
repoURL: cnoe://manifests | ||
targetRevision: HEAD | ||
path: "." | ||
project: default | ||
syncPolicy: | ||
automated: | ||
selfHeal: true | ||
syncOptions: | ||
- CreateNamespace=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
app.kubernetes.io/instance: default | ||
app.kubernetes.io/part-of: tekton-pipelines | ||
name: feature-flags | ||
namespace: tekton-pipelines | ||
data: | ||
await-sidecar-readiness: "true" | ||
coschedule: "disabled" | ||
disable-affinity-assistant: "false" | ||
disable-creds-init: "false" | ||
disable-inline-spec: "" | ||
enable-api-fields: "beta" | ||
enable-artifacts: "false" | ||
enable-cel-in-whenexpression: "false" | ||
enable-concise-resolver-syntax: "false" | ||
enable-param-enum: "false" | ||
enable-provenance-in-status: "true" | ||
enable-step-actions: "false" | ||
enable-tekton-oci-bundles: "false" | ||
enforce-nonfalsifiability: "none" | ||
keep-pod-on-cancel: "false" | ||
require-git-ssh-secret-known-hosts: "false" | ||
results-from: "termination-message" | ||
running-in-environment-with-injected-sidecars: "true" | ||
send-cloudevents-for-runs: "false" | ||
set-security-context: "false" | ||
trusted-resources-verification-no-match-policy: "ignore" |
Oops, something went wrong.