Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Commit

Permalink
Update circleci config to build new debug client
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Dec 14, 2023
1 parent dce54fd commit ad320f3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
version: 2.1

aliases:
- &debug-client-build
working_directory: ./client-next
name: Build debug client
command: |
npm ci
npm run build
- &jfrog-login
name: Rename jfrog environment variable for maven setting.xml
command: |
echo "export JFROG_USER=$ARTIFACTORY_USER" >> $BASH_ENV
echo "export JFROG_PASS=$ARTIFACTORY_PASSWORD" >> $BASH_ENV
- &post_build
- &post-build
name: Update deployment with OTP version
command: |
sudo apt-get update
Expand All @@ -17,7 +23,7 @@ aliases:
jobs:
build:
docker:
- image: cimg/openjdk:21.0
- image: cimg/openjdk:21.0-node
environment:
DEBIAN_FRONTEND: "noninteractive"
MAVEN_OPTS: -Xmx6G
Expand All @@ -36,8 +42,9 @@ jobs:
paths:
- ~/.m2
key: dep-cache-{{ checksum "pom.xml" }}
- run: *debug-client-build
- run: mvn install -PprettierSkip org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy -s .circleci/settings.xml -DaltDeploymentRepository=snapshots::default::https://entur2.jfrog.io/entur2/libs-release-local
- run: *post_build
- run: *post-build

workflows:
version: 2
Expand Down

0 comments on commit ad320f3

Please sign in to comment.