CI: Add screts key
This commit is contained in:
parent
ccfff0bc31
commit
e59ba8a96e
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ pipeline:
|
||||||
- dpkg-buildpackage
|
- dpkg-buildpackage
|
||||||
- cd ../../
|
- cd ../../
|
||||||
- rm -fr dist/python3-cx-oracle_*_amd64
|
- rm -fr dist/python3-cx-oracle_*_amd64
|
||||||
|
secrets: [ gpg_key, gpg_name, gpg_email, deb_dist ]
|
||||||
|
|
||||||
publish-dryrun:
|
publish-dryrun:
|
||||||
group: publish
|
group: publish
|
||||||
|
@ -62,3 +63,4 @@ pipeline:
|
||||||
APT_SNAP_NAME=$(date +%s)_$APT_REPO_NAME
|
APT_SNAP_NAME=$(date +%s)_$APT_REPO_NAME
|
||||||
curl -u $APT_CREDS -X POST -H 'Content-Type: application/json' --data "{\"Name\":\"$APT_SNAP_NAME\"}" $APT_API_URL/repos/$APT_REPO_NAME/snapshots
|
curl -u $APT_CREDS -X POST -H 'Content-Type: application/json' --data "{\"Name\":\"$APT_SNAP_NAME\"}" $APT_API_URL/repos/$APT_REPO_NAME/snapshots
|
||||||
curl -u $APT_CREDS -X PUT -H 'Content-Type: application/json' --data "{\"Snapshots\": [{\"Component\": \"main\", \"Name\": \"$APT_SNAP_NAME\"}]}" $APT_API_URL/publish/:./$APT_REPO_NAME
|
curl -u $APT_CREDS -X PUT -H 'Content-Type: application/json' --data "{\"Snapshots\": [{\"Component\": \"main\", \"Name\": \"$APT_SNAP_NAME\"}]}" $APT_API_URL/publish/:./$APT_REPO_NAME
|
||||||
|
secrets: [ apt_api_url, apt_creds, apt_repo_name ]
|
||||||
|
|
Loading…
Reference in a new issue