Comments (4)
It looks like git
was added to an old image in this PR: #521
It's possible when moving to a single image, git
was left out.
from argo-events.
I can confirm that this is simply a matter of the git
binary not being on the argo-events image. I used the following Dockerfile as the Sensor image and was able to use git sources successfully!
Ignore the hack of downloading argo-events
in the Dockerfile (I didn't want to build the whole project from scratch 😉 ). The important part is simply installing git
in the base and copying it to the final image like all the other binaries:
ARG ARCH=$TARGETARCH
####################################################################################################
# base
####################################################################################################
FROM alpine:3.16.2 as base
ARG ARCH
RUN apk update && apk upgrade && \
apk add ca-certificates && \
apk --no-cache add tzdata git
ENV ARGO_VERSION=v3.4.8
RUN wget -q https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/argo-linux-${ARCH}.gz
RUN gunzip -f argo-linux-${ARCH}.gz
RUN chmod +x argo-linux-${ARCH}
RUN mv ./argo-linux-${ARCH} /usr/local/bin/argo
RUN wget -q https://github.com/argoproj/argo-events/releases/download/v1.9.1/argo-events-linux-${ARCH}.gz
RUN gunzip -f argo-events-linux-${ARCH}.gz
RUN chmod +x argo-events-linux-${ARCH}
RUN mv ./argo-events-linux-${ARCH} /bin/argo-events
####################################################################################################
# argo-events
####################################################################################################
FROM scratch as argo-events
ARG ARCH
COPY --from=base /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=base /usr/local/bin/argo /usr/local/bin/argo
COPY --from=base /bin/argo-events /bin/argo-events
COPY --from=base /usr/bin/git /usr/bin/git
ENTRYPOINT [ "/bin/argo-events" ]
from argo-events.
This issue has been automatically marked as stale because it has not had
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
from argo-events.
This still exists and is a relatively easy fix. I will look into making a PR if I have time
from argo-events.
Related Issues (20)
- ArgoWorkflow trigger with submit-from operation throws errors even though it submits the template HOT 2
- Update AWS SDK version to support EKS Pod Identities
- Sensor isn't able to pass arguments to the WorkflowTemplate HOT 1
- Add cluster-wide EventBus
- Events Trigger conditions not respected HOT 1
- Missing documentation for integration between Argo Events & Argo Workflows
- Sensor with Kafka EventBus does not trigger if depend on 2 events HOT 1
- GitHub App authentication for Git Trigger Source
- Sensor trigger execution order HOT 1
- Argo Events Kubernetes Admission Webhook Denial of Service HOT 1
- EventSource Azure Queue Storage unable to decode base64
- EventSensor DLQ after retry exhaustion HOT 1
- AMQP trigger support
- Updating a Workflow While It's Running Spawns Multiple Workflows
- failed to get value by key: key body.message does not exist to in the event payload HOT 1
- Allow namespace-scoped permissions when doing a cluster-level install HOT 1
- Unable to delete a cluster scoped resource
- Finish the field specifications in the EventBus CRD HOT 1
- Provide option to disable TLS in NATS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argo-events.