Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 5.2.0~rc1, create alpine/ubuntu base image for it #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aryx
Copy link
Collaborator

@aryx aryx commented May 7, 2024

test plan:
make

PR checklist:

  • PR comment includes a reproducible test plan
  • Change has no security implications (otherwise ping the security team)

@aryx aryx requested a review from a team as a code owner May 7, 2024 09:21
@aryx aryx requested review from mjambon, emjin, brandonspark, kopecs and IagoAbal and removed request for a team May 7, 2024 09:21
@aryx
Copy link
Collaborator Author

aryx commented May 7, 2024

make build works locally on my machine; not sure what are those errors in circleCI :(

aryx added a commit to semgrep/semgrep that referenced this pull request May 8, 2024
The use of FROM:returntocorp/ocaml:..., which are docker images
generated by ocaml-layer (https://github.com/semgrep/ocaml-layer/),
served us well in the past to speedup
CI. However, we now use GHA caching more and depot.dev
which removes the need for ocaml-layer. Worse, ocaml-layer
adds an extra layer of complexity that is annoying when
updating to more recent version of OCaml (e.g., 5.2).
For example I had trouble in the past in
semgrep/ocaml-layer#46
or
#10213
to fix our ocaml-layer.
Moreover ocaml-layer relies on circleCI, which we don't
support anymore, so it's lots of extra work on ocaml-layer
that we don't really need.

Let's remove this intermediate.

test plan:
make build-docker
aryx added a commit to semgrep/semgrep that referenced this pull request May 8, 2024
…10224)

The use of FROM:returntocorp/ocaml:..., which are docker images
generated by ocaml-layer (https://github.com/semgrep/ocaml-layer/),
served us well in the past to speedup
CI. However, we now use GHA caching more and depot.dev
which removes the need for ocaml-layer. Worse, ocaml-layer
adds an extra layer of complexity that is annoying when
updating to more recent version of OCaml (e.g., 5.2).
For example I had trouble in the past in
semgrep/ocaml-layer#46
or
#10213
to fix our ocaml-layer.
Moreover ocaml-layer relies on circleCI, which we don't
support anymore, so it's lots of extra work on ocaml-layer
that we don't really need.

Let's remove this intermediate.

test plan:
make build-docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant