Skip to content

Commit

Permalink
Revert changes since 1.2.3 (#475)
Browse files Browse the repository at this point in the history
* Revert "ref: add python3-packaging explicitly (#474)"

This reverts commit ddd80e5.

* Revert "fix(hex): Add erlang-dev for missing parsetools (#473)"

This reverts commit edf83d2.

* Revert "feat(build): Bump Dockerfile base image to node:20-bookworm (#472)"

This reverts commit 0941c46.

---------

Co-authored-by: anthony sottile <[email protected]>
Co-authored-by: Neel Shah <[email protected]>
  • Loading branch information
3 people authored Jul 18, 2023
1 parent ddd80e5 commit a5eff9f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '20']
node: ['14', '16']
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-bookworm
FROM node:14-bullseye

ENV DEBIAN_FRONTEND=noninteractive \
DOTNET_CLI_TELEMETRY_OPTOUT=1 \
Expand All @@ -16,21 +16,18 @@ RUN apt-get -qq update \
dirmngr \
gnupg \
git \
python3-packaging \
ruby-full \
twine \
jq \
unzip \
openjdk-17-jdk \
openjdk-11-jdk \
maven \
elixir \
erlang-dev \
# TODO bump packages.microsoft.com to debian/12 when microsoft updates the package
&& curl -fsSL https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb \
&& curl -fsSL https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb \
&& dpkg -i /tmp/packages-microsoft-prod.deb \
&& rm /tmp/packages-microsoft-prod.deb \
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
&& echo 'deb [arch=amd64] https://download.docker.com/linux/debian bookworm stable' >> /etc/apt/sources.list \
&& echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' >> /etc/apt/sources.list \
&& apt-get update -qq \
&& apt-get install -y --no-install-recommends \
dotnet-sdk-7.0 \
Expand Down
4 changes: 2 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- name: 'gcr.io/kaniko-project/executor:v1.12.1'
- name: 'gcr.io/kaniko-project/executor:v1.5.1'
args:
- '--cache=true'
- '--use-new-run'
Expand All @@ -9,7 +9,7 @@ steps:
- '-f'
- 'builder.dockerfile'
- name: 'us.gcr.io/$PROJECT_ID/craft:builder-$COMMIT_SHA'
- name: 'gcr.io/kaniko-project/executor:v1.12.1'
- name: 'gcr.io/kaniko-project/executor:v1.5.1'
args:
- '--cache=true'
- '--use-new-run'
Expand Down
1 change: 0 additions & 1 deletion src/targets/hex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export class HexTarget extends BaseTarget {
const spawnOptions = { cwd: directory };
const spawnProcessOptions = { showStdout: true };
await spawnProcess(MIX_BIN, ['local.hex', '--force'], spawnOptions, spawnProcessOptions);
await spawnProcess(MIX_BIN, ['local.rebar', '--force'], spawnOptions, spawnProcessOptions);
await spawnProcess(MIX_BIN, ['deps.get'], spawnOptions, spawnProcessOptions);
await spawnProcess(MIX_BIN, ['hex.publish', '--yes'], spawnOptions, spawnProcessOptions);
},
Expand Down

0 comments on commit a5eff9f

Please sign in to comment.