Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ jobs:
uses: gravitational/shared-workflows/.github/workflows/dependency-review.yaml@main
permissions:
contents: read
with:
# gravitational/teleport misdetected as "v0"
allow-ghsas: GHSA-6xf3-5hp7-xqqg
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,7 @@ test-tooling:
(cd tooling; go test -v -race ./...)

.PHONY: test-unit
test-unit: test-tooling test-lib test-access test-event-handler

.PHONY: test-lib
test-lib:
(cd lib; go test -v -race ./...)
test-unit: test-tooling test-access test-event-handler

.PHONY: test-access
test-access:
Expand Down Expand Up @@ -224,6 +220,11 @@ update-helm-version-%:
# Update snapshots
@helm unittest -u -3 charts/$(subst access-,access/,$*) || { echo "Please install unittest as described in .cloudbuild/helm-unittest.yaml" ; exit 1; }

TELEPORT_DEP_VERSION ?= v12.1.1
.PHONY: update-teleport-dep-version
update-teleport-dep-version:
./update_teleport_dep_version.sh $(TELEPORT_DEP_VERSION)

.PHONY: update-tag
update-tag:
# Make sure VERSION is set on the command line "make update-tag VERSION=x.y.z".
Expand Down
4 changes: 1 addition & 3 deletions access/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ RUN --mount=type=cache,target=/go/pkg/mod go mod download

# Copy the go source
COPY access/${ACCESS_PLUGIN} access/${ACCESS_PLUGIN}
COPY access/common access/common
COPY lib lib

# Build
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build make -C access/${ACCESS_PLUGIN} GITREF=${GITREF}
Expand All @@ -28,4 +26,4 @@ FROM gcr.io/distroless/base@sha256:03dcbf61f859d0ae4c69c6242c9e5c3d7e1a42e5d3b69
ARG ACCESS_PLUGIN
COPY --from=builder /workspace/access/${ACCESS_PLUGIN}/build/teleport-${ACCESS_PLUGIN} /usr/local/bin/teleport-plugin

ENTRYPOINT ["/usr/local/bin/teleport-plugin"]
ENTRYPOINT ["/usr/local/bin/teleport-plugin"]
Loading