Skip to content

Commit

Permalink
Merge pull request #40 from shanemcd/run-command
Browse files Browse the repository at this point in the history
Run command

Reviewed-by: https://github.com/apps/ansible-zuul
  • Loading branch information
ansible-zuul[bot] authored Mar 27, 2021
2 parents a26ec0f + abc5f07 commit 994ff01
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ RUN /output/install-from-bindep && rm -rf /output/wheels
RUN alternatives --set python /usr/bin/python3
COPY --from=quay.io/project-receptor/receptor:0.9.6 /usr/bin/receptor /usr/bin/receptor
RUN mkdir -p /var/run/receptor
ADD run.sh /run.sh
CMD /run.sh
2 changes: 2 additions & 0 deletions execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ additional_build_steps:
- RUN alternatives --set python /usr/bin/python3
- COPY --from=quay.io/project-receptor/receptor:0.9.6 /usr/bin/receptor /usr/bin/receptor
- RUN mkdir -p /var/run/receptor
- ADD run.sh /run.sh
- CMD /run.sh
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/bash

ansible-runner worker --private-data-dir=/runner

0 comments on commit 994ff01

Please sign in to comment.