Browse Source

Merge pull request #153 from lluiscampos/MEN-2794-switch-to-new-S3-bucket

MEN-2794: Adjust the expected S3 locations for the binaries
2.0.x
Lluis Campos 5 years ago
committed by GitHub
parent
commit
9a9d5c19a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .gitlab-ci.yml
  2. 7
      configs/beaglebone_black_base_config
  3. 7
      configs/beaglebone_black_debian_emmc_config
  4. 6
      configs/beaglebone_black_debian_sdcard_config
  5. 5
      configs/raspberrypi0w_config
  6. 5
      configs/raspberrypi3_config
  7. 5
      configs/raspberrypi4_config
  8. 6
      configs/raspberrypi_config
  9. 6
      configs/rockpro64_config
  10. 6
      configs/rockpro64_emmc_config
  11. 5
      configs/rockpro64_sd_config

4
.gitlab-ci.yml

@ -113,11 +113,9 @@ publish:s3:
image: debian:buster
before_script:
- apt update && apt install -yyq awscli
# Fetch artifacts from temporary S3 bucket
- aws s3 cp s3://mender-gitlab-tmp-storage/$CI_PROJECT_NAME/$CI_PIPELINE_ID/deploy.tar.gz deploy.tar.gz
- tar xzf deploy.tar.gz
script:
- echo "Publishing ${RASPBIAN_NAME}-mender-${MENDER_CLIENT_VERSION}.img.xz version to S3"
# Prepare high privilege S3 keys (the base keys are for the tmp storage only)
@ -127,3 +125,5 @@ publish:s3:
s3://$S3_BUCKET_NAME/${RASPBIAN_NAME}/arm/${RASPBIAN_NAME}-mender-${MENDER_CLIENT_VERSION}.img.xz
- aws s3api put-object-acl --acl public-read --bucket $S3_BUCKET_NAME
--key ${RASPBIAN_NAME}/arm/${RASPBIAN_NAME}-mender-${MENDER_CLIENT_VERSION}.img.xz
only:
- /^(master|[0-9]+\.[0-9]+\.x)$/

7
configs/beaglebone_black_base_config

@ -1,7 +1,5 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
#
# https://github.com/mendersoftware/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
# There are reported issues with GRUB bootloader integration, fallback to U-boot.
MENDER_GRUB_EFI_INTEGRATION=n
@ -12,7 +10,8 @@ MENDER_COPY_BOOT_GAP=n
# 4MB alignment
MENDER_PARTITION_ALIGNMENT="4194304"
BEAGLEBONE_BLACK_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/beaglebone/${BEAGLEBONE_BLACK_BINARIES}"
BEAGLEBONE_BLACK_BINARIES="${BEAGLEBONE_BLACK_CONFIG}-2018.07.004.tar"
BEAGLEBONE_BLACK_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/uboot/beaglebone/${BEAGLEBONE_BLACK_BINARIES}"
function platform_modify() {
mkdir -p work/bbb/binaries

7
configs/beaglebone_black_debian_emmc_config

@ -1,8 +1,7 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
#
BEAGLEBONE_BLACK_BINARIES="beaglebone-black-integration-debian-emmc-2018.07.004.tar"
# https://github.com/mendersoftware/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
BEAGLEBONE_BLACK_CONFIG="beaglebone_black_debian_emmc"
source configs/beaglebone_black_base_config
MENDER_STORAGE_TOTAL_SIZE_MB="3648"
MENDER_DEVICE_TYPE="beaglebone-emmc"

6
configs/beaglebone_black_debian_sdcard_config

@ -1,8 +1,4 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
#
BEAGLEBONE_BLACK_BINARIES="beaglebone-black-integration-debian-sdcard-2018.07.004.tar"
BEAGLEBONE_BLACK_CONFIG="beaglebone_black_debian_sdcard"
source configs/beaglebone_black_base_config
MENDER_DEVICE_TYPE="beaglebone-sdcard"
MENDER_STORAGE_DEVICE="/dev/mmcblk0p"

5
configs/raspberrypi0w_config

@ -1,7 +1,4 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-rpi.sh
RASPBERRYPI_BINARIES="raspberrypi0w-integration-2019.01.tar.gz"
RASPBERRYPI_CONFIG="raspberrypi0w"
RASPBERRYPI_KERNEL_IMAGE="kernel.img"
MENDER_KERNEL_IMAGETYPE=zImage

5
configs/raspberrypi3_config

@ -1,7 +1,4 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-rpi.shraspberrypi-integration-scripts.tar.gz
RASPBERRYPI_BINARIES="raspberrypi3-integration-2019.01.tar.gz"
RASPBERRYPI_CONFIG="raspberrypi3"
RASPBERRYPI_KERNEL_IMAGE="kernel7.img"
MENDER_KERNEL_IMAGETYPE="zImage"

5
configs/raspberrypi4_config

@ -1,7 +1,4 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-rpi.shraspberrypi-integration-scripts.tar.gz
RASPBERRYPI_BINARIES="raspberrypi4-integration-2019.01.tar.gz"
RASPBERRYPI_CONFIG="raspberrypi4"
RASPBERRYPI_KERNEL_IMAGE="kernel7l.img"
MENDER_KERNEL_IMAGETYPE="zImage"

6
configs/raspberrypi_config

@ -1,3 +1,6 @@
# Binaries generated with the following script:
# https://github.com/mendersoftware/mender-convert-integration-scripts/blob/master/build-uboot-rpi.sh
# Raspberry Pi does not support GRUB bootloader integration, fallback to U-boot.
MENDER_GRUB_EFI_INTEGRATION=n
@ -7,7 +10,8 @@ MENDER_COPY_BOOT_GAP=n
# 4MB alignment
MENDER_PARTITION_ALIGNMENT="4194304"
RASPBERRYPI_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/raspberrypi/${RASPBERRYPI_BINARIES}"
RASPBERRYPI_BINARIES="${RASPBERRYPI_CONFIG}-2019.01.tar.gz"
RASPBERRYPI_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/uboot/raspberrypi/${RASPBERRYPI_BINARIES}"
function platform_modify() {
mkdir -p work/rpi/binaries

6
configs/rockpro64_config

@ -1,10 +1,14 @@
# Binaries generated with the following script:
# https://d1b0l86ne08fsf.cloudfront.net/mender-convert/uboot/rockpro64/integration-scripts.tar.gz
# ROCKPro64 do not support GRUB bootloader integration, fallback to U-boot.
MENDER_GRUB_EFI_INTEGRATION=n
# We will write a modified bootloader
MENDER_COPY_BOOT_GAP=n
ROCKPRO64_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/armbian/rockpro64/${ROCKPRO64_BINARIES}"
ROCKPRO64_BINARIES="${ROCKPRO64_CONFIG}-2017.09.tar.gz"
ROCKPRO64_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/uboot/rockpro64/${ROCKPRO64_BINARIES}"
function platform_modify() {
mkdir -p work/rockpro64

6
configs/rockpro64_emmc_config

@ -1,8 +1,4 @@
ROCKPRO64_CONFIG="rockpro64_emmc"
MENDER_STORAGE_DEVICE=/dev/mmcblk1p
# Binaries generated with the following script:
#
# https://d1b0l86ne08fsf.cloudfront.net/mender-convert/armbian/rockpro64/integration-scripts.tar.gz
ROCKPRO64_BINARIES="emmc-boot-integration-2017.09.tar.gz"
source configs/rockpro64_config

5
configs/rockpro64_sd_config

@ -1,6 +1,3 @@
# Binaries generated with the following script:
#
# https://d1b0l86ne08fsf.cloudfront.net/mender-convert/armbian/rockpro64/integration-scripts.tar.gz
ROCKPRO64_BINARIES="sd-boot-integration-2017.09.tar.gz"
ROCKPRO64_CONFIG="rockpro64_sd"
source configs/rockpro64_config

Loading…
Cancel
Save