-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from ba-st/pharo11
Add Pharo 11
- Loading branch information
Showing
11 changed files
with
42 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Integration Tests | ||
|
||
on: [push,pull_request,workflow_dispatch] | ||
|
||
jobs: | ||
integration-tests: | ||
runs-on: ubuntu-latest | ||
name: Integration Tests | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Run tests using Docker | ||
run: ./compose-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
# Stage 1: Load the project | ||
FROM basmalltalk/pharo:8.0-image AS loader | ||
ARG BRANCH_NAME=release-candidate | ||
ENV BRANCH_NAME=$BRANCH_NAME | ||
COPY load-project.st ./ | ||
RUN pharo Pharo.image load-project.st --save --quit | ||
FROM ghcr.io/ba-st/pharo-loader:v11.0.0 AS loader | ||
|
||
COPY --chown=pharo:users ./source /opt/pharo/source | ||
COPY --chown=pharo:users ./.git /opt/pharo/.git | ||
RUN pharo metacello install gitlocal://. BaselineOfSuperluminal --groups=Examples | ||
|
||
# Stage 2: Copy the resulting Pharo.image with our project loaded | ||
# into a new docker image with just the vm | ||
FROM basmalltalk/pharo:8.0 | ||
FROM ghcr.io/ba-st/launchpad:v4 | ||
|
||
USER root | ||
|
||
WORKDIR /opt/app | ||
COPY start.sh ./ | ||
COPY --from=loader /opt/pharo/Pharo.image ./ | ||
COPY --from=loader /opt/pharo/Pharo.changes ./ | ||
COPY --from=loader /opt/pharo/Pharo*.sources ./ | ||
|
||
RUN mkdir logs \ | ||
&& chmod a+x start.sh \ | ||
&& chown --recursive pharo:users /opt/app | ||
&& chown --recursive pharo:users /opt/pharo | ||
|
||
USER pharo | ||
|
||
CMD ["./start.sh"] | ||
CMD ["launchpad-start", "superluminal-service-discovery", "--retry-delay-in-ms=10000"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters