Skip to content

Commit

Permalink
Consume nightly built Samba RPMs
Browse files Browse the repository at this point in the history
Signed-off-by: Anoop C S <anoopcs@samba.org>
  • Loading branch information
anoopcs9 committed Oct 7, 2021
1 parent 97c03f8 commit 19bfc9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 2 * * *'

jobs:

Expand Down Expand Up @@ -69,7 +71,7 @@ jobs:
needs: test-server

runs-on: ubuntu-latest
if: github.event_name == 'push'
if: github.event_name != 'pull_request'

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion images/server/Dockerfile.fedora
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM quay.io/samba.org/sambacc:latest AS builder
ARG SAMBACC_VER=b279787f9550
ARG SAMBACC_VER=9d8e58b6ff49
ARG SAMBACC_REPO=https://github.com/samba-in-kubernetes/sambacc

# the changeset hash on the next line ensures we get a specifc
Expand All @@ -13,6 +13,7 @@ MAINTAINER John Mulligan <jmulligan@redhat.com>
ENV SAMBACC_VERSION="0.1"

COPY smb.conf /etc/samba/smb.conf
RUN curl http://artifacts.ci.centos.org/gluster/nightly-samba/master/fedora/samba-nightly-master.repo -o /etc/yum.repos.d/samba-nightly-master.repo
RUN dnf install --setopt=install_weak_deps=False -y \
findutils \
python-pip \
Expand Down Expand Up @@ -44,6 +45,7 @@ EXPOSE 445

ENV SAMBACC_CONFIG="/etc/samba/container.json:/etc/samba/users.json"
ENV SAMBA_CONTAINER_ID="demo"
ENV SAMBA_SPECIFICS="daemon_cli_debug_output"
ENTRYPOINT ["samba-container"]
CMD ["run", "smbd"]

Expand Down

0 comments on commit 19bfc9e

Please sign in to comment.