Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
BradLugo committed Dec 18, 2023
1 parent 6e2031a commit 01e070a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ jobs:
- name: Make bundle
run: image/scanner/rhel/create-bundle.sh image/scanner image/scanner/rhel

- name: Bundle the bundle to preserve permissions # TODO: word this better?
- name: Bundle the bundle to preserve permissions # TODO(DO NOT MERGE): word this better?
run: tar -cvzf bundle.tgz image/scanner/rhel

- uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -313,7 +313,6 @@ jobs:
name: scanner-db-bundle
path: image/db/rhel

# build-and-push-main:
build-images:
runs-on: ubuntu-latest
needs:
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ start_postgres() {
adduser pg -u 1001 -g 1001 -d /var/lib/postgresql -s /bin/sh

# The PATH is not completely preserved, so set the PATH here to ensure postgres-related commands can be found.
runuser -l pg -c "PATH=$PATH _start_postgres"
runuser -l pg -c "PATH=$PATH $SCRIPTS_ROOT/scripts/ci/postgres.sh _start_postgres" # TODO(DO NOT MERGE): this is a mess
else
die "Please re-run as a non-root user."
fi
Expand Down

0 comments on commit 01e070a

Please sign in to comment.