Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot committed Apr 26, 2024
1 parent 065e9d5 commit 9714912
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ jobs:
uses: "google-github-actions/get-secretmanager-secrets@v1"
with:
secrets: |-
segment-io-token:gitpod-core-dev/segment-io-token
npm-auth-token:gitpod-core-dev/npm-auth-token
jb-marketplace-publish-token:gitpod-core-dev/jb-marketplace-publish-token
codecov-token:gitpod-core-dev/codecov
Expand Down Expand Up @@ -245,7 +244,6 @@ jobs:
NODE_OPTIONS: "--max_old_space_size=4096"
JAVA_HOME: /home/gitpod/.sdkman/candidates/java/current
VERSION: ${{needs.configuration.outputs.version}}
SEGMENT_IO_TOKEN: "${{ steps.secrets.outputs.segment-io-token }}"
PR_NO_CACHE: ${{needs.configuration.outputs.build_no_cache}}
PR_NO_TEST: ${{needs.configuration.outputs.build_no_test}}
NPM_AUTH_TOKEN: "${{ steps.secrets.outputs.npm-auth-token }}"
Expand All @@ -270,7 +268,6 @@ jobs:
--docker-build-options network=host \
--max-concurrent-tasks 1 \
-DlocalAppVersion=$VERSION \
-DSEGMENT_IO_TOKEN=$SEGMENT_IO_TOKEN \
-DpublishToNPM="${PUBLISH_TO_NPM}" \
-DnpmPublishTrigger="${NPM_PUBLISH_TRIGGER}" \
-DpublishToJBMarketplace="${PUBLISH_TO_JBPM}" \
Expand Down
3 changes: 0 additions & 3 deletions dev/preview/workflow/preview/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@ import "ensure-gcloud-auth.sh"
leeway run dev/preview:configure-workspace
ensure_gcloud_auth

PREVIEW_GCP_PROJECT=gitpod-dev-preview

if [[ "${VERSION:-}" == "" ]]; then
VERSION="$(previewctl get name)-dev-$(date +%F_T%H-%M-%S)"
log_info "VERSION is not set - using $VERSION"
echo "$VERSION" > /tmp/local-dev-version
fi

leeway build \
-DSEGMENT_IO_TOKEN="$(gcloud secrets versions access latest --project ${PREVIEW_GCP_PROJECT} --secret=segment-io-token)" \
-Dversion="${VERSION}" \
--dont-test \
dev/preview:deploy-dependencies
1 change: 0 additions & 1 deletion dev/preview/workflow/preview/deploy-gitpod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ if ! test -f "/tmp/versions.yaml"; then
leeway build components:all-docker \
--dont-test \
-Dversion="${VERSION}" \
-DSEGMENT_IO_TOKEN="$(gcloud secrets versions access latest --project ${PREVIEW_GCP_PROJECT} --secret=segment-io-token)" \
--save "${VERSIONS_TMP_ZIP}"
tar -xzvf "${VERSIONS_TMP_ZIP}" ./versions.yaml && sudo mv ./versions.yaml /tmp/versions.yaml
rm "${VERSIONS_TMP_ZIP}"
Expand Down
10 changes: 0 additions & 10 deletions install/preview/prettylog/BUILD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
packages:
- name: app
type: go
argdeps:
- SEGMENT_IO_TOKEN
srcs:
- "main.go"
- "go.sum"
Expand All @@ -15,11 +13,3 @@ packages:
- CGO_ENABLED=0
config:
packaging: app
buildCommand:
[
"go",
"build",
"-trimpath",
"-ldflags",
"-buildid= -w -s -X 'main.segmentIOToken=${SEGMENT_IO_TOKEN}'",
]

0 comments on commit 9714912

Please sign in to comment.