Re: Freeze break: do not redirect staging websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Mar 2016 12:22:29 +0100
Robert Mayr <robyduck@xxxxxxxxxxxxxxxxx> wrote:

> Ok this is for staging websites, but it's a change in ansible and we
> change some pre_tasks, so I ask for +1s to be sure.

I don't see the pre_tasks listed? 
Thats where we removed the old redirects last time... as long as they
have a staging conditional it should be ok. 

> Staging websites should not redirect prerelease pages, but show them
> normally (while production must still redirect them to the main
> page). We are just before readiness and should at least test them out.

Yep. absolutely. 

> I'd comment out the rules for staging as in the diff below, if we
> need to drop also the config files on the proxies, I attach a diff
> also for playbooks/groups/proxies.yml.

Yeah, we will need to. 

+1 here in any case. Should be fine. 

kevin
--
> Thanks.
> 
> diff --git a/playbooks/include/proxies-redirects.yml
> b/playbooks/include/proxies-redirects.yml
> index b141527..ef323e1 100644
> --- a/playbooks/include/proxies-redirects.yml
> +++ b/playbooks/include/proxies-redirects.yml
> @@ -216,57 +216,57 @@
> 
>  #
>  # When there is no prerelease we redirect the prerelease urls
> -# back to the main release.
> +# back to the main release.
>  # This should be disabled when there is a prerelease
> 
> -  - role: httpd/redirectmatch
> -    name: prerelease-to-final-gfo
> -    website: getfedora.org
> -    regex: /(.*)/prerelease.*$
> -    target: https://stg.getfedora.org/$1
> -    when: env == 'staging'
> -
> -  - role: httpd/redirectmatch
> -    name: prerelease-to-final-labs-1
> -    website: labs.fedoraproject.org
> -    regex: /(.*)/prerelease.*$
> -    target: https://labs.stg.fedoraproject.org/$1
> -    when: env == 'staging'
> -
> -  - role: httpd/redirectmatch
> -    name: prerelease-to-final-spins-1
> -    website: spins.fedoraproject.org
> -    regex: /(.*)/prerelease.*$
> -    target: https://spins.stg.fedoraproject.org/$1
> -    when: env == 'staging'
> -
> -  - role: httpd/redirectmatch
> -    name: prerelease-to-final-arm-1
> -    website: arm.fedoraproject.org
> -    regex: /(.*)/prerelease.*$
> -    target: https://arm.stg.fedoraproject.org/$1
> -    when: env == 'staging'
> -
> -  - role: httpd/redirectmatch
> -    name: prerelease-to-final-labs-2
> -    website: labs.fedoraproject.org
> -    regex: /prerelease.*$
> -    target: https://labs.stg.fedoraproject.org/$1
> -    when: env == 'staging'
> -
> -  - role: httpd/redirectmatch
> -    name: prerelease-to-final-spins-2
> -    website: spins.fedoraproject.org
> -    regex: /prerelease.*$
> -    target: https://spins.stg.fedoraproject.org/$1
> -    when: env == 'staging'
> -
> -  - role: httpd/redirectmatch
> -    name: prerelease-to-final-arm-2
> -    website: arm.fedoraproject.org
> -    regex: /prerelease.*$
> -    target: https://arm.stg.fedoraproject.org/$1
> -    when: env == 'staging'
> +#  - role: httpd/redirectmatch
> +#    name: prerelease-to-final-gfo
> +#    website: getfedora.org
> +#    regex: /(.*)/prerelease.*$
> +#    target: https://stg.getfedora.org/$1
> +#    when: env == 'staging'
> +
> +#  - role: httpd/redirectmatch
> +#    name: prerelease-to-final-labs-1
> +#    website: labs.fedoraproject.org
> +#    regex: /(.*)/prerelease.*$
> +#    target: https://labs.stg.fedoraproject.org/$1
> +#    when: env == 'staging'
> +
> +#  - role: httpd/redirectmatch
> +#    name: prerelease-to-final-spins-1
> +#    website: spins.fedoraproject.org
> +#    regex: /(.*)/prerelease.*$
> +#    target: https://spins.stg.fedoraproject.org/$1
> +#    when: env == 'staging'
> +
> +#  - role: httpd/redirectmatch
> +#    name: prerelease-to-final-arm-1
> +#    website: arm.fedoraproject.org
> +#    regex: /(.*)/prerelease.*$
> +#    target: https://arm.stg.fedoraproject.org/$1
> +#    when: env == 'staging'
> +
> +#  - role: httpd/redirectmatch
> +#    name: prerelease-to-final-labs-2
> +#    website: labs.fedoraproject.org
> +#    regex: /prerelease.*$
> +#    target: https://labs.stg.fedoraproject.org/$1
> +#    when: env == 'staging'
> +
> +# - role: httpd/redirectmatch
> +#    name: prerelease-to-final-spins-2
> +#    website: spins.fedoraproject.org
> +#    regex: /prerelease.*$
> +#    target: https://spins.stg.fedoraproject.org/$1
> +#    when: env == 'staging'
> +
> +#  - role: httpd/redirectmatch
> +#    name: prerelease-to-final-arm-2
> +#    website: arm.fedoraproject.org
> +#    regex: /prerelease.*$
> +#    target: https://arm.stg.fedoraproject.org/$1
> +#    when: env == 'staging'
> 
>    # end staging
> 
> 
> 

Attachment: pgpFYszFUZIF8.pgp
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux