Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Add release tasks for Quay #304

Merged
merged 2 commits into from
Aug 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ jobs:
if: tag =~ /^v.*/
env: IMAGE=$OAO_IMAGE_DOCKER_HUB

- <<: *deploy_amd
name: Deploy release AMD to Quay
if: tag =~ /^v.*/
env: IMAGE=$OAO_IMAGE_QUAY

- <<: *deploy_amd
name: Deploy release AMD to RHCC
if: tag =~ /^v.*/
Expand Down Expand Up @@ -156,6 +161,11 @@ jobs:
if: tag =~ /^v.*/
env: IMAGE=$OAO_IMAGE_DOCKER_HUB

- <<: *deploy_arm
name: Deploy release ARM to Quay
if: tag =~ /^v.*/
env: IMAGE=$OAO_IMAGE_QUAY

######################### Create Docker manifest #########################

- &create_manifest
Expand All @@ -168,17 +178,29 @@ jobs:
git:
clone: false
script:
- sudo chmod o+x /etc/docker
- docker manifest create $IMAGE:$TAG $IMAGE:$TAG-arm64 $IMAGE:$TAG-amd64
- docker manifest push $IMAGE:$TAG
workspaces:
use: dockerconfig

- <<: *create_manifest
name: Create manifest for non-master snapshot for Quay
if: (branch != master) AND (tag IS blank)
env: IMAGE=$OAO_IMAGE_QUAY TAG="snapshot-$(echo $TRAVIS_BRANCH | sed 's#[^a-zA-Z0-9_-]#-#g')"

- <<: *create_manifest
stage: manifest
name: Create manifest for release for DockerHub
if: tag =~ /^v.*/
env: IMAGE=$OAO_IMAGE_DOCKER_HUB

- <<: *create_manifest
stage: manifest
name: Create manifest for release for Quay
if: tag =~ /^v.*/
env: IMAGE=$OAO_IMAGE_QUAY

######################### Prepare CSV #########################

- stage: release
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Adaptions to the OneAgent webhook injection ([#286](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/286), [#290](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/290), [#301](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/301))
* Use image from Dynatrace environment's Docker registry to fetch OneAgent binaries, unless a custom installer URL annotation is set
* A dedicated OneAgent version can be set as a property now (e.g. 1.185.1). If not set it defaults to the latest version
* Publish Operator stable images also to Quay ([#304](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/304))

#### Bug fixes
* Update status of OneAgentAPM if token is missing ([#285](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/285), [#287](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/287))
Expand All @@ -15,7 +16,6 @@
* Certificates secret not updated on renewal, causing renewals every 5 minutes ([#297](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/297))
* Logged errors when API token is missing on OneAgentAPM's secret ([#298](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/298))


#### Other changes
* Pod and node metadata added for the OneAgent ([#294](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/294), [#295](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/295))
* Code cleanup to remove unused functions, variables and beautify the code ([#302](https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/302))
Expand Down