Giter Site home page Giter Site logo

Comments (20)

chrisohaver avatar chrisohaver commented on June 27, 2024 1

For some reason, this is also not being tagged as the latest release when you go to the releases page.

This because 1.11.3 is not fully released. The docker images are not published, so the release is not available. The latest release actually available is still 1.11.1.

from coredns.

heiko-braun avatar heiko-braun commented on June 27, 2024 1

Thanks @chrisohaver, I only tested the login part of the release actions, but this seems to work:
#6723

from coredns.

chrisohaver avatar chrisohaver commented on June 27, 2024 1

If a maintainer with admin permissions in the coredns dockerhub org could generate a token and then update the coredns/coredns secrets: DOCKERHUB_USERNAME (to yours) and DOCKERHUB_PASSWORD (to be your token instead of password), that would be a great help!

(I am not a coredns dockerhub org admin)

from coredns.

jauderho avatar jauderho commented on June 27, 2024

For some reason, this is also not being tagged as the latest release when you go to the releases page.

from coredns.

dafanasiev avatar dafanasiev commented on June 27, 2024

NOTE: right now there is no way to detect latest release using github api releases-list endpoint (https://api.github.com/repos/coredns/coredns/releases) because both draft and prerelease are false:

# curl https://api.github.com/repos/coredns/coredns/releases | jq '.[] | select(.name=="v1.11.3")'

{
  "url": "https://api.github.com/repos/coredns/coredns/releases/153656321",
  "assets_url": "https://api.github.com/repos/coredns/coredns/releases/153656321/assets",
  "upload_url": "https://uploads.github.com/repos/coredns/coredns/releases/153656321/assets{?name,label}",
  "html_url": "https://github.com/coredns/coredns/releases/tag/v1.11.3",
  "id": 153656321,
  "author": {....},
  "node_id": "RE_kwDOAzt_0s4JKJwB",
  "tag_name": "v1.11.3",
  "target_commitish": "a7ed346585e30b99317d36e4d007b7b19a228ea5",
  "name": "v1.11.3",
  "draft": false,
  "prerelease": false,
  "created_at": "2024-04-26T19:08:47Z",
  "published_at": "2024-05-01T12:01:11Z",
  "assets": [....],
  "tarball_url": "https://api.github.com/repos/coredns/coredns/tarball/v1.11.3",
  "zipball_url": "https://api.github.com/repos/coredns/coredns/zipball/v1.11.3",
  "body": "This release contains some new features, bug fixes, and package updates. Because of the deployment issues with the previous release, all changed features from 1.11.2 have been included in this release.\r\nNew features include:\r\n* When the _forward_ plugin receives a malformed upstream response that overflows,\r\n  it will now send an empty response to the client with the truncated (TC) bit set to prompt the client\r\n  to retry over TCP.\r\n* The _rewrite_ plugin can now rewrite response codes.\r\n* The _dnstap_ plugin now supports adding metadata to the dnstap `extra` field.\r\n\r\n## Brought to You By\r\n\r\nAmila Senadheera,\r\nBen Kochie,\r\nBenjamin,\r\nChris O'Haver,\r\nGrant Spence,\r\nJohn Belamaric,\r\nKeita Kitamura,\r\nMarius Kimmina,\r\nMichael Grosser,\r\nOndřej Benkovský,\r\nP. Radha Krishna,\r\nRahil Bhimjiani,\r\nSri Harsha,\r\nTom Thorogood,\r\nWillow (GHOST),\r\nYong Tang,\r\nYuheng,\r\nZhizhen He,\r\nguangwu,\r\njourney-c,\r\npschou\r\nTed Ford\r\n\r\n## Noteworthy Changes\r\n\r\n* plugin/tls: respect the path specified by root plugin (https://github.com/coredns/coredns/pull/6138)\r\n* plugin/auto: warn when auto is unable to read elements of the directory tree (https://github.com/coredns/coredns/pull/6333)\r\n* plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (https://github.com/coredns/coredns/pull/6351)\r\n* plugin/cache: key cache on Checking Disabled (CD) bit (https://github.com/coredns/coredns/pull/6354)\r\n* plugin/forward: Use the correct root domain name in the forward plugin's health checks (https://github.com/coredns/coredns/pull/6395)\r\n* plugin/forward: Handle UDP responses that overflow with TC bit (https://github.com/coredns/coredns/pull/6277)\r\n* plugin/rewrite: fix multi request concurrency issue in cname rewrite (https://github.com/coredns/coredns/pull/6407)\r\n* plugin/rewrite: add rcode as a rewrite option (https://github.com/coredns/coredns/pull/6204)\r\n* plugin/dnstap: add support for \"extra\" field in payload (https://github.com/coredns/coredns/pull/6226)\r\n* plugin/cache: fix keepttl parsing (https://github.com/coredns/coredns/pull/6250)\r\n* Return RcodeServerFailure when DNS64 has no next plugin (https://github.com/coredns/coredns/pull/6590)\r\n* Change the log flags to be a variable that can be set (https://github.com/coredns/coredns/pull/6546)\r\n* Bump go version to 1.21 (https://github.com/coredns/coredns/pull/6533)\r\n* replace the mutex locks in logging with atomic bool for the \"on\" flag (https://github.com/coredns/coredns/pull/6525)\r\n* Enable Prometheus native histograms (https://github.com/coredns/coredns/pull/6524)\r\n",
  "reactions": {....}
}
# curl https://api.github.com/repos/coredns/coredns/releases | jq '.[] | select(.name=="v1.11.1")'
{
  "url": "https://api.github.com/repos/coredns/coredns/releases/117360174",
  "assets_url": "https://api.github.com/repos/coredns/coredns/releases/117360174/assets",
  "upload_url": "https://uploads.github.com/repos/coredns/coredns/releases/117360174/assets{?name,label}",
  "html_url": "https://github.com/coredns/coredns/releases/tag/v1.11.1",
  "id": 117360174,
  "author": {.....},
  "node_id": "RE_kwDOAzt_0s4G_sYu",
  "tag_name": "v1.11.1",
  "target_commitish": "ae2bbc29be1aaae0b3ded5d188968a6c97bb3144",
  "name": "v1.11.1",
  "draft": false,
  "prerelease": false,
  "created_at": "2023-08-15T19:30:32Z",
  "published_at": "2023-08-15T20:00:30Z",
  "assets": [.....],
  "tarball_url": "https://api.github.com/repos/coredns/coredns/tarball/v1.11.1",
  "zipball_url": "https://api.github.com/repos/coredns/coredns/zipball/v1.11.1",
  "body": "This release fixes a major performance regression introduced in 1.11.0 that affected DoT (TLS) forwarded connections.\r\nIt also adds a new option to _dnstap_ to add metadata to the dnstap extra field, and fixes a config parsing bug in _cache_.\r\n\r\n## Brought to You By\r\n\r\nChris O'Haver,\r\nP. Radha Krishna,\r\nYong Tang,\r\nYuheng,\r\nZhizhen He\r\n\r\n## Noteworthy Changes\r\n\r\n* Revert \"plugin/forward: Continue waiting after receiving malformed responses (https://github.com/coredns/coredns/pull/6014)\" (#6270)\r\n* plugin/dnstap: add support for \"extra\" field in payload (https://github.com/coredns/coredns/pull/6226)\r\n* plugin/cache: fix keepttl parsing (https://github.com/coredns/coredns/pull/6250)\r\n\r\n",
  "reactions": {......}
}

latest release can be fetched using this api : https://api.github.com/repos/coredns/coredns/releases/latest

Maybe coredns team should mark some releases as prerelease or draft....

from coredns.

chrisohaver avatar chrisohaver commented on June 27, 2024

Done. 1.11.3 now marked pre-release.

from coredns.

tedaford avatar tedaford commented on June 27, 2024

Who has permissions for the Dockerhub credentials? This would be simple to resolve in theory if someone accessible has access to those.

from coredns.

chrisohaver avatar chrisohaver commented on June 27, 2024

When I get some time, I'll enable actions in my fork and do a release to my personal docker account.
This should identify if the issue is with the build scripts or a bad credential.

from coredns.

heiko-braun avatar heiko-braun commented on June 27, 2024

Hey @chrisohaver, did you find some time to look into this? Anything I can help with?

from coredns.

chrisohaver avatar chrisohaver commented on June 27, 2024

@heiko-braun, I had some time a last week to try to work out migrating to docker build/push actions to enable publishing images to both docker and github's container repo. I didn't get very far. I was unable to get the multi-arch build to work completely.

Due to shifting work priorities and personal events, I will not have time to look into this further for the next couple of months.

One way someone can help would be to test/debug a docker release in a coredns fork to a personal docker account to see if it works, or if there is some issue with the existing scripts.

Thanks!

from coredns.

heiko-braun avatar heiko-braun commented on June 27, 2024

Ah, I thought you have contributor access :)

I bet there is someone who has access to the dockerhub account that's being used?

from coredns.

heiko-braun avatar heiko-braun commented on June 27, 2024

@chrisohaver do you think we can ask the steering committee for help around this? Is there way to increase visibility?

from coredns.

chrisohaver avatar chrisohaver commented on June 27, 2024

@chrisohaver do you think we can ask the steering committee for help around this? Is there way to increase visibility?

Steering committee is aware. Thanks!

from coredns.

mrueg avatar mrueg commented on June 27, 2024

@heiko-braun, I had some time a last week to try to work out migrating to docker build/push actions to enable publishing images to both docker and github's container repo. I didn't get very far. I was unable to get the multi-arch build to work completely.

Would you be open to switch the release process to https://goreleaser.com/ and or https://github.com/ko-build/ko ? I believe that could make it more standardized and easier to release.

from coredns.

chrisohaver avatar chrisohaver commented on June 27, 2024

I would be open to someone taking that up.

from coredns.

grumps avatar grumps commented on June 27, 2024

@heiko-braun

Would you be open to switch the release process to https://goreleaser.com/ and or https://github.com/ko-build/ko ? I believe that could make it more standardized and easier to release.
@chrisohaver
I would be open to someone taking that up.

Are you referring to just refactoring:

  • the docker builds, to use ko or goreleaser
  • the entire release process (binaries, notes, "github release", etc)

Either way I'd be interested in taking this up. Refactoring the entire release process seems like a pretty large undertaking, based on my quick review of the current process.

Replacing the docker workflow to use go-releaser or ko seems more straight forward. I've not used ko before but the current dockerfile does do setcap not sure how to achieve that with ko.

from coredns.

heiko-braun avatar heiko-braun commented on June 27, 2024

@grumps please go ahead. I was merely interested to get the images out. Switching the entire build process to goreleaser is too much work for me atm.

from coredns.

jauderho avatar jauderho commented on June 27, 2024

FWIW, I do have multi-arch images working and v1.11.3 will be marked as latest whenever the release actually happens:

from coredns.

grumps avatar grumps commented on June 27, 2024

Update:
Got a POC working with just amd64 docker image

Issues with POC (all resolvable) :

  1. goreleaser builds binaries, and I will have to setup prebuilt imports, thankfully this is a feature
  2. disable github release creation

Next:

  1. resolve POC issues
  2. setup mulitarch docker builds
  3. cleanup things in Makefile.docker that are no longer needed
  4. Open PR

I will continue working on this tonight.

from coredns.

grumps avatar grumps commented on June 27, 2024

@chrisohaver @heiko-braun unfortunately it looks like using prebuilt bins for go-releaser is a pro only feature. It seems like it would be pretty hard to use goreleaser without building the binaries without it, which would be a re-factor of almost the entire release process.

Seems like getting the current one to work with githubs and dockers container registries are the shortest possible path at the moment. However unclear to me what the current issue is that's blocking the image.

from coredns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.