Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkinsfile: add description for the GCP uploaded image #220

Merged
merged 1 commit into from
Apr 8, 2020

Conversation

dustymabe
Copy link
Member

For public images GCP would like for the description of the image to be
in the format: DISTRO, DISTRO RELEASE, VERSION, INFO so that information
can get pulled into web UIs and documentation. Let's start with something
like:

Fedora CoreOS, Fedora CoreOS stable, 31.20200310.3.0, x86_64 published on 2020-03-25

@dustymabe
Copy link
Member Author

depends on coreos/coreos-assembler#1328

Copy link
Contributor

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -424,13 +424,15 @@ lock(resource: "build-${params.STREAM}") {
utils.shwrap("""
# pick up the project to use from the config
gcp_project=\$(jq -r .project_id \${GCP_IMAGE_UPLOAD_CONFIG})
today=\$(date +%Y-%m-%d)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we concerned about time zones?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not. It's purely informational

For public images GCP would like for the description of the image to be
in the format: `DISTRO, DISTRO RELEASE, VERSION, INFO` so that information
can get pulled into web UIs and documentation. Let's start with something
like:

```
Fedora CoreOS, Fedora CoreOS stable, 31.20200310.3.0, x86_64 published on 2020-03-25
```
@dustymabe
Copy link
Member Author

force pushed a change to fix quotations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants