Loading .gitlab-ci.yml +26 −1 Original line number Original line Diff line number Diff line Loading @@ -56,7 +56,7 @@ build-aur-docker: - cd docker && docker build --cache-from $CONTAINER_IMAGE/aur:$CONTAINER_TAG -f Dockerfile.arch -t $CONTAINER_IMAGE/aur:$CONTAINER_TAG . - cd docker && docker build --cache-from $CONTAINER_IMAGE/aur:$CONTAINER_TAG -f Dockerfile.arch -t $CONTAINER_IMAGE/aur:$CONTAINER_TAG . - docker push $CONTAINER_IMAGE/aur:$CONTAINER_TAG - docker push $CONTAINER_IMAGE/aur:$CONTAINER_TAG build-ubuntu: build-snap: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: build stage: build variables: variables: Loading @@ -69,6 +69,20 @@ build-ubuntu: paths: paths: - easy-installer*.snap - easy-installer*.snap build-linux-x64: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: build variables: GIT_SUBMODULE_STRATEGY: recursive script: - ./gradlew dist artifacts: name: "easy-installer-$CI_COMMIT_TAG-linux_x64" paths: - build/image/easy-installer-linux-x64/ rules: - if: $CI_COMMIT_TAG build-windows: build-windows: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: build stage: build Loading Loading @@ -180,3 +194,14 @@ publish-aur: rules: rules: - if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG' when: manual when: manual publish-linux-x64: image: curlimages/curl:latest stage: publish variables: PKG_NAME: easy-installer-$CI_COMMIT_TAG-linux_x64.zip script: - 'curl "$CI_JOB_URL/artifacts/$CI_COMMIT_TAG/browse?job=build-linux-x64" --output "$PKG_NAME"' - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "$PKG_NAME" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/easy-installer/$CI_COMMIT_TAG/$PKG_NAME"' rules: - if: '$CI_COMMIT_TAG' Loading
.gitlab-ci.yml +26 −1 Original line number Original line Diff line number Diff line Loading @@ -56,7 +56,7 @@ build-aur-docker: - cd docker && docker build --cache-from $CONTAINER_IMAGE/aur:$CONTAINER_TAG -f Dockerfile.arch -t $CONTAINER_IMAGE/aur:$CONTAINER_TAG . - cd docker && docker build --cache-from $CONTAINER_IMAGE/aur:$CONTAINER_TAG -f Dockerfile.arch -t $CONTAINER_IMAGE/aur:$CONTAINER_TAG . - docker push $CONTAINER_IMAGE/aur:$CONTAINER_TAG - docker push $CONTAINER_IMAGE/aur:$CONTAINER_TAG build-ubuntu: build-snap: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: build stage: build variables: variables: Loading @@ -69,6 +69,20 @@ build-ubuntu: paths: paths: - easy-installer*.snap - easy-installer*.snap build-linux-x64: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: build variables: GIT_SUBMODULE_STRATEGY: recursive script: - ./gradlew dist artifacts: name: "easy-installer-$CI_COMMIT_TAG-linux_x64" paths: - build/image/easy-installer-linux-x64/ rules: - if: $CI_COMMIT_TAG build-windows: build-windows: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: build stage: build Loading Loading @@ -180,3 +194,14 @@ publish-aur: rules: rules: - if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG' when: manual when: manual publish-linux-x64: image: curlimages/curl:latest stage: publish variables: PKG_NAME: easy-installer-$CI_COMMIT_TAG-linux_x64.zip script: - 'curl "$CI_JOB_URL/artifacts/$CI_COMMIT_TAG/browse?job=build-linux-x64" --output "$PKG_NAME"' - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "$PKG_NAME" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/easy-installer/$CI_COMMIT_TAG/$PKG_NAME"' rules: - if: '$CI_COMMIT_TAG'