Skip to content

Commit

Permalink
CI - cleanup gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed Jan 30, 2024
1 parent ce3ebe6 commit 75e1f2b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 42 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,24 @@ on:
jobs:
publish-release:
runs-on: ubuntu-latest

env:
ACTIONS_RUNNER_DEBUG: true

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

# - name: Get frontend version
# uses: avides/[email protected]
# id: frontend_version
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# file-to-check: frontend/package.json
# only-return-version: true
#
# - name: Upload Frontend sourcemaps
# uses: ./.github/actions/upload-sourcemaps
# with:
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# VERSION: ${{ steps.frontend_version.outputs.version }}
- name: Get frontend version
uses: avides/[email protected]
id: frontend_version
with:
token: ${{ secrets.GITHUB_TOKEN }}
file-to-check: frontend/package.json
only-return-version: true

- name: Upload Frontend sourcemaps
uses: ./.github/actions/upload-sourcemaps
with:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
VERSION: ${{ steps.frontend_version.outputs.version }}

- name: Mirror + trigger CI
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
Expand Down
8 changes: 0 additions & 8 deletions backend/gradle.properties

This file was deleted.

17 changes: 0 additions & 17 deletions ci/jobs/build_projet_gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,6 @@ build_projet_gradle:
- cd backend
- chmod +x gradlew
- ./gradlew clean assemble
# - |
# HTTP_PROXY_HOST=$(echo $HTTP_PROXY | sed 's/http:\/\/\([^:]*\):.*/\1/')
# HTTP_PROXY_PORT=$(echo $HTTP_PROXY | sed 's/http:\/\/[^:]*:\([^:]*\)/\1/')
# HTTPS_PROXY_HOST=$(echo $HTTPS_PROXY | sed 's/http:\/\/\([^:]*\):.*/\1/')
# HTTPS_PROXY_PORT=$(echo $HTTPS_PROXY | sed 's/http:\/\/[^:]*:\([^:]*\)/\1/')
# echo "HTTP_PROXY_HOST: ${HTTP_PROXY_HOST}"
# echo "HTTP_PROXY_PORT: ${HTTP_PROXY_PORT}"
# echo "HTTPS_PROXY_HOST: ${HTTPS_PROXY_HOST}"
# echo "HTTPS_PROXY_PORT: ${HTTPS_PROXY_PORT}"
# - ./gradlew clean assemble \
# -Dhttp.proxyHost="$HTTP_PROXY_HOST" \
# -Dhttp.proxyPort="$HTTP_PROXY_PORT" \
# -Dhttps.proxyHost="$HTTPS_PROXY_HOST" \
# -Dhttps.proxyPort="$HTTPS_PROXY_PORT" \
# -Dhttp.nonProxyHosts="$NO_PROXY" \
# -Djava.net.useSystemProxies=true

tags:
- build
artifacts:
Expand Down

0 comments on commit 75e1f2b

Please sign in to comment.