Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add Travis secret #7

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ branches:
- master
# detect also tag like x.y.z or x.y.z-beta.n as travis consider them to be branches
- /^\d+\.\d+\.\d+(\-beta.\d+)?$/
env:
global:
- MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}'
# MATERMOST_HOOK_URL for post on mattermost
- secure: "n2woUawe27+dU7pRl5aM3lTHpEKoLMpFNXBJPOVeBV/lNl+I0HDYMPJGNRBZKeYRvCBimHKiq2lcNnKLAG9FOeVfDdoxLDeLbIOT4h+PphN1Z0NdIRav4q9HEz1L044+bfF9jYVWizBNTMxpDv74i43qge6eh+BJp8OynVEtrH23XczE2qBgWqcoZSN3zQFJDq5e7s5Rk0x1pl7hqvutoWXT41gP021mCSj7sqVlEj0LG0wESFMz13ja74PbNHJTLYiK0oKpmsnrUabPJxWaNyNbfe4wYCB4ctniMXvpF6Yy79bvmkqpbWiNo7+9pphlo0xlBB0s2/g/diWVEOV+ia+ctfcl8JQizt4pCCWE3rkboYSOMVkVWiBy9OC6KghG0hhevYkLIihRuBaD7m8piaJ/XPwrX5rVdF/oE2CllpuHNdccxaLs8QXataCZZEsYfdE+9A1wLamrqJi3G4rhcI3cHIT4d15mnEySK/Vzhvy1dlpkUxUQJreuKxMqZ95BsRK6nnS97Cqxlvw4QfIszJ4cIwvbPukaeMhymYOdfo1YgTcMpFNsoP7HjBNGgHWPxG0WYt35cs3lU66nsY/hTpD8P0ymzWVFrb/DQMcliJWh0+CRx/e1PIAgYju7x7m2cXXamMx3Pvkr9+HqYCZ5OLn8GcxE7nLcVjHKic3Vv+c="
# REGISTRY_TOKEN for yarn cozyPublish script
- secure: "U6H8M/733c/b0z9q6wMdX7XdkS4PTrqKg1byN7tkowsmbJ+SNv8MI4K/l8fPzJuy5gl0nBe02X69+y3j6Cm5NajzarDt0E7QtlfdR6YfRowCjt2n3sYLak9F2cPdDw1H29j2U1DG/G275KtRV3ble44LMbHOa8pQB1az+iqcDGlLATjT2AH5vmDC3F1EYJzOwHuNNQGPl+bgIJvfdF1TAv25QdEP2tiEmhBZnNLkonMnv8xdoUxjXkjRjlpYfzrOeTJPISbs9I/PrBx3NnTukrGpkqQKZsMlA05qovVZ451/fpL2X7VIR9WxRfOnjebwiTlArRNkb3kPbCEOLBKAfhWVCyZBFTh3INMIdDPt4ByAitEmC3dPrFDlgzpHb2qj5QqY+6FywbvkZs9F2tq6zRyaC5RzHgqbiGt89pwlPnN0HF0ZARmhk102z76ndBPnkCsIGJVP9OYStu7IgJqeiswDOrObOoBiEEOmBHst/D9sLogzrj219ESPFFVrJ/UZYs3iKmGgiPk72o2XxyqU/O/R7gaeXs/rmjAIfEZPFmLIOjKzrpIQSYYKnFYhwW45wMjSP68wvF/g6Yc/M8AhvyFh4pHltTG289m51kCA+OlKVVJUn2KW2GBrcwty1RFfzIVjljecPkVpWIC1EZnTmuDO5SalVLTPz91TkapVS4A="
# GITHUB_TOKEN for yarn deploy script
- secure: "ehPYnxOj7SegMePl8XXxQBxoBSh+UWKQQitwVNEy9dnKAsYgNEcb0XfG1uLy1v596NcyifVjxEDs93aDF4kZT/0AWH67re7XZpqCyy+wJt7oMJ6YKPoCLR9Zs1VG2jD/OTmkT4zT7VzAqUGkhyz6k+tYwFazeWXPqAfbyA7Q2fa7etzzi0A/oruKKD3Gof2AMGiYOKhTmCwdBbcFEsBNkgc+nzEh/lH9iEL/b86EXS5VKHpDAEsJI0+Z2gY8vX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YFmr/qCuEGOT6Bz2A208RHAZ325kJh4uFkf4rNPZWnmPcht7frSbjLOBfphI=
stages:
- prebuild
- build
Expand Down Expand Up @@ -44,15 +55,17 @@ jobs:
- COZY_APP_SLUG=photos
before_script:
- yarn run cozy-ci-transifex
- scripts/decrypt.sh
- '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && openssl aes-256-cbc -K $encrypted_497d1a9dc404_key -iv $encrypted_497d1a9dc404_iv -in id_rsa_downcloud_photos.enc -out id_rsa_downcloud_photos -d'
- '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && eval "$(ssh-agent -s)"'
- '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && chmod 600 id_rsa_downcloud_photos'
- '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && ssh-add id_rsa_downcloud_photos'
script:
- echo 'pull langages' && echo -en 'travis_fold:start:txpull\\r'
- yarn tx
- echo -en 'travis_fold:end:txpull\\r'
- echo 'build' && echo -en 'travis_fold:start:build\\r'
- yarn build:$COZY_APP_SLUG:browser
- echo -en 'travis_fold:end:build\\r'
- &downcloud-cert if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then eval "$(ssh-agent -s)" && chmod 600 /tmp/id_rsa_travis_downcloud && ssh-add /tmp/id_rsa_travis_downcloud; fi # Needs to be inlined and not in a script to work.
#- echo 'create and deploy' && echo -en 'travis_fold:start:createanddeploy\\r'
#- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./scripts/create-deploy-test.sh; fi
#- echo -en 'travis_fold:end:createanddeploy\\r'
Expand All @@ -72,16 +85,3 @@ jobs:
- <<: *deploy
on:
tags: true

env:
global:
- MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}'
- secure: OLcPuglkDbRd9Xf8WmPAlAWTmdXDb+SNVc7+WKQjIap5Ej58BBTtaAYR8kzFKSWmvWWSnvKmOYJfOHvWIOfkzlwhGLnk/xUnCCsjWmWNjOmnL5x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piwtX/2H9dPZ9Vebx9ZU0ytfndadXHDPeX7r4y/U1kbQ0J1ZQYl85iEB91+bkyY2JYFmr/qCuEGOT6Bz2A208RHAZ325kJh4uFkf4rNPZWnmPcht7frSbjLOBfphI= # TX_TOKEN
Binary file removed ci-files.tar.enc
Binary file not shown.
2 changes: 2 additions & 0 deletions id_rsa_downcloud_photos.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
÷&¸Â;|Ö7°¿DÎë®}«ŽÎÄÅ«ûÅ/ÆU¼·¦slá¸inÅv‹þ‰Àå<Æ!)”lFÇPBH{¬ö\Åt™2FwÀ—M˺RÒ¢.³Ò§¬¥Op´¥ÿ¿üm-ZÍBY’Ý©´Œp“gÐàt$Âï€ÈB¨‡‹ú½~끸b…®Â(šPÝ|i?qVš—ôöK€›üþ‡:Gã^jq%~¿ î:¯¢%vâºÿà×͖>™ç|'áŒ4!ÄÍöÔ!}}½ÚVXÇîçzÕ³"BØÚU7ў<œÚvò'#¡"ýyA÷8&ò瓯éyF4ë?øÞl½èh—­ç.¯kocßÃn=;kˆÃ”w¦ÃZÝy@ïopܱº!µ}†
èò[x˜Z2/YÜIDãÉ®-SŽë-Ó¢lô¿³ýÜñZ` ¥ožW^Œ—òŸ¢-2YÈRŽÁû*+¼Ì\èdkÈõk¾¼ó9ÜbMÄqCÙ4Ó_rӒâ ƨÎöáXñÞÿgêÐúñÏÊS˜V9vð
Expand Down
6 changes: 0 additions & 6 deletions scripts/decrypt.sh

This file was deleted.

Loading