Skip to content

Commit

Permalink
First prod deploy (#1)
Browse files Browse the repository at this point in the history
* DL3009

* disable SC1091

* workflow naming
  • Loading branch information
mikenye committed Mar 22, 2023
1 parent 1550126 commit 4d29224
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
run: docker run --rm -i -v "$PWD":/workdir --workdir /workdir --entrypoint hadolint hadolint/hadolint --ignore DL3003 --ignore DL3006 --ignore DL3010 --ignore DL4001 --ignore DL3007 --ignore DL3008 --ignore SC2068 --ignore DL3007 --ignore SC1091 --ignore DL3013 --ignore DL3010 $(find . -type f -iname "Dockerfile*")

build_and_push:
name: Image Build & Push
uses: sdr-enthusiasts/common-github-workflows/.github/workflows/build_and_push_image.yml@main
needs: [hadolint]
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
run: docker run --rm -i -v "$PWD":/workdir --workdir /workdir --entrypoint hadolint hadolint/hadolint --ignore DL3003 --ignore DL3006 --ignore DL3010 --ignore DL4001 --ignore DL3007 --ignore DL3008 --ignore SC2068 --ignore DL3007 --ignore SC1091 --ignore DL3013 --ignore DL3010 $(find . -type f -iname "Dockerfile*")

build_and_push:
name: Test Image Build
uses: sdr-enthusiasts/common-github-workflows/.github/workflows/build_and_push_image.yml@main
needs: [shellcheck, hadolint] # don't run unless all linting passes
with:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ RUN set -x && \
# Install libusb
apt-get update -y && \
apt-get install --no-install-recommends -y libusb-1.0-0 && \
apt-get -v clean && \
#
# Download airspy_adsb arm binary
curl \
Expand Down Expand Up @@ -85,7 +84,8 @@ RUN set -x && \
chmod -v a+x /usr/local/bin/airspy_adsb.* && \
#
# Clean-up
rm -v /tmp/*
apt-get -v clean && \
rm -rfv /tmp/* /var/lib/apt/lists/*

EXPOSE 30005

Expand Down
1 change: 1 addition & 0 deletions rootfs/scripts/healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#shellcheck shell=bash

# Import healthchecks-framework
#shellcheck disable=SC1091
source /opt/healthchecks-framework/healthchecks.sh

EXITCODE=0
Expand Down

0 comments on commit 4d29224

Please sign in to comment.