Skip to content

Commit

Permalink
feat(build): add spark 3.3.1 (#58)
Browse files Browse the repository at this point in the history
Also update README and the command to download `poetry`.
  • Loading branch information
qbiqing authored Nov 22, 2022
1 parent 8f4b76a commit 55e86f0
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 3 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,66 @@ jobs:
scala: "2.13"
java: "11"
python: "3.9"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.12"
java: "8"
python: "3.7"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.12"
java: "8"
python: "3.8"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.12"
java: "8"
python: "3.9"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.13"
java: "8"
python: "3.7"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.13"
java: "8"
python: "3.8"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.13"
java: "8"
python: "3.9"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.12"
java: "11"
python: "3.7"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.12"
java: "11"
python: "3.8"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.12"
java: "11"
python: "3.9"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.13"
java: "11"
python: "3.7"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.13"
java: "11"
python: "3.8"
- spark: "3.3.1"
hadoop: "3.3.2"
scala: "2.13"
java: "11"
python: "3.9"
runs-on: ubuntu-20.04
env:
IMAGE_NAME: spark-k8s-addons
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## v5

- Use non-versioned constant path for `py4j import.
- Build only for 3.1.3, 3.2.2 and 3.3.0, and their related supported Hadoop
- Build only for 3.1.3, 3.2.2, 3.3.0 and 3.3.1, and their related supported Hadoop
variants (dropped all 2.y.z versions).
- Change base image version to `v3`.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ENV POETRY_HOME=/opt/poetry
ENV POETRY_SYSTEM_PROJECT_DIR="${POETRY_HOME}/.system"
ENV PATH="${POETRY_HOME}/bin:${PATH}"
RUN set -euo pipefail && \
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python; \
curl -sSL https://install.python-poetry.org | python3 -; \
poetry --version; \
mkdir -p "${POETRY_SYSTEM_PROJECT_DIR}"; \
cd "${POETRY_SYSTEM_PROJECT_DIR}"; \
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,9 @@ Otherwise, you will need `cargo`, which can be installed via
[rustup](https://rustup.rs/).

Once `cargo` is installed, simply run `cargo install tera-cli --version=^0.4.0`.

Always make changes in `templates/ci.yml.tmpl` since the template will be
applied onto `.github/workflows/ci.yml`.

Run `templates/apply-vars.sh` to apply the template once `tera-cli` has been
installed.
2 changes: 1 addition & 1 deletion templates/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ versions:
java: ["8", "11"]
python: ["3.7", "3.8", "3.9"]

- spark: ["3.3.0"]
- spark: ["3.3.0", "3.3.1"]
hadoop: ["3.3.2"]
scala: ["2.12", "2.13"]
java: ["8", "11"]
Expand Down

0 comments on commit 55e86f0

Please sign in to comment.