Skip to content

Commit

Permalink
Patch the ConfigMap of Tekton to disable the affinity assistant as te…
Browse files Browse the repository at this point in the history
…kton reports such an issue: tektoncd/pipeline#3480

Signed-off-by: Charles Moulliard <cmoulliard@redhat.com>
  • Loading branch information
cmoulliard committed Jun 1, 2023
1 parent ea50f32 commit a1fae22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -215,6 +215,15 @@ kubectl create clusterrolebinding admin-sa-default-quarkus-demo --clusterrole=ad
## Buildpacks build

Scenario to be executed to test the Tekton Buildpack build
Disable first the [affinity assistant](https://github.com/tektoncd/pipeline/blob/main/config/config-feature-flags.yaml#L32) to use the same PVC
```bash
kubectl patch configmap/feature-flags \
-n tekton-pipelines \
--type merge \
-p '{"data":{"disable-affinity-assistant":"true"}}'
```

Next create a branch and commit a change to trigger a pipelinerun

```bash
BRANCH_NAME=pac-buildpack-build
Expand Down

0 comments on commit a1fae22

Please sign in to comment.