Skip to content

Commit 0e16d93

Browse files
authored
Revert "Split gh actions to build the PR and push to ghcr (#336)" (#339)
This reverts commit 093d625.
1 parent 093d625 commit 0e16d93

File tree

4 files changed

+39
-42
lines changed

4 files changed

+39
-42
lines changed

.github/workflows/integration-test-build-push.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/integration-test-run.yaml renamed to .github/workflows/integration-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v3
1919
- name: Start compose
20-
run: docker-compose up --exit-code-from quest quest
20+
run: docker-compose up --build --exit-code-from quest quest
2121
- name: Stop compose
2222
if: always()
2323
run: docker-compose down

Dockerfile.ubi

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright (C) 2023 Parseable, Inc.
2+
#
3+
# This program is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU Affero General Public License as
5+
# published by the Free Software Foundation, either version 3 of the
6+
# License, or (at your option) any later version.
7+
#
8+
# This program is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU Affero General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU Affero General Public License
14+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
16+
FROM registry.access.redhat.com/ubi8/ubi:latest as builder
17+
18+
LABEL org.opencontainers.image.title="Parseable"
19+
LABEL maintainer="Parseable Team <[email protected]>"
20+
LABEL org.opencontainers.image.vendor="Cloudnatively Pvt Ltd"
21+
LABEL org.opencontainers.image.licenses="AGPL-3.0"
22+
23+
WORKDIR /parseable
24+
25+
RUN yum install -y rust-toolset-1.67.0
26+
27+
COPY . .
28+
29+
RUN cargo build --release --target x86_64-unknown-linux-gnu
30+
31+
FROM registry.access.redhat.com/ubi8/ubi:minimal
32+
33+
COPY --from=builder /parseable/target/x86_64-unknown-linux-gnu/release/parseable /usr/bin/parseable
34+
35+
CMD ["parseable"]

docker-compose.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ services:
2727
- parseable-internal
2828

2929
parseable:
30-
image: ghcr.io/parseablehq/parseable:main
30+
build:
31+
context: .
32+
dockerfile: Dockerfile
3133
command: ["parseable", "s3-store"]
3234
ports:
3335
- 8000

0 commit comments

Comments
 (0)