-
Notifications
You must be signed in to change notification settings - Fork 4
Updates to Packages #67
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
Changes from all commits
8eb85a4
12303ff
35d50d5
0ce5544
2181e3c
951ee21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| apiVersion: tekton.dev/v1beta1 | ||
| kind: Pipeline | ||
| metadata: | ||
| name: p-git-collin-test | ||
| spec: | ||
| description: | | ||
| prints the README.md from the selected repo & branch | ||
| params: | ||
bashbang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - name: repo-url | ||
| type: string | ||
| description: The git repository URL to clone from. | ||
| - name: branch-name | ||
| type: string | ||
| description: The git branch to clone. | ||
| workspaces: | ||
| - name: shared-data | ||
| description: | | ||
| This workspace will receive the cloned git repo and be passed | ||
| to the next Task for the repo's README.md file to be read. | ||
| - name: ssh-creds | ||
| description: | | ||
| This workspace will provide ssh credentials to the git-clone task. | ||
| tasks: | ||
| - name: fetch-repo | ||
| taskRef: | ||
| name: git-clone | ||
| workspaces: | ||
| - name: output | ||
| workspace: shared-data | ||
| - name: ssh-directory | ||
| workspace: ssh-creds | ||
| params: | ||
| - name: url | ||
| value: $(params.repo-url) | ||
| - name: revision | ||
| value: $(params.branch-name) | ||
| # - name: cat-readme | ||
| # runAfter: ["fetch-repo"] # Wait until the clone is done before reading the readme. | ||
| # workspaces: | ||
| # - name: source | ||
| # workspace: shared-data | ||
| # taskSpec: | ||
| # workspaces: | ||
| # - name: source | ||
| # steps: | ||
| # - image: zshusers/zsh:4.3.15 | ||
| # script: | | ||
| # #!/usr/bin/env zsh | ||
| # cat $(workspaces.source.path)/README.md | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| apiVersion: tekton.dev/v1beta1 | ||
| kind: PipelineRun | ||
| metadata: | ||
| generateName: git-clone-checking-out-a-branch- | ||
| spec: | ||
| # podTemplate: | ||
| # affinity: | ||
| # podAntiAffinity: | ||
| # requiredDuringSchedulingIgnoredDuringExecution: | ||
| # - labelSelector: | ||
| # matchExpressions: | ||
| # - key: "tekton.dev/pipelineRun" | ||
| # operator: In | ||
| # values: | ||
| # - git-clone-checking-out-a-branch | ||
| # topologyKey: kubernetes.io/hostname | ||
| pipelineRef: | ||
| name: p-git-collin-test | ||
| workspaces: | ||
| - name: shared-data | ||
| volumeClaimTemplate: | ||
| spec: | ||
| accessModes: | ||
| - ReadWriteOnce | ||
| resources: | ||
| requests: | ||
| storage: 1Gi | ||
| - name: ssh-creds | ||
| secret: | ||
| secretName: tkn-ssh-credentials | ||
| params: | ||
| - name: repo-url | ||
| value: git@github.com:gregnrobinson/envoytun.git | ||
| - name: branch-name | ||
bashbang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| value: main | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,14 +2,14 @@ FROM public.ecr.aws/ubuntu/ubuntu:24.04_stable | |
|
|
||
| SHELL ["/bin/bash", "-c"] | ||
|
|
||
| RUN apt-get -y update && \ | ||
| apt-get -y upgrade | ||
|
|
||
| ARG DEBIAN_FRONTEND=noninteractive | ||
| ARG TARGETPLATFORM | ||
| ARG GH_VERSION="2.82.1" | ||
| ARG GH_VERSION="2.89.0" | ||
| ARG MONGODB_VERSION="8.2" | ||
|
|
||
| RUN apt-get -y install \ | ||
| RUN apt-get -y update && \ | ||
| apt-get -y upgrade && \ | ||
| apt-get -y install \ | ||
| build-essential \ | ||
| curl \ | ||
| dnsutils \ | ||
|
|
@@ -33,13 +33,14 @@ RUN apt-get -y install \ | |
| unzip \ | ||
| vim \ | ||
| wget \ | ||
| yq | ||
| yq && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| RUN pip3 install --no-cache-dir --break-system-packages patroni[etcd] psycopg[binary] | ||
|
|
||
| RUN curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor | ||
| RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-8.0.list | ||
| RUN apt-get -y update && \ | ||
| RUN curl -fsSL https://pgp.mongodb.com/server-8.0.asc | gpg -o /usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg --dearmor && \ | ||
| echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/${MONGODB_VERSION} multiverse" | tee /etc/apt/sources.list.d/mongodb-org-${MONGODB_VERSION}.list && \ | ||
|
Comment on lines
+41
to
+42
|
||
| apt-get -y update && \ | ||
| apt-get -y install \ | ||
| mongodb-mongosh && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p-git-collin-testlooks like a personal/test pipeline name and isn’t descriptive of its purpose. Renaming it to something task-oriented (e.g.,cat-branch-readmeas before, orgit-clone-readme) will make it clearer and reduce the chance of test resources landing in production-facing manifests.