Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gateway deployment for Pipelines as Code #117

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

fgiloux
Copy link
Contributor

@fgiloux fgiloux commented Jun 18, 2022

This provides the manifest and a workflow for deploying a gateway.
There are however limitations and issues:

  • ingress is broken with kcp 0.5
  • there is no controller watching EventListeners, which means that the gateway is statically configured for Pipelines as Code but in its current state does not support Tekton Triggers
  • PipelineRuns triggered by PaC are not visible in any kcp workspace

These aspects will be addressed in phase 2.

Signed-off-by: Frederic Giloux [email protected]

@fgiloux fgiloux requested review from Roming22 and bnallapeta June 21, 2022 03:52
gitops/sre/.tekton/gateway-deployment.yaml Outdated Show resolved Hide resolved
}

install_gateway () {
KUBECONFIG=${kcp_kcfg}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you are using KUBECONFIG directly in line 94, this can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true. Thanks.

images/gateway/install.sh Outdated Show resolved Hide resolved
images/gateway/install.sh Outdated Show resolved Hide resolved
@@ -39,7 +39,7 @@ prechecks () {
exit 1
fi

KCP_ORG=${KCP_WORKSPACE:-}
KCP_WORKSPACE=${KCP_WORKSPACE:-}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is old. Rebasing should remove this file.

.github/workflows/gateway-deployment-image.yaml Outdated Show resolved Hide resolved
images/gateway/install.sh Show resolved Hide resolved
images/gateway/install.sh Outdated Show resolved Hide resolved
images/gateway/install.sh Outdated Show resolved Hide resolved
@fgiloux
Copy link
Contributor Author

fgiloux commented Jun 29, 2022

@bnallapeta @Roming22 anything preventing the merge of this PR?

@fgiloux fgiloux force-pushed the gateway branch 2 times, most recently from 9529640 to ce41e3a Compare June 29, 2022 15:22
@fgiloux
Copy link
Contributor Author

fgiloux commented Jun 29, 2022

@bnallapeta I should have addressed your requets

Copy link
Contributor

@bnallapeta bnallapeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Merging the PR.

@bnallapeta bnallapeta merged commit 49b92e0 into openshift-pipelines:main Jun 29, 2022
@bnallapeta bnallapeta mentioned this pull request Jun 30, 2022
@fgiloux fgiloux deleted the gateway branch September 8, 2022 07:33
Roming22 pushed a commit that referenced this pull request Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants