Commit Graph

39 Commits

Author SHA1 Message Date
Carlos Rodríguez Hernández a76f97db15
Deprecate Debian 10 (#165)
* Deprecate Debian 10

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Change debootstrap

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Remove buster from checks

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Update bullseye

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

---------

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2024-07-01 18:11:30 +02:00
Jose Antonio Carmona 04c8a20386 Add support for Debian 12 bookworm
Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
2023-06-12 18:11:35 +02:00
Carlos Rodriguez Hernandez a9d9039d03
Remove snapshot logic
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
2022-11-03 16:40:27 +00:00
Carlos Rodriguez Hernandez f864c9f5cb
Don't build/publish minideb in GCR
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
2022-06-29 21:20:45 +00:00
Carlos Rodriguez Hernandez 373a9a011a
Use buster for minideb snapshot
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
2022-06-20 15:35:56 +00:00
Carlos Rodriguez Hernandez 76e2a0a4a3
Update debian versions
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
2022-06-20 11:07:43 +00:00
Beltran Rueda Borrego 43eebee791
#122 Disable Quay registry 2022-05-06 07:19:24 +00:00
darteaga 32dc57d6e8 fix: not try to publish unstable distro
Signed-off-by: darteaga <darteaga@vmware.com>
2020-09-08 17:21:36 +00:00
darteaga ec594cb887 refactor vars and remove unused function 2020-07-02 12:06:41 +00:00
darteaga ff93bf6411 improve scripts 2020-07-02 10:38:56 +00:00
darteaga 82fec01b8e remove unnecessary if/else in pushall 2020-06-30 13:32:48 +00:00
darteaga 8fafa0d899 add support for debian snapshot 2020-06-30 11:38:19 +00:00
James Westby 392318a8a9 Stop trying to update -extras
The -extras repos are archived, so we can't create PRs any more, so don't try.

-runtimes is still active.
2020-01-21 18:37:49 +01:00
James Westby bdd52f459c Also tag latest at push time 2019-10-07 12:21:04 +01:00
James Westby 9eea538c29 Tag other registries in push
Previously we were tagging for all registries as we built
the images and then pushing all registries blindly.

Now if an image hasn't changed it wouldn't tag with the other
registry tags, and then the push would fail as the gcr/quay
tags didn't exist.

Rather than taking care to tag in the case where the image
hasn't changed, instead change the pushall script to
only assume that `bitnami/minideb` tags are correct, and
tag the other registries based on that one before pushing.

This ensures that the tags will always exist, and also makes
sure we are pushing the same image to each registry (excluding
race conditions.)
2019-10-07 11:31:21 +01:00
James Westby 6309b17069 Add shellcheck to catch bad shell code 2019-10-04 16:01:31 +01:00
Filippo Giunchedi 2c4b4f0f14 Add Buster
Tweak the tests so that they use default-mysql-server
on newer dists as it replaced the mysql-server package.

Also add explicit import of the buster signing key
as the Travis agent doesn't have it available.

Thanks to Filippo Giunchedi (@filippog) for the initial
work on this.
2019-07-11 16:11:35 +02:00
Alejandro Ruiz 8367d275c8
Enable content trust only when pushing to DockerHub (#57)
The result of pushing to GCR or Quay.io with content trust enabled is unknown, so I rather avoid it for now.
2018-09-20 14:06:07 +02:00
Joseda Rios 76256c1844
Decode key value (#56)
* Decode key value

The docker content trust repository key is base64-encoded, so let's decode it before dumping it to a file

* decode option is `-d` in Linux
2018-09-20 12:10:21 +02:00
Joseda Rios f1fd3b7679
fix key permissions (#55)
We found this issue in the travis build:

```
refusing to load key from /tmp/tmp.7IS3P9lCpg/key: private key file /tmp/tmp.7IS3P9lCpg/key must not be readable or writable by others
```

Making the file readable by the running user should fix the proble
2018-09-20 10:49:14 +02:00
Alejandro Ruiz edb388d354
Fix pushall script (#54)
The code tries to avoid the contents to be printed in the output in case the shell tracing is enabled at some point, but that implementation also makes the `tmpdir` variable not to be accessible in that context.
2018-09-19 17:36:36 +02:00
Alejandro Ruiz 883d28ccad
Enable signing of images to push process (#53)
This change enables Docker Content Trust for the tags being pushed.

I configured Travis to set the required key and passphrase.

Fixes #48.
2018-09-19 16:45:07 +02:00
Joseda Rios dc7e90fab1
add extras-base to the minideb derived list (#50)
As we now are we building an additional minideb variant, we want update it on publish
2018-08-01 14:47:57 +02:00
Jorge Marin e0b4e23168
Use repo digest instead of image id for external image identification (#46) 2018-03-15 15:01:12 +01:00
Jorge Marin 32f0aae723
Update minideb-extras and minideb-runtimes each time minideb is pushed (#43) 2018-03-08 18:35:14 +01:00
James Westby 7df2db746c Fix arguments to `gcloud docker`
gcloud became more strict about separating gcloud arguments
from docker arguments, and is now throwing an error failing
the build https://travis-ci.org/bitnami/minideb/jobs/246281633#L5140

Use `--` to separate the arguments.
2017-06-26 11:18:16 +01:00
James Westby fad19490cb Add stretch and make it default
Stretch was just released: https://www.debian.org/News/2017/20170617

Closes #32
2017-06-19 08:23:41 +01:00
Sameer Naik d164a63885
fixes quay.io login 2017-05-23 16:20:37 +05:30
Sameer Naik 14f98b939c
remove `-e` argument from `docker login` 2017-05-23 16:01:56 +05:30
Sameer Naik 9a0d628cca
push minideb image builds to quay.io/bitnami/minideb 2017-05-23 15:25:50 +05:30
James Westby 6befeedf99 Refactor pushall to use a single loop 2017-02-10 11:48:28 +00:00
James Westby 1a5519d4f1 Stop building wheezy.
We don't use it, and there won't be too much interest in it
as jessie has been out for a while.
2017-02-02 09:29:03 +01:00
James Westby 193afb273d Move the containers to the bitnami namespace. 2016-10-13 18:22:34 +01:00
James Westby a915cb330e Also push images to GCR.
We want to make our images available on GCR as well as dockerhub.

It is using our test account for now while testing Travis integration.
2016-10-12 13:44:18 +01:00
James Westby 44a24cda66 Build wheezy as well.
We build oldstable stacksmith base images as well, so build that
here.

Drop the namibase code as it isn't used.
2016-10-03 17:44:09 +02:00
James Westby 0d233a3c31 Run pushall with bash. 2016-09-09 15:13:50 +01:00
James Westby 0930a29d6f Push to dockerhub on successful builds.
If master builds successfully then push the results
to dockerhub.

We assume that the dockerhub username and password will
be in the environment. This will use travis env vars so
that the secrets aren't available to forks.

The on: branch: master means that other branches wouldn't
push to dockerhub.
2016-09-09 14:56:13 +01:00
James Westby e5899b1cd2 Stop building namibase. 2016-09-08 12:18:23 +01:00
James Westby 2916ff94f4 First go at minideb. 2016-09-02 14:48:09 +01:00