Skip to content

Replace judgels-client cache-busting hash with Docker container ID #755

@fushar

Description

@fushar

Currently, judgels-client.js is cache-busted using the app version:

- name: Append cache-busting hash to judgels-client.js
shell: docker exec judgels-client sed -i 's/judgels-client.js/judgels-client.{{ app_version | default('latest', true) }}.js/' index.html

However, it's too naive. It means we can't change things manually.

Update it so that the hash uses docker container ID instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions