CI: Try to fix yaml syntax problem
This commit is contained in:
parent
19a1d32f8d
commit
846ecea1e7
1 changed files with 13 additions and 13 deletions
|
@ -49,16 +49,16 @@ pipeline:
|
|||
image: debian
|
||||
when:
|
||||
event: tag
|
||||
commands:
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq update < /dev/null > /dev/null
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq -y install --no-install-recommends curl < /dev/null > /dev/null
|
||||
- curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*_amd64.deb $APT_API_URL/files/python3-cx-oracle
|
||||
- curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle-dbgsym_*_amd64.deb $APT_API_URL/files/python3-cx-oracle
|
||||
- curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.dsc $APT_API_URL/files/python3-cx-oracle
|
||||
- curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.tar.gz $APT_API_URL/files/python3-cx-oracle
|
||||
- curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.buildinfo $APT_API_URL/files/python3-cx-oracle
|
||||
- curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.changes $APT_API_URL/files/python3-cx-oracle
|
||||
- curl -u $APT_CREDS -X POST $APT_API_URL/repos/$APT_REPO_NAME/include/python3-cx-oracle
|
||||
- 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 PUT -H 'Content-Type: application/json' --data "{\"Snapshots\": [{\"Component\": \"main\", \"Name\": \"$APT_SNAP_NAME\"}]}" $APT_API_URL/publish/:./$APT_REPO_NAME
|
||||
commands: >
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -qq update < /dev/null > /dev/null
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -qq -y install --no-install-recommends curl < /dev/null > /dev/null
|
||||
curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*_amd64.deb $APT_API_URL/files/python3-cx-oracle
|
||||
curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle-dbgsym_*_amd64.deb $APT_API_URL/files/python3-cx-oracle
|
||||
curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.dsc $APT_API_URL/files/python3-cx-oracle
|
||||
curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.tar.gz $APT_API_URL/files/python3-cx-oracle
|
||||
curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.buildinfo $APT_API_URL/files/python3-cx-oracle
|
||||
curl -u $APT_CREDS -X POST -F file=@dist/python3-cx-oracle_*.changes $APT_API_URL/files/python3-cx-oracle
|
||||
curl -u $APT_CREDS -X POST $APT_API_URL/repos/$APT_REPO_NAME/include/python3-cx-oracle
|
||||
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 PUT -H 'Content-Type: application/json' --data "{\"Snapshots\": [{\"Component\": \"main\", \"Name\": \"$APT_SNAP_NAME\"}]}" $APT_API_URL/publish/:./$APT_REPO_NAME
|
||||
|
|
Loading…
Reference in a new issue