Skip to content

Commit

Permalink
Try to fix gpg in release job
Browse files Browse the repository at this point in the history
  • Loading branch information
mjakubowski84 committed Jan 15, 2025
1 parent d74e275 commit 498ed32
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ version: 2.1
executors:
jdk:
machine:
image: ubuntu-2204:current
image:
ubuntu-2204:current
# auth:
# username: $DOCKERHUB_USER
# password: $DOCKERHUB_PASSWORD
Expand All @@ -13,18 +14,16 @@ executors:
working_directory: /tmp

commands:

setup:
steps:
- run:
- run:
name: Install OpenJDK 8
command: |
sudo apt-get update && sudo apt-get install openjdk-8-jdk
sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
java -version
cache_dependencies:
parameters:
path:
Expand Down Expand Up @@ -84,6 +83,8 @@ commands:

setup_gpg:
steps:
# install GPG
- run: sudo apt-get install gnupg
# set required GPG_TTY
- run: echo 'export GPG_TTY=$(tty)' >> $BASH_ENV
# import public key
Expand All @@ -92,7 +93,6 @@ commands:
- run: echo $GPG_PRIVATE_KEY | base64 --decode | gpg --import --batch --no-tty --yes

jobs:

build:
executor:
name: jdk
Expand Down Expand Up @@ -255,13 +255,24 @@ workflows:
only: /^v.*/
branches:
ignore: /.*/
- test:
name: test_s3
project: s3Test
requires:
- build
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- release:
requires:
- test_core
- test_akka
- test_pekko
- test_fs2
- test_scala_pb
- test_s3
filters:
tags:
only: /^v.*/
Expand Down

0 comments on commit 498ed32

Please sign in to comment.