Skip to content
Snippets Groups Projects
Commit dc1b7c4c authored by sgmoore's avatar sgmoore
Browse files

Update .gitlab-ci.yml file

parent ee22bd76
No related branches found
No related tags found
No related merge requests found
Pipeline #5101 passed with warnings
......@@ -16,10 +16,10 @@ variables:
# Package version can only contain numbers (0-9), and dots (.).
# Must be in the format of X.Y.Z, i.e. should match /\A\d+\.\d+\.\d+\z/ regular expresion.
# See https://docs.gitlab.com/ee/user/packages/generic_packages/#publish-a-package-file
PACKAGE_VERSION: "1.0"
PACKAGE_VERSION: "2.0"
ARCH: 'all'
LINUX_AMD64_BINARY: "{$CI_PROJECT_NAME}_${PACKAGE_VERSION}_{$ARCH}.deb"
PACKAGE_REGISTRY_URL: '"${CI_API_V4_URL}/projects/2353/main/generic'
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/2353/main/generic"
VENDOR: 'netrunner'
RELEASE:
description: "The Debian release to build for"
......@@ -29,6 +29,21 @@ variables:
SALSA_CI_DISABLE_VERSION_BUMP: 1
SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1
# download:
# stage: deps
# script:
# - 'wget --header="JOB-TOKEN: $CI_JOB_TOKEN" ${PACKAGE_REGISTRY_URL}/base-files_10.3_amd64.deb'
# - 'dpkg --install base-files_10.3_amd64.deb'
# deps:
# needs:
# - project: https://www.opencode.net/netrunner/base-files
# job: build
# ref: master
# artifacts: true
# script:
# - dpkg --install *.deb
.test-crossbuild-arm64:
extends: .test-crossbuild-package-arm64
allow_failure: true
......@@ -70,7 +85,7 @@ upload:
image: curlimages/curl:latest
script:
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file debian/output/${LINUX_AMD64_BINARY} ${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN} Content-Type: application/vnd.debian.binary-package" --upload-file debian/output/${LINUX_AMD64_BINARY} ${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}
only:
- master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment