It's in the builder now [CI SKIP]

pull/60/head
Jef Roosens 2022-01-22 23:15:36 +01:00
parent 3f77c49c01
commit d2af65cbce
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
2 changed files with 2 additions and 7 deletions

View File

@ -40,9 +40,6 @@ pipeline:
image: 'alpine:latest' image: 'alpine:latest'
secrets: [ s3_username, s3_password ] secrets: [ s3_username, s3_password ]
commands: commands:
# We should just add this to the builder image instead
- apk add curl openssl
# https://gist.github.com/JustinTimperio/7c7115f87b775618637d67ac911e595f # https://gist.github.com/JustinTimperio/7c7115f87b775618637d67ac911e595f
- export URL=s3.rustybever.be - export URL=s3.rustybever.be
- export OBJ_PATH="/vieter/commits/$CI_COMMIT_SHA/vieter-$(echo '${PLATFORM}' | sed 's:/:-:g')" - export OBJ_PATH="/vieter/commits/$CI_COMMIT_SHA/vieter-$(echo '${PLATFORM}' | sed 's:/:-:g')"

View File

@ -16,10 +16,8 @@ pipeline:
# Write the title to a file that the plugin can then read # Write the title to a file that the plugin can then read
- echo "$(git describe --tags --abbrev=0 2> /dev/null || echo '0.0.0')-$(git rev-list --count ^dev)" > title - echo "$(git describe --tags --abbrev=0 2> /dev/null || echo '0.0.0')-$(git rev-list --count ^dev)" > title
- cat title - cat title
- wget https://dl.min.io/client/mc/release/linux-amd64/mc - mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD"
- chmod +x mc - mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" assets
- ./mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD"
- ./mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" assets
release: release:
image: 'plugins/gitea-release' image: 'plugins/gitea-release'